What this check measures
Examines returned HTTP error bodies and headers for upstream domain URLs, bearer tokens, internal filesystem paths, stack traces, and proxy config metadata.
Examines returned HTTP error bodies and headers for upstream domain URLs, bearer tokens, internal filesystem paths, stack traces, and proxy config metadata.
Following AC-2 in arXiv:2604.08407, verbose proxy errors leak real upstream provider keys, internal VPC addresses, and framework versions useful to attackers.
Run on self-hosted or commercial relays before opening public client access, shared keys, or error telemetry.
Relays often log raw exception objects or serialize full upstream HTTP failures directly back to the caller when an unknown model ID or invalid parameter arrives.
Submit benign malformed or non-existent parameter variants to elicit standard HTTP 4xx error payloads.
Scan error text and headers with AC-2 leak patterns (URLs, paths, API keys, tracebacks, headers).
Redact discovered secrets strictly before storing redacted evidence indicators in the audit report.
Clean normalized JSON error envelopes pass; exposed upstream hosts, credentials, or internal stack paths fail immediately.
Pattern matches on controlled error bodies against AC-2 leakage rules (arXiv:2604.08407), stored exclusively in redacted form.
Covers deterministic request-level validation errors only; transient 502/504 upstream crashes under production load may leak additional diagnostics.
Implemented in @lmspeed/audit v0.3.3 (ruleset independent-2026-11-22.2); supplementary capability/injection design cross-checked against Veridrop, LLMprobe-engine, and meow-llm-detector specs.