Works with the AI tools you already use

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

    Repair TLS SNI Routing Bugs

    1

    The problem Multi-tenant gateways and proxies often suffer from SNI leakage where wildcard matches cross boundaries or cached TLS contexts bleed between tenants.

    $8.99

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned
    Repair TLS SNI Routing Bugs

    Repair TLS SNI Routing Bugs

    Example session with this skill installed

    Our Node TLS gateway routes SNI with hostname.endsWith(configuredName). A tenant named notexample.com can match example.com, and the context cache ignores the configuration generation. Repair with local certificates and handshakes. Preserve TLS versions, ciphers, ALPN, default policy, reload behavior, and errors.

    • Read your context and instructions
    • Compiled the repair tls sni

    SNI authority defect found. Raw suffix matching lacks a label boundary, and cached secure contexts are keyed only by normalized name rather than configuration generation. The repair uses exact and standards-bounded wildcard matching, binds contexts to immutable reload generations, preserves TLS/ALPN/default behavior, and validates adversarial names and concurrent local handshakes without disabling verification.

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

    What you get

    Prevent wildcard matches from crossing tenant ownership boundaries.Fix SNI normalization bugs for case-sensitive or trailing-dot hostnames.Resolve race conditions during TLS configuration hot-reloads.Secure cached TLS contexts to prevent data leakage between tenants.

    About this skill

    The problem

    Multi-tenant gateways and proxies often suffer from SNI leakage where wildcard matches cross boundaries or cached TLS contexts bleed between tenants. These routing bugs lead to incorrect certificate selection, broken upstream dispatch, and security vulnerabilities during configuration reloads.

    What it does

    • Identifies and repairs SNI normalization issues including case sensitivity, trailing dots, and IDNA encoding.
    • Enforces exact routing precedence to prevent suffix match hijacking (e.g., evil-example.com matching example.com).
    • Fixes race conditions between configuration hot-reloads and in-flight ClientHello handshakes.
    • Audits TLS context callbacks to ensure cached state is bound to the correct authority and tenant.
    • Generates deterministic local handshake fixtures and loopback tests to verify routing logic without production access.

    Frameworks & tools

    Works with repository-level configurations for TLS terminators, proxies, and gateways. Uses Read, Edit, and Bash for local environment validation.

    Why this beats prompting it yourself

    General LLMs often suggest weakening certificate validation or increasing timeouts to "fix" connection errors. This skill enforces a strict ownership contract, ensuring validation occurs before dispatch and that observability remains redacted and protocol-compliant.

    Use cases

    • Fixing wildcard certificate routing that incorrectly matches multi-label subdomains.
    • Preventing tenant context leakage in high-concurrency TLS termination environments.
    • Hardening SNI parsers against malformed or ambiguous authority headers.
    • Validating that configuration reloads do not interrupt or misroute active TLS handshakes.

    Known limitations

    Cannot contact production services or read live secrets. It does not modify TLS versions, cipher policies, or global ALPN settings without explicit repository evidence.

    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 18 days ago

    • Passed all security checks, Safe to install

    Listed18 days ago

    Frequently Asked Questions