본문으로 건너뛰기
Skillpedia
보안42k · #6427

competition-file-parser-chain

하는 일

이 도구는 시스템에 업로드한 파일이 단계별로 어떻게 처리되는지 이해하도록 돕습니다. 파일이 들어온 순간부터 추출, 변환, 구문 분석을 거쳐 최종 결과에 이르기까지 추적합니다.

사용하는 경우

  • ✓업로드 후 파일이 어떻게 처리되었는지 알고 싶을 때.
  • ✓파일이 올바르게 추출되거나 변환되었는지 이해하고 싶을 때.
  • ✓특정 파일이 시스템 문제를 일으킨 이유를 조사하는 경우.

스킬 링크

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-file-parser-chain/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-file-parser-chain/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“업로드한 ‘document.zip’ 파일이 어떻게 처리되었는지 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 파일 처리의 각 단계를 기록합니다. 파일이 임시로 저장된 위치, 압축 파일에서 추출되었는지, 다른 형식으로 변환되었는지, 어떤 프로그램이 내용을 분석했는지를 포함합니다. 이렇게 파일이 이동한 ‘지도’를 만듭니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Competition File Parser Chain

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the hard part is following a file from ingress through every parser, extractor, converter, or deserializer boundary that matters.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Preserve the original upload and every derived artifact separately.
  2. Map the chain in order: ingress, temp storage, archive extraction, format conversion, parser call, deserialization, and final consumer.
  3. Record filenames, MIME guesses, extensions, temp paths, and parser choices before mutating anything.
  4. Separate client-visible validation from backend parser behavior.
  5. Reproduce the smallest file-processing chain that yields the decisive branch or artifact.

Workflow

1. Map File Ingress And Derivation

  • Record request shape, multipart names, content type, filename, temp paths, upload staging, and storage keys.
  • Note every derived artifact: extracted archive member, converted preview, generated thumbnail, temp document, or deserialized object.
  • Keep original file and each derivative labeled separately.

2. Trace Parser And Conversion Boundaries

  • Show which parser, converter, extractor, or deserializer runs at each step.
  • Record parser-specific decisions driven by extension, MIME, magic bytes, schema, archive member names, or embedded metadata.
  • Distinguish parsing success, preview success, conversion success, and business-logic acceptance.

3. Reduce To The Decisive File Chain

  • Compress the result to the smallest sequence: upload -> derived artifact -> parser boundary -> resulting effect.
  • State clearly whether the decisive weakness lives in archive handling, MIME inference, file conversion, path resolution, or deserialization.
  • If the chain becomes mostly a generic async worker problem after enqueue, hand off to the tighter queue or worker skill.

Read This Reference

  • Load references/file-parser-chain.md for the ingress checklist, parser checklist, and evidence packaging.

What To Preserve

  • Original uploads, derived files, temp paths, storage keys, parser names, and conversion steps
  • The exact boundary where backend behavior diverges from user-visible validation
  • One minimal replayable file-processing sequence that reaches the decisive effect
자주 묻는 질문

‘역직렬화’란 무엇인가요?

저장이나 전송을 위해 다른 형식(예: 텍스트)으로 바뀐 데이터를 프로그램이 바로 사용할 수 있는 형식으로 다시 바꾸는 과정입니다.

‘매직 바이트’란 무엇인가요?

파일 시작 부분에 있는 바이트 순서로, 확장자(예: ‘.jpg’)가 틀렸거나 없더라도 시스템이 파일 형식을 알아내도록 돕습니다.

사용자에게 보이는 검증과 백엔드 동작을 왜 구분하나요?

문제가 사용자가 본 잘못된 오류 메시지 때문인지, 아니면 사용자에게 보이지 않는 시스템 내부 처리에 실제 문제가 있는지 이해하기 위해서입니다.

상세 정보

작성자의 원본 설명

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for file uploads, imports, previews, archive extraction, format conversion, parser invocation, and deserialization chains. Use when the user asks to inspect an upload or import path, trace archive extraction, preview or converter behavior, explain how a file reaches a parser or deserializer, or connect one uploaded artifa

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6427
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬