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

Encoding-Smuggled Payloads (base64, rot13, morse, zero-width)

Direct & Prompt · L1 · perimeter

Payloads encoded in base64, rot13, morse, or zero-width Unicode defeat string filters entirely, and the model decodes them fluently. Every new encoding is a fresh bypass lane that brochure-level guardrails never tested.

01Control Architecture

How it is defended

Decode-then-filter: the pipeline normalizes and decodes before matching, and an encoding-bypass battery in the catalog re-tests every supported encoding monthly. New encoding = new test row, same day.

02Why It Breaks Naive Defenses

Payloads encoded in base64, rot13, morse, or zero-width Unicode defeat string filters entirely, and the model decodes them fluently. Every new encoding is a fresh bypass lane that brochure-level guardrails never tested. Decode-then-filter: the pipeline normalizes and decodes before matching, and an encoding-bypass battery in the catalog re-tests every supported encoding monthly. New encoding = new test row, same day.

👤 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

What is decode-then-filter and why does it matter?

The detector decodes any detected encoding layer before pattern matching, so an encoded 'ignore all previous instructions' is caught exactly like the plaintext version. It turns every encoding from a bypass into a no-op.

How do you defend against encoding-smuggled payloads (base64, rot13, morse, zero-width)?

Decode-then-filter: the pipeline normalizes and decodes before matching, and an encoding-bypass battery in the catalog re-tests every supported encoding monthly. New encoding = new test row, same day.

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