- Home
- Skills
- Agents & Orchestration
- Repair TLS SNI Routing Bugs
Works with the AI tools you already use
Repair TLS SNI Routing Bugs
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
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
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.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 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