Search the Atlas

Search risks, controls, and glossary terms

HighSystem Prompt LeakageDemonstrated

System-prompt leakage

Security & Robustness

Description

The model discloses its system prompt, revealing instructions, secrets, or guardrail logic that enable further attacks.

Example scenario

An attacker extracts the system prompt and learns exactly how to bypass the bank's controls.

Real-world evidenceDemonstrated

Tramèr et al. (2016) formally demonstrated model extraction against production ML APIs (BigML, Amazon ML) by querying to reconstruct functionally equivalent models. No confirmed large-scale theft of a BFSI production model has been publicly documented, keeping this at Demonstrated rather than Realized.

Primary mitigations

  • No secrets in prompts
  • prompt-leak resistant design
  • output filters for prompt content
  • secrets in vault not prompt.

Detection signals

Prompt-extraction testing; system-content-in-output detection.

Mitigating controls

3
Non-agentic controls

Related risks in Security & Robustness