Skip to Main Content

Your AI agent just read a shipping notification. Buried in the carrier note is an instruction to email your customer list to an attacker. The agent cannot tell data from instruction — and whole-document guards can't either: they block everything (agent blind) or pass everything (agent hijacked). SpanGuard is the third option: strip the attack, keep the data. An OpenAI-compatible security gateway: tool results, pages, MCP payloads and RAG chunks pass through before the agent reads them. Validated rules + a 135M multilingual span model + a family of sub-million char models find the injection spans and replace them with [stripped] markers — order IDs, totals, names and JSON structure survive untouched. v6 adds three measured layers: a split-conformal bound (over-stripping bounded by construction — 0.8% on 500 fresh adversarial docs), a task-conditioned gate (canonical AgentDojo attack escape 80.6% → 40.3% with the user's task given), and an agent-loop harness that scores outcomes, not vibes: utility 100% with hijack 1.3% — the best combination of four systems. A semantic judge (an LLM reading the cleaned output) audited the rules: 30/30 verbatim-stripped, 0/30 semantic escapes. Everything is open: 7 languages, every weight on Hugging Face, every run record committed and re-verifiable, honest costs published next to every win. CPU-only, ~21 ms per document, no LLM call in the guard path.

Team

navi12

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