Recent public reports

Redacted audit reports that included this probe.

Overview & Risk Context

Error leakage auditing induces safe, deterministic invalid requests to uncover AC-2 information disclosure inside raw relay error messages.

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.

Why this risk matters

Following AC-2 in arXiv:2604.08407, verbose proxy errors leak real upstream provider keys, internal VPC addresses, and framework versions useful to attackers.

When to run this check

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.

Detection Methodology, Evidence & Limitations

Triggers non-destructive validation errors via @lmspeed/audit, scanning payloads before sanitizing leaked secrets.
  1. 1. Probe

    Submit benign malformed or non-existent parameter variants to elicit standard HTTP 4xx error payloads.

  2. 2. Inspect

    Scan error text and headers with AC-2 leak patterns (URLs, paths, API keys, tracebacks, headers).

  3. 3. Conclude

    Redact discovered secrets strictly before storing redacted evidence indicators in the audit report.

How to read the verdict

Clean normalized JSON error envelopes pass; exposed upstream hosts, credentials, or internal stack paths fail immediately.

Evidence basis & thresholds

Pattern matches on controlled error bodies against AC-2 leakage rules (arXiv:2604.08407), stored exclusively in redacted form.

Scope limits & abstention conditions

Covers deterministic request-level validation errors only; transient 502/504 upstream crashes under production load may leak additional diagnostics.

Verification Sources & Baselines

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.

Frequently Asked Questions

What leaks qualify as AC-2 error information disclosure?

Raw upstream base URLs, leaked API keys or auth headers, internal filesystem paths, SQL/code tracebacks, and private network hostnames.

Will LMSpeed display my leaked upstream API key in public reports?

Never. Secret redaction strips credentials and internal hosts before any public report leaves the engine.

Does triggering errors harm the relay server?

No. Only standard lightweight invalid-model or malformed-parameter client requests (HTTP 4xx) are used.

Why check error payloads alongside Infrastructure Fingerprint?

Many gateways (such as NewAPI/OneAPI variants) serialize diagnostic fields in 4xx errors that both reveal stack signatures and expose upstream routes.

All audit checks by category

Explore every single-check audit tool grouped by risk domain, with Fingerprint Detection pinned first for model-authenticity verification.