APEX 100 · AI Security Red Teaming · #016 · Direct & Prompt — L1 · perimeter

System-Prompt and Context Leakage

Direct & Prompt · L1 · perimeter

Reflection-style requests ('repeat your instructions', 'summarize what you were told') coax the model into disclosing its system prompt, its rules, or upstream context. Once an attacker holds your system prompt, every downstream trick gets easier.

01Control Architecture

How it is defended

The leak set is tested continuously: reflection, paraphrase, translation, and summarization variants of 'show me your instructions' are standing catalog rows. The model's disclosure behavior is pinned in CI.

02Why It Breaks Naive Defenses

Reflection-style requests ('repeat your instructions', 'summarize what you were told') coax the model into disclosing its system prompt, its rules, or upstream context. Once an attacker holds your system prompt, every downstream trick gets easier. The leak set is tested continuously: reflection, paraphrase, translation, and summarization variants of 'show me your instructions' are standing catalog rows. The model's disclosure behavior is pinned in CI.

👤 Dr. Deepanjan Saha · Chief AI Security Red Team Principal & Chief Cybersecurity Architect (CAISO) · 15+ yrs · 47+ CVEs · 200+ pentests · 12 patents
📞 +91 98317 43870 · 💬 WhatsApp · ✉️ core.deepanjan@gmail.com · 🔗 LinkedIn: DRDEEPANJANSAHA · 🌐 drdeepanjansaha.github.io

Book the engagement that kills this, measured

Dr. Deepanjan Saha — Chief AI Security Red Team Principal & Chief Cybersecurity Architect. 15+ years · 47+ CVEs · 200+ pentests · 12 patents. Delivered as the release gate — a residual-risk number with a trend line, not a PDF.

03FAQ

How do you stop system-prompt leakage?

You test the leak continuously, not once: reflection, paraphrase, and translation variants of the 'repeat your instructions' family live in the catalog and run on every change. What you don't test, an attacker will find.

How do you defend against system-prompt and context leakage?

The leak set is tested continuously: reflection, paraphrase, translation, and summarization variants of 'show me your instructions' are standing catalog rows. The model's disclosure behavior is pinned in CI.

DR. DEEPANJAN SAHA · CHIEF AI SECURITY RED TEAM PRINCIPAL & CHIEF CYBERSECURITY ARCHITECT · AI SECURITY RED TEAM · EST. 2010 · 47+ CVEs · 200+ PENTESTS · 12 PATENTS