APEX 100 · AI-Driven Cybersecurity · #007 · Direct & Prompt — L1 · perimeter

Few-Shot and Many-Shot Dilution Attacks

Direct & Prompt · L1 · perimeter

Filling context with dozens of compliant examples dilutes the policy until the model imitates the pattern. The examples look like helpful demonstrations; together they are a jailbreak.

01Control Architecture

How it is defended

Example-budget gating: user-supplied demonstrations in context are capped and scored. Many-shot imitation patterns get labeled and routed to the stricter path.

02Why It Breaks Naive Defenses

Filling context with dozens of compliant examples dilutes the policy until the model imitates the pattern. The examples look like helpful demonstrations; together they are a jailbreak. Example-budget gating: user-supplied demonstrations in context are capped and scored. Many-shot imitation patterns get labeled and routed to the stricter path.

👤 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

Why do many-shot examples cause jailbreaks?

Models imitate the dominant pattern in context. Fifty examples of 'here's how' outweigh one policy line. Budgeting and labeling breaks the imitation lane.

How do you defend against few-shot and many-shot dilution attacks?

Example-budget gating: user-supplied demonstrations in context are capped and scored. Many-shot imitation patterns get labeled and routed to the stricter path.

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