
What happened
Sunglasses, a free open-source tool, launched to filter malicious content before it reaches AI agents. It scans text, images, audio, video, PDFs, and QR codes for 69 types of attacks across 23 languages — catching prompt injection, credential theft, command injection, and social engineering — and runs entirely locally in the browser or on your machine with zero cloud calls or API keys.
Why it matters
Most AI agent attacks hide inside normal-looking content (emails, web pages, images) rather than announcing themselves. Sunglasses strips hidden malicious instructions while letting legitimate content through, protecting agents from being hijacked without requiring cloud services or paid third-party tools. It achieves 97.4% recall (catching 37 of 38 known attacks in testing) with a 78.7% precision and zero false positives on clean code.
What to watch
A browser demo is live at sunglasses.dev/scan (no installation needed). The tool is available as a Python package (pip install sunglasses) and integrates with LangChain, CrewAI, and agent frameworks via an MCP server. Planned features include a drag-and-drop web UI, URL scanning, and output scanning (monitoring what agents say back).
Summaries like this, in your inbox every morning.
AI agents are vulnerable to attacks that do not announce themselves: malicious instructions hidden inside ordinary emails, web pages, images, and documents. Traditional security focuses on authentication (OAuth, cookies, tokens) and behavior monitoring, leaving a gap in input validation—the moment before an agent sees content. Sunglasses fills that gap with a local-only, offline defense layer that does not require machine learning or cloud infrastructure. Its design philosophy is practical: it ships 1,106 patterns and 7,648 keywords across 69 attack categories, backed by 17 normalization techniques to catch evasion (Unicode confusables, leetspeak, Base64 encoding), and a "mechanism layer" that catches the structure of attacks (e.g., something sensitive + a place to exfiltrate it) so paraphrased variants still trigger.
The tool is positioned explicitly alongside existing solutions like Lakera Guard, LLM Guard, NVIDIA NeMo Guardrails, and Azure Prompt Shields. Rather than compete on ML-based detection of novel attacks, Sunglasses emphasizes local execution, zero cost, and compatibility—users can run it alone or layer it with cloud tools via an adapter system. Testing reveals a measured, honest stance on limitations: 97.4% recall on a labeled dataset of 38 real attacks plus 73 open-source READMEs as clean negatives, with 0 false positives in v0.3.1, but a known gap: the string "curl … | bash" appears legitimately in five popular README files and maliciously in attack patterns, so flagging it would add 5 false positives to catch 1 attack—a tradeoff the authors acknowledge should belong to runtime control, not text scanning.
Pick your industry and the AI tools you use, and get news related to your work every day.
Free · 30 seconds with Google · unsubscribe anytimeWhat is AIToday? →
Ask AI anything about this article. The AI reads this article, earlier AIToday articles, and Wikipedia, and cites its sources. Q&As are published on this page for other readers too.
Cammarata reinterprets InceptionV1's cat-car neuron as a V-shape detector, not two unrelated concepts

Google Deepmind's Gemini 4 Argon scored 97.5 percent on ARC-AGI-3 at a cost of $4,800, second only to GPT-6 As…

Microsoft's Surface Laptop Ultra, using Nvidia's RTX Spark platform, starts at $2,599 (up to $5,899)

Meta's new commercial terms, effective October 30th, appear to let it crawl and train AI on content from websi…

Vercel data published Thursday shows TypeSafe AI's Jev, a lightweight decision model for choosing among predet…

Reflection AI introduced Beam, an open-weight model for agentic coding and long-horizon tasks, with 501 billio…
