web-cache-deception

Detect CDN and proxy cache deception via cache key manipulation.

5|2|Updated May 16, 2026
One-click install
npx skills add https://github.com/DorianGallo/hack-skills-local --skill web-cache-deception-doriangallo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: web-cache-deception
Source: https://github.com/DorianGallo/hack-skills-local/tree/main/skills/web-cache-deception
Command: npx skills add https://github.com/DorianGallo/hack-skills-local --skill web-cache-deception-doriangallo

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill helps you understand and test how CDN/proxy/application cache mismatches can cause sensitive authenticated content to be served to other users (cache deception) or allow attackers to store malicious responses that others consume (cache poisoning).

Core Features & Use Cases

  • Distinguishes cache deception vs cache poisoning with clear goals, attack flows, and observable signals.
  • Guides unkeyed-input exploitation covering path confusion/extension tricks and cache key manipulation via reflected unkeyed headers, parameters, and GET-body parsing.
  • Explains CDN and proxy-specific cache behavior including Vary handling, CDN debug headers, and edge cases like ESI processing.

Quick Start

Tell an AI to build a step-by-step test plan for cache deception and poisoning against a specific target domain by identifying the cache layer, probing cache key composition, and verifying whether unkeyed inputs are reflected into cached responses.

Frequently Asked Questions about web-cache-deception

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
What is the difference between web cache deception and web cache poisoning?

Web cache deception exposes authenticated content to unauthorized users, while web cache poisoning persists attacker-controlled responses for others to consume. Both exploit cache key mismatches but differ in attack goals and observable signals.

How do I test for unkeyed header and parameter reflection in cache poisoning?

To test for cache poisoning via unkeyed reflection, identify the cache layer, probe cache key composition, and verify whether unkeyed inputs like headers or parameters are reflected into cached responses by observing HIT/MISS persistence.

How does path confusion with static extensions expose authenticated content?

Path confusion with static extensions tricks the cache into storing authenticated dynamic content by appending static file extensions to URLs, causing the cache layer to serve private content to unauthorized users.

How do I identify the cache layer when testing CDN and reverse proxy caching behavior?

Identify the cache layer by analyzing CDN debug headers and Vary handling to determine how responses are partitioned, then confirm caching behavior by observing HIT/MISS persistence across requests.

Does this approach support testing fat GET behaviors and Vary header partitioning issues?

Yes, this testing approach covers fat GET behaviors and Vary-related partitioning issues, examining how unkeyed inputs and Vary headers affect cache key composition and response persistence across CDN and proxy layers.

What are the limitations of cache key manipulation testing for web security?

Cache key manipulation testing requires observable HIT/MISS persistence to confirm exploitation, meaning misconfigurations without clear cache indicators cannot be verified, and impact assessment depends on affected user base.