MITRE ATLAS 2026.10 · AML.T0069 · Moderate severity
Discover LLM System Information
Adversaries probe an LLM application to map its hidden configuration, model identity, safety classifier thresholds, delimiter tokens, internal routing rules, and system prompt boundaries prior to launching targeted injection or extraction attacks.
Technique dossier overview
- Category
- Infrastructure and access
- Severity
- Moderate
- Attack surface
- LLM / Prompt Layer · Inference API & Hosting
- Framework maturity
- Demonstrated
- Platforms
- Generative AI, Agentic AI
- Tactics
- Discovery
- Catalog entry modified
How the mechanism works
- The actor sends diagnostic prompts designed to trigger edge-case errors, delimiter leaks, or verbose architectural self-descriptions.
- Model responses, latency patterns, and refusal wording expose underlying model family, context window limits, and wrapper structure.
- Revealed formatting tokens and policy rules are used to craft precision prompt injections or jailbreaks.
Detection & telemetry signals
- Queries probing for developer delimiters, model version strings, tool list schemas, or exact word-by-word prompt repetition.
- Repeated boundary errors or parser exceptions triggered by special control tokens or malformed message envelopes.
- Cross-turn probes systematically comparing assistant refusal wording or latency differences across model routing tiers.
Architectural defensive countermeasures
- Keep credentials, internal hostnames, private endpoints, and access-control logic completely outside system prompts and model context.
- Strip model-specific chat-template control tokens and sanitize delimiter strings from untrusted user and retrieved inputs.
- Return generic, non-diagnostic error messages when input validation or safety guardrails reject a request.
- Monitor systematic discovery probing and apply per-session throttling when introspection patterns repeat.
Framework crosswalk (OWASP LLM Top 10 & NIST AI RMF)
- OWASP LLM Top 10 (2025)
- OWASP rationale
- Probing internal instructions and delimiters directly targets System Prompt Leakage (LLM07) to inform follow-on Prompt Injection (LLM01).
- NIST AI RMF functions
- NIST AI RMF guidance
- MAP all configuration metadata accessible inside the prompt window, and MANAGE exposure by enforcing zero-secrets-in-prompts and stripping raw control tokens at ingress.
Mapped defensive controls
- Limit Public Release of Information AML.M0000
Minimize public exposure of model architectures, system prompts, internal endpoints, RAG schemas, and error traces that accelerate adversary reconnaissance while keeping safety disclosure transparent.
- Control Access to AI Models and Data at Rest AML.M0005
Lock down stored model weights, LoRA adapters, training corpora, vector indexes, and backups with strict least-privilege IAM, private networking, and zero public bucket ACLs.
- Control Access to AI Models and Data in Production AML.M0019
Enforce deterministic runtime authentication, tenant isolation, and per-document RAG authorization outside the LLM context window for every inference and retrieval request.
- Generative AI Guardrails AML.M0020
Deploy layered input and output classifiers, constitutional/topic rails, and structural validators with measured benign over-refusal rates—never relying on classifiers as the sole authorization boundary.
Test with Refract
Refract is Silvauren's Apache-2.0 defensive LLM evaluation harness. Its 2x2 Detect-vs-Complete matrix crosses whether a detector flagged each probe with whether the model complied, so silent breaches are counted with Wilson 95% confidence intervals. Replace <model-id> with an OpenRouter route ID; each model page lists a ready-to-run command for its own route.
refract scan \
--target "openai_compat:<model-id>" \
--base-url https://openrouter.ai/api/v1 \
--api-key "$OPENROUTER_API_KEY" \
--battery system_prompt_extraction
refract reportsystem_prompt_extractiondirect, translated, serialized, and diagnostic system-prompt extraction
Export OPENROUTER_API_KEY first. Passing --api-key keeps Refract from using an unrelated OPENAI_API_KEY, which it would otherwise read first. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.
Related technique records
Documented incidents & exercises (4)
- MasterKey Time-Based Chatbot Defense Reverse-Engineering Study OBS.EX0019 · Exercise · Jul 16, 2023 · ChatGPT, Bard & Bing Chat · Timing Side-Channel Probing & Automated Generation
Deng et al. (2023) adapted time-based inference probing inspired by SQL injection timing analysis to infer undocumented content moderation mechanisms deployed behind ChatGPT, Bard, and Bing Chat. Using insights into keyword and semantic filtering stages, the authors fine-tuned…
- Language Model Inversion from Next-Token Probability Distributions OBS.EX0091 · Exercise · Nov 22, 2023 · Llama-2 7B · Hidden Prompt Reconstruction from Output Logits
Morris et al. (2023/ICLR 2024) studied language model inversion, testing whether next-token probability distributions allow reconstruction of hidden preceding prompt tokens even without full vocabulary probability access. Evaluated on Llama-2 7B, the inversion model…
- Systematic Measurement of System Prompt Extraction Across 11 LLMs OBS.EX0104 · Exercise · Jul 13, 2023 · 11 Open & Commercial LLMs (incl. ChatGPT & Claude 3) · 3 Prompt Corpora
Zhang, Carlini, and Ippolito (2023) established a precision evaluation framework distinguishing true system-prompt leakage from model hallucination across three prompt datasets and 11 LLMs, including production ChatGPT and Claude 3 endpoints. Simple natural-language extraction…
- PLeak Incremental Query Optimization for System Prompt Extraction OBS.EX0105 · Exercise · May 10, 2024 · Offline LLMs & Live Poe Platform Applications · Closed-Box Prompt Leaking
Hui et al. (ACM CCS 2024) evaluated PLeak, a closed-box prompt-leaking optimization framework that incrementally reconstructs hidden application system prompts token by token rather than relying on static manual override templates. Evaluated offline and against live third-party…
Source citation records
Common questions
- What is Discover LLM System Information (AML.T0069)?
- Adversaries probe an LLM application to map its hidden configuration, model identity, safety classifier thresholds, delimiter tokens, internal routing rules, and system prompt boundaries prior to launching targeted injection or extraction attacks.
- How do you mitigate Discover LLM System Information?
- MITRE ATLAS maps 4 mitigations to AML.T0069: Limit Public Release of Information, Control Access to AI Models and Data at Rest, Control Access to AI Models and Data in Production, and Generative AI Guardrails. Keep credentials, internal hostnames, private endpoints, and access-control logic completely outside system prompts and model context.
- How can I test a model for Discover LLM System Information?
- Run the Refract
system_prompt_extractionpack:refract scan --target "openai_compat:<model-id>" --base-url https://openrouter.ai/api/v1 --api-key "$OPENROUTER_API_KEY" --battery system_prompt_extraction, then refract report. Scans send real requests billed to your key. Add --max-probes or --budget-tokens to cap spend, and only scan endpoints you are authorized to test.