[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EKAWQGN5Z1YNTPQFGH838B":3,"skill-same:01M7EKAWQGN5Z1YNTPQFGH838B":46},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7EKAWQGN5Z1YNTPQFGH838B","hunt-cache",null,"Web cache poisoning + cache deception hunting - unkeyed input poisoning, cache-key analysis, path-confusion deception, header\u002Fparameter cloaking. Wiki-first, FIND schema output.","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhunt-cache\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: hunt-cache\ndescription: Web cache poisoning + cache deception hunting - unkeyed input poisoning, cache-key analysis, path-confusion deception, header\u002Fparameter cloaking. Wiki-first, FIND schema output.\n---\n\n# Hunt: Web Cache Attacks\n\n**Assumes `hunt-core`** for the scope gate, two-account rule, confirmation gate, enumeration limits, stop conditions, wiki protocol, FIND output, and Deadends. Do not re-derive any of that here.\n\n## Wiki\n\n```\nqmd_query \"web cache poisoning deception unkeyed input cache-key path confusion\" via wiki-search MCP\n```\n\nHub: [[web-moc]] (live web index). Primary page: [[web-cache-poisoning]]. Payload arsenal: `wiki\u002Fpayloads\u002Fweb-cache.md`.\nAnchors: [[web-cache-deception]], [[web-cache-attacks]]. Related: [[http-host-header-attacks]], [[http-request-smuggling]].\n\n## Attack surface\n\nNeeds a cache in front (CDN \u002F Varnish \u002F Cloudflare \u002F Akamai \u002F Fastly, or an app-layer cache). Signals: `Age`, `X-Cache: hit\u002Fmiss`, `Cache-Control`, `CF-Cache-Status` headers; static-ish responses; responses that reflect a header or param.\n\n**Rank before testing:**\n\n- **Unkeyed headers that reflect** - `X-Forwarded-Host`, `X-Forwarded-Scheme`, `X-Host`, `X-Forwarded-For`, plus custom headers a page reflects into links\u002Fscripts. Highest hit-rate poisoning vector; discover unkeyed inputs with Param Miner.\n- **Path \u002F parameter cloaking** - static-looking suffixes and delimiter tricks (`\u002Faccount\u002Fprofile.css`, `\u002Faccount\u002Fprofile\u002Fnonexistent.js`, path-parameter `;`, encoded `%2f`, fat GET) that desync what the cache keys on from what the origin serves. Primary deception vector.\n- **CDN edges and normalization gaps** - cache-key normalization (case, trailing slash, duplicate params) differing from origin routing; multi-CDN or origin-vs-edge disagreement.\n\n## Methodology\n\n**Drive load-bearing requests through Burp Repeater** for operator visibility; use Param Miner to enumerate unkeyed headers\u002Fparams. curl is fine for the quick keyed-vs-unkeyed loop.\n\n1. **Identify the cache + cache key.** Compare `X-Cache`\u002F`Age` across requests; determine what is keyed (usually method + host + path + some query) vs **unkeyed** (most headers, some params). Always attach a unique cache-buster while probing so you never touch a shared key.\n2. **Cache poisoning (unkeyed input -> harmful response, then cached for others).**\n   - Find an unkeyed input that affects the response (reflected header\u002Fparam): `X-Forwarded-Host`, `X-Forwarded-Scheme`, `X-Host`, `X-Forwarded-For`, custom headers (Param Miner to discover).\n   - Make it produce harm (XSS \u002F redirect \u002F resource swap), then confirm the **cached** poisoned response is served to a fresh request (cache-buster off) - and cross-session (see confirmation gate).\n   - Fat GET, parameter cloaking, and cache-key normalization gaps as variants.\n3. **Cache deception (trick the cache into storing a victim's private page).**\n   - Request a private page with an appended static-looking suffix\u002Fpath: `\u002Faccount\u002Fprofile.css`, `\u002Faccount\u002Fprofile\u002Fnonexistent.js`, path-parameter `;`, encoded `%2f`.\n   - If the origin returns the private content but the cache stores it as static -> retrieve another user's data unauthenticated.\n4. **Confirm impact crosses a trust boundary** - served to other users \u002F discloses private data, not just your own session.\n5. **Distill when confirmed** (reusable unkeyed-header or deception-path trick, GENERIC, no client host): `python3 scripts\u002Fwiki-stage.py --kind technique --slug \u003Cslug> --target-page techniques\u002Fweb\u002Fweb-cache-poisoning.md` (deception-path findings: `--target-page techniques\u002Fweb\u002Fweb-cache-deception.md`).\n\n## Chaining\n\nAn unkeyed input reflected into HTML\u002FJS turns poisoning into **stored XSS served to every client hitting that key** - escalate the payload with `hunt-xss`. A reflected `X-Forwarded-Host` in a redirect or absolute link gives **open redirect \u002F resource swap to all users**. Both raise impact from self-only to mass; prove reach on a benign key, then stop (see stop condition).\n\n## Evasion\n\nWhen the input looks keyed or filtered: try header-name variants (`X-Forwarded-Host` vs `X-Host` vs `Forwarded`), duplicate\u002Fpollute the param so the cache keys one occurrence and the origin reads another, exploit cache-key normalization (case, trailing slash, `%2f`), and use a fat GET (body params on a GET) to smuggle the value past a keyed query string.\n\n## Confirmation gate\n\nWeb cache poisoning is a blind \u002F OOB-capable class: the win is a response served to OTHER clients, which you cannot observe from your own session alone.\n\n**NOT confirmation:** your own cached response reflected back to you alone; a single response that might be per-user; an `Age` \u002F `X-Cache: hit` change with no cross-session retrieval; the payload echoed in your own request.\n\n**IS confirmation:** a poisoned or deceived response served to a DIFFERENT session and reproduced in a clean session (fresh profile, no cached state, cache-buster off); or an OOB callback to your unique Burp Collaborator \u002F interactsh subdomain from a resource you injected into the cached page - a Collaborator-pointed unkeyed header confirms the poisoning reaches the cache and is loaded by other clients.\n\nWhen you plant a blind\u002FOOB payload, append a row to `targets\u002F\u003Ceng>\u002Foob.md`: `| \u003Ctoken> | \u003Csink url+param> | cache | \u003Cdate> | waiting | |` (columns: token | sink | class | planted | status | source; token = your unique Burp Collaborator \u002F interactsh label). The recon-capture hook auto-correlates incoming callbacks to flip the row to HIT and SessionStart surfaces HITs; a HIT row in `targets\u002F\u003Ceng>\u002Foob.md` is the gate to scaffold the FIND. Do NOT claim a blind cache poisoning without cross-session proof or a HIT row.\n\n## Stop condition (traffic-affecting)\n\nPer `hunt-core`, cache poisoning is a traffic-affecting primitive: poisoning the shared\u002Fproduction cache can serve malicious content to every real user who hits that key. Demonstrate on a benign, self-scoped cache key (a unique cache-buster or your own path) and STOP at proof. Do not mass-poison a shared key, and do not leave a live payload sitting in the production cache.\n\n## Severity\n\nHIGH (stored XSS \u002F redirect to all users, or PII disclosure via deception); CRITICAL if it yields mass account takeover; MEDIUM if self-only \u002F weak impact.\n\n## Deadends\n\n```\nAppend: - [ ] web-cache \u003Chost> -- key includes host+all reflective params; deception suffixes not cached (Cache-Control: private)\n```\n","# Hunt: Web Cache Attacks\n\n**Assumes `hunt-core`** for the scope gate, two-account rule, confirmation gate, enumeration limits, stop conditions, wiki protocol, FIND output, and Deadends. Do not re-derive any of that here.\n\n## Wiki\n\n```\nqmd_query \"web cache poisoning deception unkeyed input cache-key path confusion\" via wiki-search MCP\n```\n\nHub: [[web-moc]] (live web index). Primary page: [[web-cache-poisoning]]. Payload arsenal: `wiki\u002Fpayloads\u002Fweb-cache.md`.\nAnchors: [[web-cache-deception]], [[web-cache-attacks]]. Related: [[http-host-header-attacks]], [[http-request-smuggling]].\n\n## Attack surface\n\nNeeds a cache in front (CDN \u002F Varnish \u002F Cloudflare \u002F Akamai \u002F Fastly, or an app-layer cache). Signals: `Age`, `X-Cache: hit\u002Fmiss`, `Cache-Control`, `CF-Cache-Status` headers; static-ish responses; responses that reflect a header or param.\n\n**Rank before testing:**\n\n- **Unkeyed headers that reflect** - `X-Forwarded-Host`, `X-Forwarded-Scheme`, `X-Host`, `X-Forwarded-For`, plus custom headers a page reflects into links\u002Fscripts. Highest hit-rate poisoning vector; discover unkeyed inputs with Param Miner.\n- **Path \u002F parameter cloaking** - static-looking suffixes and delimiter tricks (`\u002Faccount\u002Fprofile.css`, `\u002Faccount\u002Fprofile\u002Fnonexistent.js`, path-parameter `;`, encoded `%2f`, fat GET) that desync what the cache keys on from what the origin serves. Primary deception vector.\n- **CDN edges and normalization gaps** - cache-key normalization (case, trailing slash, duplicate params) differing from origin routing; multi-CDN or origin-vs-edge disagreement.\n\n## Methodology\n\n**Drive load-bearing requests through Burp Repeater** for operator visibility; use Param Miner to enumerate unkeyed headers\u002Fparams. curl is fine for the quick keyed-vs-unkeyed loop.\n\n1. **Identify the cache + cache key.** Compare `X-Cache`\u002F`Age` across requests; determine what is keyed (usually method + host + path + some query) vs **unkeyed** (most headers, some params). Always attach a unique cache-buster while probing so you never touch a shared key.\n2. **Cache poisoning (unkeyed input -> harmful response, then cached for others).**\n   - Find an unkeyed input that affects the response (reflected header\u002Fparam): `X-Forwarded-Host`, `X-Forwarded-Scheme`, `X-Host`, `X-Forwarded-For`, custom headers (Param Miner to discover).\n   - Make it produce harm (XSS \u002F redirect \u002F resource swap), then confirm the **cached** poisoned response is served to a fresh request (cache-buster off) - and cross-session (see confirmation gate).\n   - Fat GET, parameter cloaking, and cache-key normalization gaps as variants.\n3. **Cache deception (trick the cache into storing a victim's private page).**\n   - Request a private page with an appended static-looking suffix\u002Fpath: `\u002Faccount\u002Fprofile.css`, `\u002Faccount\u002Fprofile\u002Fnonexistent.js`, path-parameter `;`, encoded `%2f`.\n   - If the origin returns the private content but the cache stores it as static -> retrieve another user's data unauthenticated.\n4. **Confirm impact crosses a trust boundary** - served to other users \u002F discloses private data, not just your own session.\n5. **Distill when confirmed** (reusable unkeyed-header or deception-path trick, GENERIC, no client host): `python3 scripts\u002Fwiki-stage.py --kind technique --slug \u003Cslug> --target-page techniques\u002Fweb\u002Fweb-cache-poisoning.md` (deception-path findings: `--target-page techniques\u002Fweb\u002Fweb-cache-deception.md`).\n\n## Chaining\n\nAn unkeyed input reflected into HTML\u002FJS turns poisoning into **stored XSS served to every client hitting that key** - escalate the payload with `hunt-xss`. A reflected `X-Forwarded-Host` in a redirect or absolute link gives **open redirect \u002F resource swap to all users**. Both raise impact from self-only to mass; prove reach on a benign key, then stop (see stop condition).\n\n## Evasion\n\nWhen the input looks keyed or filtered: try header-name variants (`X-Forwarded-Host` vs `X-Host` vs `Forwarded`), duplicate\u002Fpollute the param so the cache keys one occurrence and the origin reads another, exploit cache-key normalization (case, trailing slash, `%2f`), and use a fat GET (body params on a GET) to smuggle the value past a keyed query string.\n\n## Confirmation gate\n\nWeb cache poisoning is a blind \u002F OOB-capable class: the win is a response served to OTHER clients, which you cannot observe from your own session alone.\n\n**NOT confirmation:** your own cached response reflected back to you alone; a single response that might be per-user; an `Age` \u002F `X-Cache: hit` change with no cross-session retrieval; the payload echoed in your own request.\n\n**IS confirmation:** a poisoned or deceived response served to a DIFFERENT session and reproduced in a clean session (fresh profile, no cached state, cache-buster off); or an OOB callback to your unique Burp Collaborator \u002F interactsh subdomain from a resource you injected into the cached page - a Collaborator-pointed unkeyed header confirms the poisoning reaches the cache and is loaded by other clients.\n\nWhen you plant a blind\u002FOOB payload, append a row to `targets\u002F\u003Ceng>\u002Foob.md`: `| \u003Ctoken> | \u003Csink url+param> | cache | \u003Cdate> | waiting | |` (columns: token | sink | class | planted | status | source; token = your unique Burp Collaborator \u002F interactsh label). The recon-capture hook auto-correlates incoming callbacks to flip the row to HIT and SessionStart surfaces HITs; a HIT row in `targets\u002F\u003Ceng>\u002Foob.md` is the gate to scaffold the FIND. Do NOT claim a blind cache poisoning without cross-session proof or a HIT row.\n\n## Stop condition (traffic-affecting)\n\nPer `hunt-core`, cache poisoning is a traffic-affecting primitive: poisoning the shared\u002Fproduction cache can serve malicious content to every real user who hits that key. Demonstrate on a benign, self-scoped cache key (a unique cache-buster or your own path) and STOP at proof. Do not mass-poison a shared key, and do not leave a live payload sitting in the production cache.\n\n## Severity\n\nHIGH (stored XSS \u002F redirect to all users, or PII disclosure via deception); CRITICAL if it yields mass account takeover; MEDIUM if self-only \u002F weak impact.\n\n## Deadends\n\n```\nAppend: - [ ] web-cache \u003Chost> -- key includes host+all reflective params; deception suffixes not cached (Cache-Control: private)\n```\n",{"name":5,"description":7},"main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","04-安全渗透\u002Fhunt-cache",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill hunt-cache",{"tool":38,"command":39},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill hunt-cache",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill hunt-cache","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F04-安全渗透\u002Fhunt-cache\u002FSKILL.md",true,[],[47,55,60,67,74,81],{"skillNo":48,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":51,"categories":52,"keywords":53,"publishedAt":54},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],"2026-11-16 10:05:34",{"skillNo":56,"name":49,"nameZh":6,"description":50,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":54},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":54},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":54},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":54},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":54},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]