sunglasses-dev/sunglasses

Open source input firewall for AI agents, beta. A local scanner checks text, code, PDFs, images, QR codes, audio and video with 1,569 patterns across 117 categories and reports findings and incomplete scans. A Claude Code hook blocks secret material in tool calls and the paths and hosts your policy lists before tools run.

This repository also configures its own agents. See what sunglasses tells them →

10Stars on the repository
4Mods indexed here, across every type
todayLast push, which is what freshness is scored on
MITLicence, which decides whether bodies are shown

sunglasses

01

sunglasses-dev/sunglasses

Plugin Claude Code

Bundles 1 MCP server

Local input firewall for AI agents. Scans text and files before an agent reads them. Needs pip install sunglasses first, on Python 3.9 or newer.

not rated 10 +1 today A tokens not measured original MIT