jinyimeng01/mastermind-bug-bounty/cache-poisoning
Claude Code and agent skill by jinyimeng01/mastermind-bug-bounty
- community
Checking that the SKILL.md file is still in the repository.
Web Cache Poisoning detection and exploitation. Covers unkeyed headers, parameter cloaking, cache key normalization, XSS via cache, and DoS via cache. Targets: CDN (Cloudflare/Akamai/Fastly), reverse proxy (Varnish/Nginx), application-level caching (Redis/Memcached).
Install
npx vskill@latest install jinyimeng01/mastermind-bug-bounty/cache-poisoningSKILL.md
Web Cache Poisoning — Detection & Exploitation
Cache Poisoning turns a single crafted request into a persistent attackthat affects every subsequent user requesting the same resource.
1. Cache Identification
Response Headers
Cache Key Detection
The cache key is what the cache uses to identify "same resource". Only unkeyed components can be poisoned.
2. Attack Vectors (by unkeyed component)
X-Forwarded-Host (Highest Impact)
Next user requesting GET / gets scripts and links pointing to evil.com.
X-Forwarded-Scheme
X-Forwarded-For / X-Real-IP (Reflected IP)
Origin / Referer Reflection
Cached CORS headers allow evil.com to steal authenticated responses.
User-Agent (Mobile/Desktop Switching)
Fat GET (Parameter in Body)
Some caches include the body in cache key. Some don't. Test both.
3. Parameter Cloaking (Cache Key Confusion)
; Parameter Separator (Rails/Spring)
Cache sees: /home → serves cached version App sees: /home;admin=true → returns admin page
URL Encoding Confusion
Cache sees: /home?admin=true (decoded) App sees: /home%3Fadmin=true (raw → different route)
4. XSS via Cache Poisoning
Now EVERY user loading /static/js/i18n/en.js executes the XSS.
5. CP-DoS (Cache Poisoning Denial of Service)
6. Automated Test Sequence
Step 1: Cache Behavior Baseline
Step 2: Unkeyed Header Discovery
Step 3: Impact Verification
7. Output
8. Rules
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cache_poisoning/SKILL.md
Popularity
- Repository stars
- 59
- Repository forks
- 5
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jinyimeng01/mastermind-bug-bounty/cache-poisoning)