competition-file-parser-chain
What it does
This tool helps understand how a file you upload to a system is processed step-by-step. It tracks the file from when it enters, through extractions, conversions, and parsing, to the final outcome.
When to use it
- ✓When you want to know how a file was handled after upload.
- ✓To understand if a file was extracted or converted correctly.
- ✓When investigating why a specific file caused a system issue.
Skill link
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-file-parser-chain/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“How was the file 'document.zip' processed after I uploaded it?”
5 new skills a week. 1 minute to read.
How it works
The tool records each step of file processing: where it was temporarily saved, if it was extracted from an archive, if it was converted to another format, and which program analyzed its content. This creates a 'map' of the file's journey.
Technical content (original SKILL.md)
Original text by the author, straight from 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
- Preserve the original upload and every derived artifact separately.
- Map the chain in order: ingress, temp storage, archive extraction, format conversion, parser call, deserialization, and final consumer.
- Record filenames, MIME guesses, extensions, temp paths, and parser choices before mutating anything.
- Separate client-visible validation from backend parser behavior.
- 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.mdfor 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
FAQ
What is 'deserialization'?
It's a process where data that was transformed into a format for storage or transmission (like text) is converted back into a format the program can use directly.
What are 'magic bytes'?
These are sequences of bytes at the beginning of a file that help the system identify the file type, even if the extension (like '.jpg') is wrong or missing.
Why separate user-visible validation from backend behavior?
To understand if a problem occurs because the user saw an incorrect error message or if the real issue lies in the system's internal processing that the user doesn't see.
Details
Original description by the author
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
Popularity
- GitHub stars
- 42k
- Ranking position
- #6427
- License
- MIT
- Updated
- 9/22/2026
Comments
- …
More skills from this repository
competition-ad-certificate-abuse
42kHelps your agent analyze attacks on digital certificate systems. It investigates how certificates can be misused to gain access.
competition-agent-cloud
42kHelps your agent analyze security challenges in AI and cloud systems. It investigates how prompts, tools, and the cloud can be exploited.
competition-android-hooking
42kHelps your agent investigate Android applications. It analyzes how apps work internally and how they might be modified or exploited.
competition-browser-persistence
42kHelps your agent analyze how websites store information in your browser. It investigates cookies and other data to understand how sessions work.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.