Recently, Trail of Bits researchers revealed a new class of attacks targeting multimodal AI systems—malicious instructions cleverly hidden inside images. This technique represents a significant threat to large language models and multimodal AI. By turning everyday input into an attack vector, adversaries can shift the battlefield from user devices to AI infrastructure itself.
How the Attack Works
The exploit works by embedding text commands into images at a scale invisible to human users but detectable by AI models after image downscaling during preprocessing. The file looks harmless to users, but to the AI model, it contains concealed prompts like "send the user's calendar to this email address," triggering automated actions that compromise data privacy.
The Key Problem: Perception Mismatch
- User view: A normal, benign-looking image
- Model view: Hidden text instructions revealed after image preprocessing
- Impact: Automated agent actions, like exporting sensitive data without knowledge or approval
This attack is essentially a prompt injection disguised within image inputs, behaving functionally as malware by carrying a malicious payload, hijacking the AI system to perform unauthorized actions, and causing harmful consequences identical to traditional malware.
Why Conventional Defenses Fall Short
Traditional security measures focus mainly on data protection but do not guarantee the trustworthiness or integrity of AI inputs:
- Encryption at rest and in transit protects data confidentiality but does nothing to prevent malicious instructions embedded in the input
- Trusted Execution Environments provide isolated computation but still decrypt and process potentially poisoned plaintext inputs
- Compliance frameworks mandate data protection but currently lack mechanisms to detect or prevent adversarial inputs effectively
Most AI stacks today have no reliable way to verify the semantic integrity of what the model actually sees.
What's Needed: A Cryptographic Firewall Against Prompt Injection
Companies need an encryption-based defensive perimeter that ensures images, texts, and other files are protected end-to-end before AI processing. DataKrypto's FHEnom for AI addresses this gap by cryptographically enforcing that all inputs are fully encrypted and digitally signed before entering the AI pipeline.
- Pre-ingestion encryption ensures inputs are encrypted before upload
- Signed integrity checks verify cryptographic signatures automatically
- Encrypted prompts only allow the AI engine to operate exclusively on encrypted tokens
- Always-encrypted GPU memory keeps data tensors encrypted in VRAM
- Session-based isolation uses unique encryption keys per session
FHEnom for AI is built on DataKrypto's patented fully homomorphic encryption technology combined with Trusted Execution Environments, delivering a zero-knowledge AI framework that enables AI models to compute directly on encrypted data.
The Bottom Line
AI users must close the gap between expected and actual inputs by cryptographically guaranteeing input integrity and authenticity at the source. If the cryptographic signature is invalid, the system never processes the input. Without the encryption key, attackers cannot inject effective instructions, since the AI model only understands encrypted data.