http-cache-and-proxy-trust

http-cache-and-proxy-trust is a skill for Claude Code, Codex from makifbaysal/tasktrooper. It costs 81 tokens per session (1,932 once invoked), scanned A, original, Apache-2.0.

A security review guide for HTTP hosts, forwarded headers, caches, CDNs, reverse proxies, authentication proxies, and custom request parsing. It checks whether different network components agree about the request's host, client, user, and cacheability.

In plain words
What is it for?
Use it when changing proxy trust, Host or X-Forwarded headers, absolute URLs, response cache settings, CDN rules, ingress, authentication proxies, or HTTP parsing.
Why use it?
Headers supplied by a client can be mistaken for trusted proxy information, and shared caches can serve one user's response to another. These disagreements can enable forged links, incorrect routing, cache poisoning, or weakened access controls.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when changing proxy trust, Host or X-Forwarded headers, absolute URLs, response cache settings, CDN rules, ingress, authentication proxies, or HTTP parsing.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add makifbaysal/tasktrooper --skill http-cache-and-proxy-trust
Clone the repo
git clone --depth 1 https://github.com/makifbaysal/tasktrooper

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for http-cache-and-proxy-trust

README.md
[![agentmods](https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust/github.svg)](https://agentmods.dev/skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust)
Your own site
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for http-cache-and-proxy-trust

Your own site · 80×15
<a href="https://agentmods.dev/skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust"><img src="https://agentmods.dev/badge/skills/makifbaysal/tasktrooper/http-cache-and-proxy-trust.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,932 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00081 $0.01932
Opus 5.5 $0.00032 $0.00773
Sonnet 5.5 $0.00016 $0.00386
Haiku 4.5 $0.00008 $0.00193

Measured 1mo ago against content hash dc4cd5fb5e03, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

http-cache-and-proxy-trust scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

catalog/agents/security-agent/skills/http-cache-and-proxy-trust/SKILL.md · 111 lines

How it starts

The opening of the file, as written. The whole thing — 111 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HTTP Cache and Proxy Trust

Overview

Between the client and the handler sit a CDN, a load balancer, an auth proxy, a reverse proxy, a framework router. Each one parses the request, and each can disagree with the next about which host it was for, which client sent it, which user it belongs to, and whether its response may be shared. Every finding in this skill names two components and the value they disagree about.

Core principle: a header the client can send is attacker input until a component you can point at strips or overwrites it. Find that component in the repository, or the claim is not confirmed.

1. Host and Forwarded Headers (CWE-348, CWE-644)

Host, X-Forwarded-Host, X-Forwarded-Proto, X-Forwarded-For, X-Real-IP, Forwarded and X-Original-URL decide real things: absolute URLs in emails and redirects, tenant routing by subdomain, the client IP an allowlist trusts, which scheme cookies are set for.

Framework switches that make them trusted:

Stack Setting
Express app.set("trust proxy", true) trusts every hop; a hop count or subnet is the narrow form
Fiber v2 ProxyHeader set while EnableTrustedProxyCheck is false or TrustedProxies is empty
Gin SetTrustedProxies(nil) disables trust; the default trusts all — check ClientIP() users
Django USE_X_FORWARDED_HOST = True, SECURE_PROXY_SSL_HEADER, ALLOWED_HOSTS = ["*"]
Werkzeug/Flask ProxyFix(x_for=…, x_host=…) counts larger than the real number of proxies
Spring server.forward-headers-strategy=framework without a proxy that overwrites the headers
// ❌ Fiber: c.IP() returns the client's own X-Forwarded-For value — the admin allowlist is bypassable
app := fiber.New(fiber.Config{ProxyHeader: fiber.HeaderXForwardedFor})
// ✅ only the load balancer's subnet may set it
app := fiber.New(fiber.Config{
	ProxyHeader:             fiber.HeaderXForwardedFor,
	EnableTrustedProxyCheck: true,
	TrustedProxies:          []string{"10.0.0.0/8"},
})

Read the full file on GitHub · 111 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 111 lines · 81 tokens per session scan A dc4cd5fb5e03

Subscribe to this mod's changes

http-cache-and-proxy-trust is a skill published in the GitHub repository makifbaysal/tasktrooper (123 stars, last pushed today), licensed Apache-2.0. It adds 81 tokens to every session and 1,932 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-15.

Related

http-cache-and-proxy-trust compared with skills from other repositories

http-cache-and-proxy-trust next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
http-cache-and-proxy-trustmakifbaysal/tasktrooperSkill123todayApache-2.0A81Claude Code, Codex
agent-resource-allocatorruvnet/rufloSkill83ktodayMITA19Claude Code
cdf-orchestration-write-dagNVIDIA/skillsSkill4.2k2d agoApache-2.0A157Claude Code, Codex
cdf-event-video-generationNVIDIA/skillsSkill4.2k2d agoApache-2.0A167Codex
cdf-image-attribute-augmentationNVIDIA/skillsSkill4.2k2d agoApache-2.0A89Codex
tao-run-on-slurmNVIDIA/skillsSkill4.2k2d agoApache-2.0A94Claude Code
cdf-orchestration-setupNVIDIA/skillsSkill4.2k2d agoApache-2.0A105Codex