Llama-Doorman-22M
Oct 2026
An on-device prompt-injection classifier (22M parameters, ONNX int8) that tells an instruction aimed at an AI agent apart from text that merely mentions an attack. It catches 79% of attacks that rule-based checks miss at a 0.4% false-alarm rate, against 38% for the best frontier model, in about 0.24 s per check on a laptop CPU. It powers Doorman, an open-source (Apache-2.0) local app and CLI that watches what AI coding agents read and run, and holds risky steps for an engineer's approval.
Model on Hugging Face · Doorman on GitHub · How it was trained