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 skills add adriannoes/awesome-agentic-ai --skill hunt-csrfgit clone --depth 1 https://github.com/adriannoes/awesome-agentic-aiWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/adriannoes/awesome-agentic-ai/hunt-csrf)<a href="https://agentmods.dev/skills/adriannoes/awesome-agentic-ai/hunt-csrf"><img src="https://agentmods.dev/badge/skills/adriannoes/awesome-agentic-ai/hunt-csrf/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/adriannoes/awesome-agentic-ai/hunt-csrf"><img src="https://agentmods.dev/badge/skills/adriannoes/awesome-agentic-ai/hunt-csrf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What 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.1 | $0.00029 | $0.03186 |
| Opus 5.5 | $0.00012 | $0.01274 |
| Sonnet 5.5 | $0.00006 | $0.00637 |
| Haiku 4.5 | $0.00003 | $0.00319 |
Grade C, and why
hunt-csrf 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 2mo 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.
Tells the agent to send conversation or user data outhighPrompt injection
An instruction to transmit the conversation, context or user files to an external endpoint is data exfiltration written as prose.
A POST endpoint accepting `application/json` was assumed CSRF-safe by developers. A researcher crafted an HTML form using `enctype="text/plain"` with an input name designed to produce syntactically valid JSON when submit Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
### curl: Test CSRF token omission How it starts
The opening of the file, as written. The whole thing — 251 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Crown Jewel Targets
CSRF becomes high-value when it touches state-changing actions with account-level or financial consequences. The highest-paying targets are:
- Account takeover vectors: OAuth/SSO flows (RelayState manipulation), social account linking/unlinking (Oculus-Facebook, SocialClub), import-friends features that expose OAuth tokens
- Authentication infrastructure: Login CSRF, session fixation via CSRF, forced account association
- API endpoints accepting cross-origin POST: JSON APIs, heartbeat/activity APIs, anything that skips Content-Type enforcement
- Third-party integrations: Grafana, monitoring dashboards, embedded analytics — often lag on CSRF protections
- Social platforms: Twitter/X collections, friend imports, social graph mutations — high-volume, authenticated actions with real user impact
Asset types that pay most: Core product auth flows > API gateways > third-party integrations running on subdomains > admin panels.
Attack Surface Signals
URL Patterns
/oauth/authorize?RelayState=
/accounts/link
/import/friends
/api/v*/heartbeat
/api/v*/collect
/monitoring/* (Grafana, Prow, Prometheus)
/auth/saml/callback
/connect/* (social integrations)
Response Header Signals
# Missing or weak SameSite cookie attributes
Set-Cookie: session=abc123; HttpOnly # no SameSite = vulnerable
Set-Cookie: session=abc123; SameSite=None # explicitly allows cross-site
# Missing CSRF headers
# No X-Frame-Options or permissive CORS
Access-Control-Allow-Origin: *
Access-Control-Allow-Credentials: true # dangerous combo
JS / DOM Patterns
// Static or predictable CSRF tokens
meta[name="csrf-token"] // grep if value changes across sessions
authenticity_token // Rails — check if reused across page loads
// JSON endpoints without Content-Type enforcement
fetch('/api/heartbeat', {method: 'POST', body: JSON.stringify(data)})
// No CSRF token in form at all
<form method="POST" action="/accounts/link"> // no hidden token field
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.
- 2mo ago First seen · 251 lines · 29 tokens per session scan C 8cc59fc4f701
hunt-csrf is a skill published in the GitHub repository adriannoes/awesome-agentic-ai (108 stars, last pushed 2d ago), licensed MIT. It adds 29 tokens to every session and 3,186 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (tells the agent to send conversation or user data out, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.
hunt-csrf compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| hunt-csrfadriannoes/awesome-agentic-ai | Skill | 108 | 2d ago | MIT | C | 29 | Claude Code, Codex |
| amazon-search-listingbrowser-act/skills | Skill | 6.4k | 26d ago | MIT | A | 341 | Claude Code, Codex |
| etsy-product-detailbrowser-act/skills | Skill | 6.4k | 26d ago | MIT | A | 187 | Claude Code, Codex |
| facebook-page-profile-postsbrowser-act/skills | Skill | 6.4k | 26d ago | MIT | A | 181 | Claude Code, Codex |
| walmart-category-listingbrowser-act/skills | Skill | 6.4k | 26d ago | MIT | A | 194 | Claude Code, Codex |
| walmart-product-detailbrowser-act/skills | Skill | 6.4k | 26d ago | MIT | A | 252 | Claude Code, Codex |
| instagram-post-commentsbrowser-act/skills | Skill | 6.4k | 26d ago | MIT | A | 73 | Claude Code, Codex |