New advertisers: 50% off your first month with code FIRSTMONTHSee slots
yaklang avatar

Web Cache Deception

Playbook for web cache deception and poisoning, covering path confusion, cache key manipulation, and CDN caching behavior.

skills.sh installs
3.9K
GitHub stars
2.7K
last updated
Aug 21, 2026
View on GitHub

What it does

  • Covers cache deception (stealing authenticated responses) and cache poisoning (serving malicious cached content) with attack flows for each
  • Includes methodology for path confusion tests, unkeyed header discovery, and cache verification via X-Cache and Age headers
  • Lists unkeyed headers such as X-Forwarded-Host, X-Original-URL, and X-Forwarded-Scheme, plus defensive Cache-Control and Vary guidance
  • Designed for security testers assessing CDN, reverse proxy, or application caching layers, with a testing checklist and an advanced reference for CDN-specific behavior

Install

$ npx -y skills add yaklang/hack-skills --skill web-cache-deception -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

SKILL: Web Cache Deception — Expert Attack Playbook

AI LOAD INSTRUCTION: Web cache deception and poisoning techniques. Covers path confusion attacks, CDN cache behavior exploitation, cache key manipulation, and the distinction between cache deception (steal data) and cache poisoning (serve malicious content). Presented by Omer Gil at Black Hat 2017 and significantly expanded since.

Advanced Reference

Also load CACHE_POISONING_TECHNIQUES.md when you need:

  • Web Cache Poisoning vs Web Cache Deception — clear distinction and attack flow comparison
  • Unkeyed header poisoning (X-Forwarded-Host, X-Forwarded-Scheme, X-Original-URL, multiple Host headers)
  • Unkeyed parameter poisoning (utm_content, fbclid, callback, reflected but not in cache key)
  • Fat GET cache poisoning (body parameters reflected but not keyed)
  • Parameter cloaking via semicolons and duplicate parameter parsing differentials
  • CDN-specific behavior: Cloudflare, CloudFront, Akamai, Varnish, Fastly (cache key composition, debug headers, ESI)
  • Vary header manipulation, cache partitioning attacks, and missing Vary vulnerabilities

1. CORE CONCEPTS

Details

Repository
github.com/yaklang/hack-skills
Category
Security
First seen
May 16, 2026

More from yaklang/hack-skills

All 102

Similar to Web Cache Deception

More Security