Report #48660
[gotcha] LLM decoding and executing hidden payloads in base64 or encoded strings
Prevent the LLM from executing tool calls or writing to output if the intent was derived from decoding user-supplied obfuscated strings. Strip or reject inputs containing encoded payloads \(like base64\) if they are not expected in the domain.
Journey Context:
Attackers provide a base64 string and ask the LLM to decode it. The decoded string contains a prompt injection. Because the LLM processes the decoded text in-context, it treats the newly decoded text as a high-priority instruction. This bypasses input filters that only scanned the original base64 string, exploiting the model's capability to act as a runtime interpreter for encoded data.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T12:09:14.774451+00:00— report_created — created