Skip to main content
LLM Security Database
Skip to research details
Back to Vulnerability List
LMVD-ID: 58182aa1
Paper published June 17, 2026
Entry analyzed July 20, 2026
Severity: Not rated
Confidence: Source-linked

The LMVD-ID is an internal research identifier, not an official CVE identifier.

Black-Box System Prompt Leakage in Real-World LLM Applications

The paper reports a reproducible black-box evaluation showing that adversarial user queries can cause deployed LLM applications to reveal hidden system prompts. In the authors’ measurement of 1,200 applications across…

BibTeX citation

Paper-evaluated models(8)

Llama 2 7B Chat, Llama 3.1 8B Instruct, Mistral 7B Instruct v0.3 +5 more
  • Llama 2 7B Chat
  • Llama 3.1 8B Instruct
  • Mistral 7B Instruct v0.3
  • Qwen 3 4B Instruct 2507
  • Qwen 3 32B
  • Qwen 2.5 72B Instruct
  • Llama 3.3 70B Instruct
  • Qwen 3 30B-A3B Instruct-2507

Research context and confidence

Evidence and verification
Paper-reported; independent reproduction is not documented.
Primary source plus a dedicated evidence section.
Severity
Not rated by this catalog.
Source and publication type
arXiv · Research preprint.
Peer-review status is not provided by this source.
Author and publication status
Author metadata is not stored; see the primary paper.
Threat model and attacker access
Black-box model, service, or application access.
Related deployment categories
Model APIs
Taxonomy labels only; paper-specific deployment prerequisites are not inferred.
Affected systems
Public LLM applications with hidden system prompts exposed through user-facing chat or API interfaces GPT Store applications Poe applications Coze applications Tongyi Agent Platform applications Baidu AgentBuilder…

Research Paper

Understanding and Mitigating Prompt Leaking Attacks in Real-World LLM-Based Applications

Primary source: arXiv. Findings are reported by the cited research and have not been independently verified.

View Paper

Description

The paper reports a reproducible black-box evaluation showing that adversarial user queries can cause deployed LLM applications to reveal hidden system prompts. In the authors’ measurement of 1,200 applications across six commercial platforms, 1,064 applications leaked prompt content (81.0%–93.5% per anonymized platform). This is a paper-reported result, not independently verified here. LeakBench and the official artifact repository provide defensive benchmark materials for controlled testing; no operational payload is reproduced here.

Examples

See the primary source for the paper's evaluation and defensive reproduction context: https://arxiv.org/abs/2606.18673 (opens in a new tab)

Impact

Leaked prompts can expose proprietary task logic, tool/workflow parameters, private knowledge-base content, personal information, internal defense rules, and credentials. The paper reports knowledge-base exposure in 4.7% of leaked cases, workflow information in 5.1%, developer privacy data in 2.9%, access secrets in 1.6%, and sensitive internal instructions in 0.8%. Exposed credentials may enable resource abuse, while disclosed workflow and defense logic can facilitate follow-on attacks.

Affected Systems

  • Public LLM applications with hidden system prompts exposed through user-facing chat or API interfaces
  • GPT Store applications
  • Poe applications
  • Coze applications
  • Tongyi Agent Platform applications
  • Baidu AgentBuilder applications
  • Tencent Yuanqi applications
  • Prompt-centric assistants and agent-style applications with tools, workflows, or retrieval

Mitigation Steps

  • Do not place API keys, credentials, private endpoints, personal data, or private knowledge-base content directly in system prompts; keep secrets in server-side storage and inject only the minimum necessary capability.
  • Revoke and rotate any credential found in a leaked prompt; the paper reports a developer invalidated an exposed API key after disclosure.
  • Treat system prompts as potentially recoverable and enforce authorization, tool permissions, rate limits, and data-access controls outside the prompt.
  • Use output-side leakage detection and redaction as a defense-in-depth control, while testing its effect on legitimate application behavior.
  • Continuously run controlled prompt-leakage regression tests against representative benign and adversarial inputs, including multi-turn interactions, and manually review suspected leakage.
  • For self-hosted models where soft-prompt deployment is feasible, evaluate AREA or comparable attention re-anchoring defenses; the paper reports a better effectiveness–usability trade-off than evaluated baselines, but explicitly states AREA is not a complete security guarantee.
  • Do not rely solely on natural-language instructions forbidding disclosure; the paper reports these defenses were common yet offered limited protection.

Evidence