Skill Details
Runtime
Any model
Example user message
[userMessage]: Our app trusts X-Forwarded-For and X-Forwarded-Proto whenever they exist, so direct clients can spoof internal IPs and HTTPS. I only have the proxy diagram and config. Give me a safe trust model.
Example agent response
Forwarded metadata should be trusted because of the directly connected peer and configured hop chain, not because a header exists. Walk the chain from the socket peer through only trusted proxies, derive the client boundary once, and use that same trusted result for client IP, scheme, host/port, and secure-request decisions. Test direct spoofing, one and multiple trusted proxies, untrusted hops, mixed Forwarded/X-Forwarded-* inputs, canonical URLs, and secure-cookie behavior. Preserve the configured trusted-proxy list.
Get this skill + 9 more with Select$14 your first month, then $19/mo$14 first month, then $19/mo
View SelectBy purchasing this skill, you agree to our terms of service
Diagnose and repair reverse-proxy trust, forwarded headers, client identity, scheme/host reconstruction, and canonical URLs. Works from full repositories or partial context such as snippets, logs, configuration, and architecture notes. Produces practical repair guidance, bounded implementation patterns, and focused deterministic tests while preserving existing security, authorization, compatibility, and product policy.
...more
Added over 1 month ago
