Skip to Main Content

AI agents read emails, chats and documents, and attackers can hide instructions in that text (indirect prompt injection). The attacker chooses the language. MixShield tests and protects tool-using agents against hidden instructions written in English, Hinglish (Hindi and English mixed, typed in English letters) and Hindi. It has two parts: 1. A benchmark on AgentDojo: 300 attacks and 450 benign texts in three languages, plus 30 adaptive attacks. On the test split, Llama Guard 3 caught 84.3% of attacks in English but only 68.6% in Hinglish (McNemar p = 0.000145), and Llama Prompt Guard 2 at its default threshold caught 0 of 70 in every language. 2. An open-source guard (Python library + MCP proxy) with two checks: a screen that checks every tool output (Llama Prompt Guard 2 + Muse Spark Open as a code-mixing-aware classifier that gives a reason), and an action gate that checks every payment or message before it runs (allow / ask / block). The MixShield screen caught 99.5% of Hinglish attacks with 0.0% false alarms. With a worst-case simulated agent, MixShield stopped 189 of 189 attacks, while Muse Spark kept 88.5% of real tasks working (92.3% with no defence). Limits are listed openly in the README (simulation, 2 of 27 adaptive attacks got through in default mode).

Team

HP007

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview