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/web-cache-deceptionnpx skills add emre-guler/websec --skill web-cache-deceptiongit 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.00075 | $0.05637 |
| Opus 5 | $0.00037 | $0.02818 |
| Sonnet 5 | $0.00015 | $0.01127 |
| Haiku 4.5 | $0.00007 | $0.00564 |
Grade A, and why
web-cache-deception scanned grade A with 0 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Web Cache Deception Detection
Overview
Web cache deception makes a shared cache store a response that contains one user's private, personalised content under a cache key that a different, unauthenticated party can request. It lives in the gap between two URL parsers on the request path: the edge cache decides what to store from superficial URL features (a file extension, a directory prefix, a well-known file name), while the origin resolves the same URL to a dynamic, authenticated route. The attacker is an unauthenticated remote party who crafts a URL satisfying the cache's "this is a static asset" rule while the origin still renders the victim's page, lures the victim into loading it once, then fetches the same URL themselves and reads whatever the cache stored — session-bearing markup, PII, tokens, sometimes credentials. This skill finds such exposure by locating every authenticated response that could become cacheable together with every rule and routing behaviour that could make it so, checking each candidate in parallel, and merging the results into <output_dir>/web-cache-deception-results.md.
What it is NOT
- Web cache poisoning (
/websec:web-cache-poisoning): poisoning is an integrity attack — the cache stores an attacker-influenced response and serves it to victims. Deception is a confidentiality attack — the cache stores a victim's own response and the attacker fetches it. Test: ask who owns the bytes in the cache entry. If they are the attacker's payload being delivered to others, it is poisoning; if they are a victim's private data being read by the attacker, it is deception. - Path traversal (
/websec:path-traversal): there the..%2fsequence reaches a filesystem read and returns file contents. Here it only shifts which URL string the cache and the origin each believe they are handling; no file is opened out of bounds. Test: does the encoded segment change a file path, or only a route and a cache key? - Access control (
/websec:access-control): the origin's authorization may be entirely correct — the victim was authenticated and entitled to that page. The flaw is that the response became shareable. Test: remove the cache from the picture; if the private data is still reachable by the wrong principal, it is an authorization bug. - Information disclosure (
/websec:information-disclosure): there the application volunteers data to whoever asks (debug pages, backups, verbose errors). Here the data is correctly scoped at the origin and only leaks through a stored copy. - Host header handling (
/websec:host-header): a host-derived cache key problem belongs there; deception turns on path and extension parsing, not on the host. - Request smuggling (
/websec:request-smuggling): both turn on two hops disagreeing, so name what they disagree about. Test: do the hops disagree about the URL and the cache key derived from it (here), or about where one request ends and the next begins on a reused connection (there)? - Not a finding: a cached response that is identical for every user (genuinely static, or personalised only by content the requester already knows); a route that returns 404 or 400 for the crafted suffix instead of the base page; an authenticated response that carries
Cache-Control: no-storeon every branch; caching confined to a hostname or path prefix that serves no authenticated content; anAgeheader on a response whose body contains no requester-specific data.
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 · 165 lines · 75 tokens per session scan A d2909efb04b5
web-cache-deception is a skill published in the GitHub repository emre-guler/websec (2 stars, last pushed 6d ago), licensed MIT. It adds 75 tokens to every session and 5,637 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. 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.