ssrf-testing
Detect and exploit server-side request forgery to reach internal services, cloud metadata, and internal networks
от VigilOSS★ 35 звёзд на GitHub
Установить ssrf-testing в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Server-Side Request Forgery (SSRF) Testing
When to Activate
- A feature fetches a URL server-side: webhooks, URL previews/OEmbed, avatar or image import,
PDF/HTML render, RSS/feed import, file import from URL, SSO metadata/JWKS/discovery URLs,
integration "test connection" buttons, or a parameter carrying a URL, hostname, IP or path.
Parameter-name lists:
agent/references/gf-patterns/ssrf.md,webhook.md,cloud_metadata.md.
--technique SSRF; every target-facing call is vigil assess kali exec --technique SSRF --intent "<purpose>" --probe-kind <kind> --phase <phase> --timeout 60 -- curl … (the request lines below
show only the request). Payload families — URL schemes, URL-parser tricks,
hostname-string bypasses, DNS rebinding and when the HTTP stack defeats it, internal service
names, cloud metadata (AWS/ECS task credentials/GCP/Azure/Kubernetes service-account files and
others), user-data endpoints, post-SSRF services including gopher to MySQL/PostgreSQL/SMTP:
agent/references/payloads/ssrf-payloads.md. API checklist:
agent/references/api-security/API07-ssrf.md. Seed variants with
vigil assess classify-payload <url> --mutations (boundary gives loopback and scheme-confusion
probes, format parser-differential variants); swap the minted $OOB_HOST into each variant
before firing.
SaaS integration connectors
Admin/settings "outbound integration" screens fetch by design: SIEM forwarders (Splunk HEC
instanceUrl, QRadar/LogRhythm host, syslog), IdP integrations (SAML idpMetadataUrl, OIDC
discovery, ADFS providerUrl, JWKS URIs), MFA (Duo apiHost, Okta tenant URL), webhooks,
feed/import sources, autodiscover, CI git-clone URLs, S3-compatible endpoints.
- POST a minimal body per provider; the 400 usually leaks the required-field schema. Providers
with a hard-coded ingestion endpoint (Azure Sentinel always uses
*.ods.opinsights.azure.com) are not vulnerable. - A generic 400/403 on IP literals, distinct from "connection failed", means a denylist: that is the surface to bypass, not a stop.
- Validator and fetcher are often split (shape check, then resolve at connect time): DNS rebinding lands there.
- For a persistent channel, make the connection test pass (a listener returning the expected
shape, e.g. Splunk HEC
{"text":"Success","code":0}; operator-provisioned peragent/shared-constraints.md§12), confirm the config persisted, and watch for follow-on requests. Score persistence separately. - Sibling providers in one controller share the code path: record them as variants of one root finding.
Differential error oracle
A partial SSRF that leaks only content length, status or headers is still an oracle: a
length or status difference per guessed byte can extract a metadata value bit by bit. Distinct
error strings per failure mode are a port-mapping primitive even with no body returned:
internal closed port → Timeout; external closed → ConnectionRefusal; open port, wrong protocol
→ InvalidCertificate/bad shape (fingerprint it); open and right protocol → WrongCredentials/
401. Score the oracle separately from the SSRF; timing differences between internal and external
targets survive identical bodies.
Blind SSRF and OOB
Follow agent/references/offensive-tactics/frp-tunneling.md "OOB Procedure
(mint→poll→correlate)": one minted host per injection point, fired verbatim. A matched HTTP
interaction from a public address shows the server fetches on your behalf; a DNS-only hit carries
the recursive resolver's address and validators resolve hostnames without fetching, so it shows
less. Either way the callback proves the primitive, not impact (agent/rules/hunting.md §2): a
blind SSRF with no internal data and no privileged follow-on belongs on the chain-only list.
Without OOB, fall back to the error oracle and timing.
OOB self-resolution. A hit whose from= address is RFC-1918, a container-bridge range or the
Kali runtime's own IP is the Kali side resolving your host, not the target. Put the callback host
in the request body or the parameter under test rather than in curl header argv, where Kali-side
tooling resolves it first, and confirm a public egress source (or a real HTTP interaction from the
target's egress path) before recording.
Classify the guard first
| Guard family | How it presents | Branch |
|---|---|---|
| IP-literal block | rejects 127.0.0.1/169.254.169.254, accepts hostnames |
IP encodings (decimal/hex/octal/IPv6/short) |
| Resolve-then-check | any hostname accepted; fails after resolving private | DNS rebinding (TOCTOU); encodings are useless |
| Hostname-string list | rejects the string imds/metadata/localhost, often case-sensitively |
case variants (IMDS), trailing dot (imds.), percent-encoded host bytes |
If 10-15 variants of one family fail identically, the family is wrong: switch, do not deepen. An allowlist keyed on an approved public domain falls to that domain resolving or 30x-r
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл ssrf-testing?
Detect and exploit server-side request forgery to reach internal services, cloud metadata, and internal networks
Как установить скилл ssrf-testing?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл ssrf-testing запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
mcp-builder
AnthropicGuide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
claude-api
AnthropicReference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
algorithmic-art
AnthropicCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
mcp-integration
AnthropicThis skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…