Cache Poisoning

Detect HTTP cache poisoning and web cache deception vulnerabilities across proxies and CDNs.

22|3|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/allsmog/vuln-scout --skill cache-poisoning
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Cache Poisoning
Source: https://github.com/allsmog/vuln-scout/tree/main/whitebox-pentest/skills/cache-poisoning
Command: npx skills add https://github.com/allsmog/vuln-scout --skill cache-poisoning

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and mitigate vulnerabilities related to HTTP cache poisoning and web cache deception, protecting against unauthorized data exposure and manipulation.

Core Features & Use Cases

  • Vulnerability Detection: Provides patterns to find misconfigurations in proxy caches, CDNs, and application-level caching.
  • Attack Chain Analysis: Helps identify SSRF-to-cache poisoning and path extension abuse scenarios.
  • Remediation Guidance: Offers specific configuration examples for Nginx, application code, and CDN settings.
  • Use Case: You suspect your web application's cache is being poisoned. This Skill provides commands to search your Nginx configuration for vulnerable proxy_cache_key directives and checks if dynamic content is being cached under static file extensions.

Quick Start

Search the codebase for Nginx configurations related to proxy caching and cache key manipulation.

Frequently Asked Questions about Cache Poisoning

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

FAQPage Schema
How do I detect web cache poisoning vulnerabilities in Nginx and CDN configurations?

To detect web cache poisoning in Nginx and CDNs, search your proxy configurations for vulnerable `proxy_cache_key` directives and verify if dynamic content is improperly cached under static file extensions. This identifies misconfigurations across application, proxy, and CDN layers.

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

Web cache poisoning manipulates cache keys via headers to serve malicious content to users, while web cache deception tricks caches into storing sensitive dynamic content under static file extensions. This Skill analyzes both vulnerabilities across proxy and CDN layers to prevent unauthorized data exposure.

How do I prevent SSRF-to-cache poisoning attack chains in my application?

Prevent SSRF-to-cache poisoning by analyzing your application for path extension abuse and cache key manipulation via headers. This Skill identifies SSRF-to-cache poisoning chains and provides specific remediation steps and secure caching practices for your Nginx, proxy, and CDN configurations.

Does this Skill work with Varnish and Cloudflare cache configurations?

Yes, this Skill analyzes cache misconfigurations across Varnish and Cloudflare environments. It identifies cache key manipulation via headers and provides specific configuration examples to secure caching practices across your application, proxy, and CDN layers.

Why does my Nginx proxy cache serve incorrect dynamic content to users?

Your Nginx proxy cache likely serves incorrect content due to a vulnerable `proxy_cache_key` directive causing cache poisoning. This Skill helps search your codebase for misconfigurations and checks if dynamic content is being cached under static file extensions.

What are the best ways to remediate HTTP cache poisoning in web applications?

The best way to remediate HTTP cache poisoning is by applying secure caching configurations. This Skill provides specific remediation examples for Nginx, application code, and CDN settings to fix cache key manipulation and path extension abuse vulnerabilities.