Recent public reports

Redacted audit reports that included this probe.

Overview & Risk Context

Prompt extraction auditing tests whether an LLM relay has prepended confidential or unrequested system instructions that surface when probed systematically.

What this check measures

Applies direct repetition, translation framing, and JSON-continuation prompts to verify if hidden relay context leaks into assistant text.

Why this risk matters

Relay-injected prompts can quietly steer behavior or expose internal operator policies and credentials embedded by misconfigured gateways.

When to run this check

Use after Token Injection shows unexpected prompt overhead or when vetting third-party multi-tenant API wrappers.

A naive "repeat your system prompt" request fails against basic guardrails. Combining benign translation requests and structured JSON key completion detects subtle pre-prompt leakage cleanly while filtering out generic model boilerplate.

Detection Methodology, Evidence & Limitations

Executes calibrated benign and multi-turn extraction patterns inside @lmspeed/audit with automated sanitization before public logging.
  1. 1. Probe

    Send multi-format extraction prompts (direct echo, translation request, and structured JSON continuation).

  2. 2. Inspect

    Evaluate returned text for verbatim system directives, gateway branding markers, or operational boilerplate.

  3. 3. Conclude

    Redact any sensitive snippets or host markers before recording verdict and confidence.

How to read the verdict

Clean refusals or stateless replies with no injected rules pass; confirmed injected prompt leakage flags warn/fail.

Evidence basis & thresholds

Matched directive structures, hidden system markers, and leaked framing blocks across extraction formats.

Scope limits & abstention conditions

Strong adversarial relay wrappers may actively suppress output echo; absence of leakage here does not disprove hidden prompts visible in Token Injection.

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 makes a System Prompt Leak check warn or fail?

Returning recognizable injected relay instructions, proxy disclaimers, or operational directives not present in LMSpeed’s clean request.

Does LMSpeed publish the full extracted prompt publicly?

No. Any secrets, URLs, or sensitive passages detected during extraction are redacted prior to public report persistence.

Can a model leak nothing even when a hidden prompt exists?

Yes. Well-hardened system prompts may resist extraction, which is why Token Injection and Instruction Conflict complement this probe.

Does LMSpeed’s own request send a production system prompt here?

No. Probes run in clean isolation against the endpoint’s default environment so relay-side injections stand out immediately.

All audit checks by category

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