Report #80024
[gotcha] Base64 or ROT13 Encoded Prompts Bypassing Text Filters
Decode and inspect all encoded text \(Base64, URL-encoded, ROT13, hex\) within user inputs or retrieved documents before passing them to the LLM. Run content moderation on the decoded plaintext.
Journey Context:
Pre-injection filters often look for specific keywords like ignore previous instructions. Attackers bypass this by asking the LLM to decode a Base64 string and follow the resulting instructions. The filter sees a harmless Base64 string, but the LLM natively understands Base64 and executes the hidden payload. Decoding inputs adds processing overhead but is essential to inspect the actual semantic content being fed to the model.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T16:55:39.529704+00:00— report_created — created