Report #77013
[gotcha] LLMs decode base64 or hex payloads and execute hidden instructions
Strip or reject standard encoding patterns \(like base64 blocks\) in untrusted inputs, or use a pre-processing LLM to decode and evaluate the semantic meaning of encoded text before passing it to the main agent.
Journey Context:
Developers assume that if a user input is base64 encoded, the LLM won't understand it. However, modern LLMs are excellent at decoding base64, rot13, and hex in-context. An attacker passes a seemingly random string, which the LLM decodes into a malicious instruction. Because the filter didn't decode it, the payload slipped through. The tradeoff is that some legitimate use cases involve encoded data, so strict rejection might break functionality.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T11:51:30.848588+00:00— report_created — created