CTF Encoding Unraveler
Offline deterministic decoder for CTF puzzles, multi-layer ciphers, hash identification, and file forensics.
$3
Works with the AI Agents you already use
CTF Encoding Unraveler
Example session with this skill installed
Decode this string found in a CTF challenge: YmdoZ3tiNHNlNjRfNHJkX3IwdDEzX200ZzFjfQ==
- Read your context and instructions
- Compiled the ctf encoding unraveler
I processed the provided string through the Unraveler engine. It detected a double-layer encoding sequence and successfully extracted a ranked flag candidate.
Decoding Analysis
| Property | Value |
|---|---|
| Input Type | Encoded String |
| Read Analysis | Base64 encoded payload |
| Primary Candidate | flag{b4se64_4rd_r0t13_m4g1c} |
| Method | Base64 -> ROT13 |
| Confidence | High (Matches flag{} pattern) |
Candidate Rankings
| Rank | Candidate | Method |
|---|---|---|
| 1 | flag{b4se64_4rd_r0t13_m4g1c} | Base64 → ROT13 |
| 2 | bmghg{b4se64_4rd_r0t13_m4g1c} | Base64 Only |
| 3 | [No further valid candidates] | N/A |
Forensic Metadata
The engine identified the string as a stacked cipher. The first pass resolved the Base64 layer to bmghg{b4se64_4rd_r0t13_m4g1c}. A secondary pass using ROT13 (Shift 13) aligned the prefix with the standard flag{} wrapper. No other classical cipher rotations yielded meaningful English or known CTF prefixes.
Next steps
- Submit
flag{b4se64_4rd_r0t13_m4g1c}to the challenge platform. - If rejected, check if the event uses a custom prefix and rerun with
CTF_FLAG_PREFIXES. - Review
reference/techniques.mdif this was a sub-component of a larger binary challenge.
Connects securely to your tools. The creator never sees your data.
About this skill
Stop wasting tokens on trial-and-error decoding during CTF challenges. This skill provides a deterministic, offline engine to peel back layers of encoding, identify hash types, and extract flags from mislabeled files without model-based guesswork.
What it does
- Multi-layer decoding peels back stacked encodings like Base64 followed by ROT13 automatically.
- Hash identification detects signatures for MD5, NTLM, SHA-1, SHA-256, and bcrypt.
- JWT analysis parses token payloads and flags security risks like the
alg:nonevulnerability. - File forensics identifies true file types via magic bytes and performs basic string carving to find hidden flags.
- Flag staging ranks up to four flag candidates based on known wrappers like
picoCTF{}orHTB{}.
How it works
- Input acquisition takes challenge text or a local file path.
- Deterministic execution runs the
unravel.cjsscript to process the input through a battery of classical ciphers and decoders. - Candidate ranking produces a JSON object containing the most likely flag strings and the transformation method used.
- Manual validation lets the developer review the staged candidates before submission.
Frameworks & tools
Built with Node.js. Utilizes local deterministic scripts for ciphers, regex-based flag pattern matching, and magic byte headers for file type identification.
Why this beats prompting it yourself
Generic LLMs often hallucinate during cipher decoding or fail to track multiple layers of transformation accurately. This skill uses precise code logic to ensure the output is mathematically correct, saving you from spending context window on trial-and-error.
Use cases
- Identify the hash algorithm used for an intercepted credential.
- Extract a flag from a PNG file that is actually a renamed ZIP archive.
- Decode nested Base64 strings found in challenge descriptions.
- Analyze JWT headers for unsigned token vulnerabilities.
Known limitations
Does not support Vigenere key searches, RSA, XOR brute forcing, or advanced steganography. Requires the exact blob for decoding, as it does not extract encoded text from within large sentences.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.
No support for Vigenere, RSA, or XOR brute forcing. Cannot extract blobs from within sentences; requires direct input of the encoded string. Local Node.js environment required.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed today
- Software
Node.js