CTF Encoding Unraveler

    1

    Offline deterministic decoder for CTF puzzles, multi-layer ciphers, hash identification, and file forensics.

    $3

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    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

    PropertyValue
    Input TypeEncoded String
    Read AnalysisBase64 encoded payload
    Primary Candidateflag{b4se64_4rd_r0t13_m4g1c}
    MethodBase64 -> ROT13
    ConfidenceHigh (Matches flag{} pattern)

    Candidate Rankings

    RankCandidateMethod
    1flag{b4se64_4rd_r0t13_m4g1c}Base64 → ROT13
    2bmghg{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.md if 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:none vulnerability.
    • 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{} or HTB{}.

    How it works

    1. Input acquisition takes challenge text or a local file path.
    2. Deterministic execution runs the unravel.cjs script to process the input through a battery of classical ciphers and decoders.
    3. Candidate ranking produces a JSON object containing the most likely flag strings and the transformation method used.
    4. 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.

    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. 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. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    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

    Requires

    Node.js

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Listedtoday

    What's inside

    Frequently Asked Questions

    Unlike standard LLMs that often hallucinate during cipher decryption, this skill uses a deterministic Node.js engine to ensure mathematical accuracy when peeling back layers of Base64, ROT13, and other classical encodings.

    Yes, the skill performs file forensics by analyzing magic bytes and headers rather than just file extensions, allowing it to identify and extract data from mislabeled files like a ZIP disguised as a PNG.

    The skill identifies a wide range of common CTF signatures including MD5, SHA-1, SHA-256, NTLM, and bcrypt, providing you with the likely algorithm name for further cracking.

    You will receive the complete `unravel.cjs` execution script along with the necessary configuration files to integrate the deterministic decoding engine into your preferred AI agent environment.

    While it excels at nested encodings like Base64 and URL encoding, it currently does not support key-based ciphers like Vigenere, RSA, or complex XOR brute-forcing.

    The skill is built to be framework-agnostic for any AI agent that supports custom tool calls or script execution via a Node.js runtime environment.

    New in Security