Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/emre-guler/websec/ssrfnpx skills add emre-guler/websec --skill ssrfgit clone --depth 1 https://github.com/emre-guler/websecWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00083 | $0.05928 |
| Opus 5 | $0.00042 | $0.02964 |
| Sonnet 5 | $0.00017 | $0.01186 |
| Haiku 4.5 | $0.00008 | $0.00593 |
Grade C, and why
ssrf scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Cloud metadata endpointhighServer-side request forgery
One request to 169.254.169.254 can return temporary IAM credentials.
- **Cloud metadata reach** — the destination is the link-local instance metadata address (`169.254.169.254`), returning instance data and temporary credentials. In code: identical to the above; what makes it a distinct v Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
| Python | `requests.get/post`, `httpx`, `aiohttp`, `urllib.request.urlopen`, `urllib3` | URL built from `request.args`, `request.json`, form fields, or a stored user value. `requests` defaults to `allow_redirects=True` How it starts
The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Server-Side Request Forgery Detection
Overview
Server-side request forgery is when an attacker makes the application server issue an outbound request to a destination of their choosing instead of the one the developer intended. It sits at the moment a handler takes a request-derived value — a full URL, a hostname, a port, a path fragment, or a reference embedded in a parsed document — and builds an outbound client call from it. Because the request leaves the server, it carries the server's network position and implicit trust: loopback interfaces, private network segments, internal admin panels, service management ports, and the cloud instance metadata endpoint that hands out temporary credentials. The attacker is usually an unauthenticated or low-privileged external user; what they gain ranges from reading internal-only pages to stealing cloud IAM credentials to firing exploits at internal software through the server. This skill finds such flaws by locating every site where an outbound request destination can be influenced by input, checking each site in parallel, and merging the results into <output_dir>/ssrf-results.md.
What it is NOT
- Open redirection (
/websec:open-redirect, or/websec:dom-basedwhen client JavaScript performs the navigation): a redirect sends the victim's browser somewhere. Test: who issues the follow-up request — the browser or the server? Only the server-issued fetch belongs here. An open redirect that a server-side fetcher follows is in scope here as the filter-bypass variant; the redirect endpoint itself remains the sibling skill's finding. - Cross-site request forgery (
/websec:csrf): CSRF forges a request from the victim's browser toward this application. Same word, opposite direction. - XML external entities (
/websec:xxe): if the outbound request is produced by an XML parser resolving an entity orSYSTEMreference, the fix is parser hardening and the finding belongs to that skill. Test: is the destination taken from a URL-shaped field the handler passes to an HTTP client, or from a document the parser dereferences on its own? - Path traversal (
/websec:path-traversal): afile://scheme reaching a local file through an HTTP client is still an outbound-client sink and stays here; a value passed to a filesystem API belongs there. Test: which sink receives the value, a network client oropen/readFile? - Host header attacks (
/websec:host-header): usingHostto build absolute links in emails or caches is a different flaw. It becomes SSRF only when a header value is used as an outbound fetch destination. - Not a finding: a callback or webhook URL that is only stored, displayed, or handed to the browser and never dereferenced server-side; a destination fully determined by server-side configuration or a fixed lookup table keyed by an opaque identifier; a fetch whose host is resolved and checked against an explicit allow-list on every hop.
- An outbound client is not a candidate merely by existing. This class begins with a destination taken from a request. A service that calls its neighbours at base addresses supplied by environment variables, a settings file, or a service-discovery lookup — with only a path segment and a body derived from the request — is not exhibiting it, however many such clients it has. Record that group once with the configuration site and move on; a configured base plus a request-derived path segment returns to scope only where that segment can escape the base (an absolute URL, a leading
//, or dot-segments the client resolves before connecting).
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 171 lines · 83 tokens per session scan C 3e430f36cd8d
ssrf is a skill published in the GitHub repository emre-guler/websec (2 stars, last pushed 6d ago), licensed MIT. It adds 83 tokens to every session and 5,928 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it C with 2 findings (cloud metadata endpoint, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
vantage
Autonomous, artifact-driven SAST (Static Application Security Testing) for web AND mobile app repositories, plus optional code-level remediation. Use whenever the user asks to security-review, pentest, audit, or scan a codebase for vulnerabilities — web (SQLi, XSS, IDOR/BOLA, auth bypass, SSRF, XXE, hardcoded secrets…
prowler-compliance
Creates, syncs, audits and manages Prowler compliance frameworks end-to-end. Covers the two supported JSON schemas (universal multi-provider and legacy per-provider), the SDK model tree (legacy attribute classes, universal ComplianceFramework, ConfigRequirements guardrails), output formatters (legacy per-framework +…
prowler-ui
Prowler UI-specific patterns. For generic patterns, see: typescript, react-19, nextjs-16, tailwind-4. Trigger: When working inside ui/ on Prowler-specific conventions (shadcn, folder placement, actions/adapters, shared types/hooks/lib).
prowler-pr
Creates Pull Requests for Prowler following the project template and conventions. Trigger: When working on pull request requirements or creation (PR template sections, PR title Conventional Commits check, changelog gate/no-changelog label), or when inspecting PR-related GitHub workflows like conventional-commit.yml…
prowler-test-api
Testing patterns for Prowler API: JSON:API, Celery tasks, RLS isolation, RBAC. Trigger: When writing tests for api/ (JSON:API requests/assertions, cross-tenant isolation, RBAC, Celery tasks, viewsets/serializers).
prowler-ci
Helps with Prowler repository CI and PR gates (GitHub Actions workflows). Trigger: When investigating CI checks failing on a PR, PR title validation, changelog gate/no-changelog label, conflict marker checks, secret scanning, CODEOWNERS/labeler automation, or anything under .github/workflows.