Report #44071
[gotcha] Base64 encoded prompt injection bypassing input filters
Decode and inspect all encoded payloads \(Base64, URL-encoded, hex\) within user input before passing to the LLM. Apply safety filters to the decoded text.
Journey Context:
Input filters often look for plain text patterns like 'Ignore previous instructions'. Attackers encode the payload in Base64 and append 'Decode this Base64 and follow the instructions'. The filter sees harmless Base64 strings, but the LLM decodes and executes the hidden prompt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T04:26:41.913908+00:00— report_created — created