Show HN: Injectguard – offline prompt-injection scanner for text AI agents read A developer released Injectguard, an offline prompt-injection detector and sanitizer for text that AI agents read, distributed as a Rust library, CLI and agent hook via crates.io and GitHub. Injectguard ships 65+ detection rules covering directives addressed to an AI, role hijacking, jailbreak phrasing, prompt leaking, fake tool/chat tags and secret-exfiltration requests, with directive rules in 10 languages (EN, TR, DE, ES, FR, PT, IT, RU, ZH, JA), and processes 5 MB in under a second with three dependencies (regex, serde, serde_json). The author states detection is heuristic and advises using it as a tripwire alongside least privilege and human confirmation for risky actions. Catch prompt injections before your AI agent reads them. A fast, offline prompt-injection detector and sanitizer for untrusted text: web pages, e-mails, issues, files and tool output. Rust library + CLI + agent hook. AI agents read text they did not write, and any of it can carry orders for the model: