Works with the AI tools you already use

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

    Harden Outbound URL Validation

    1

    Harden outbound URL validation against SSRF through schemes, userinfo, redirects, DNS/IP classification, IPv4/IPv6 forms, proxy resolution, rebinding windows, and destination revalidation.

    Secure checkout via Stripe

    0 installsSecurity scanned

    See it in action

    You say

    Our webhook tester blocks 127.0.0.1 and RFC1918 strings before sending, but it validates only hostname text and follows redirects automatically. Repair with a fake resolver/server while preserving the approved-host policy and timeouts.

    Your agent does

    Validation occurs on text before resolution and is not repeated on redirects. The repair parses once, applies scheme/port policy, resolves through an injectable resolver, classifies returned addresses, revalidates each redirect destination, and tests IPv6, numeric forms, redirects, and resolver changes.

    What you get

    Eliminate SSRF vulnerabilities by enforcing private IP and port blacklists.Standardize host normalization and DNS resolution across the repository.Implement transaction-bound retries and cleanup for outbound requests.Generate deterministic tests for network edge cases and redirect loops.

    About this skill

    The problem

    Inconsistent outbound URL validation leads to Server-Side Request Forgery (SSRF) vulnerabilities and unpredictable application behavior. Developers often struggle to align DNS resolution, host normalization, and redirect policies across fragmented codebases.

    What it does

    • Identifies every component involved in the outbound request lifecycle, from parsing to dispatch.
    • Patches URL parsers to handle host normalization and private/reserved IP classification correctly.
    • Enforces strict trust boundaries by moving validation before irreversible side effects or mutations.
    • Implements deterministic local fixtures and loopback endpoints for reliable regression testing.
    • Ensures retries, timeouts, and cleanup logic are bound to the specific transaction state.

    Why this beats prompting it yourself

    Generic prompts often suggest broad regex or simple blacklists that bypass edge cases like DNS rebinding or malformed userinfo. This skill systematically maps state ownership and authority boundaries to ensure security policies are actually enforceable in your specific architecture.

    Use cases

    • Hardening a proxy service against DNS rebinding and internal IP access.
    • Refactoring legacy request handlers to support unified SSRF-resistant validation.
    • Adding redacted observability and deterministic tests to outbound network modules.
    • Synchronizing redirect and proxy policies across multiple internal services.

    Known limitations

    This skill operates strictly on repository files and local fixtures. It cannot contact production services, read live secrets, or mutate deployed infrastructure.

    How to install

    Drop the file into your AI Agent. Works with Claude, Cursor, ChatGPT, and 20+ more.

    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 today

    • One-time purchase, yours forever

    Listedtoday

    Frequently Asked Questions