Claude 24f816b6a3
Consolidate 22 sibling repos into layered organism structure
Place useful parts of the surrounding repos into sica-fondt by layer, per the
body model (Ada = membrane; brain/endocrine/capabilities/knowledge non-Ada):

- brain/        LLM reasoning + providers (dapr, hermes, MoMoA)
- capabilities/ REPRAG sidecars: hermes tools/skills, dapr tools, parallel
                dispatch, A51 channels, and the OSINT cluster
- knowledge/    LORAG corpus: 754 cyber-skills, agency personas, secure-coding,
                MITRE ATT&CK data
- reference/    defensive threat-reference (C3, shhbruh doc) + AdaYaml parser

License handling: AGPL sources (worldosint, advanced_evolution, mercury,
Reticulum) and GPL DeTTECT are SPEC-only clean-room/port descriptions — no
copyleft code copied. MIT/Apache/data parts copied as working trees.

Safety: shhbruh escape/persistence material and C3 covert-C2 kept as reference
only, not wired into the running organism. See CONSOLIDATION.md.

https://claude.ai/code/session_01UehUqEXXJJCsHoA4voCU5c
2026-06-10 06:53:01 +00:00

59 lines
1.7 KiB
Markdown

# API Reference: Web Cache Deception Attack
## Attack Technique
| Step | Action | Description |
|------|--------|-------------|
| 1 | Identify authenticated endpoint | Find URL returning personalized content |
| 2 | Append static extension | `/account/nonexistent.css` |
| 3 | CDN caches response | Proxy treats as static file |
| 4 | Access cached URL unauthenticated | Receive victim's personalized data |
## Static Extensions to Test
| Extension | Type | Cache Likelihood |
|-----------|------|-----------------|
| `.css` | Stylesheet | Very High |
| `.js` | JavaScript | Very High |
| `.png`, `.jpg`, `.gif` | Image | High |
| `.woff`, `.woff2` | Font | High |
| `.pdf` | Document | Medium |
| `.ico` | Icon | Medium |
## Cache Detection Headers
| Header | Cached Indicators |
|--------|------------------|
| `X-Cache` | HIT |
| `CF-Cache-Status` | HIT (Cloudflare) |
| `X-Cache-Status` | HIT (Nginx proxy_cache) |
| `Age` | Non-zero value |
| `X-Varnish` | Two IDs = cache hit |
## Path Delimiter Confusion
| Delimiter | URL Example |
|-----------|-------------|
| `;` | `/account;test.css` |
| `%23` | `/account%23test.css` |
| `%3f` | `/account%3ftest.css` |
## Mitigation
| Control | Description |
|---------|-------------|
| `Cache-Control: no-store` | Prevent caching of authenticated pages |
| Validate file extension | Only cache actual static files |
| `Vary: Cookie` | Separate cache by session |
## Python Libraries
| Library | Version | Purpose |
|---------|---------|---------|
| `requests` | >=2.28 | HTTP requests with/without auth |
## References
- PortSwigger Web Cache Deception: https://portswigger.net/web-security/web-cache-deception
- Original Research (Omer Gil): https://omergil.blogspot.com/2017/02/web-cache-deception-attack.html