Repository avatar
Other Tools
v1.1.0
active

agent-safety-lite

com.tidybytetools/agent-safety-lite

Free 12-check scan of a Claude Code or Cursor setup for leaked keys and risky settings.

Documentation

Agent Safety Lite (free)

License: MIT Tests

A 12-check, read-only scan of a Claude Code or Cursor repo. It looks for leaked secrets, "ignore previous instructions" text, Bash(*), bypassPermissions, and hooks that pipe curl to a shell. It never prints secret values.

This is the free sample. The paid kit runs 29 checks, asks 10 manual questions, and includes templates, a slash command and a plugin: https://tidybyte.gumroad.com/l/agent-safety-kit

Run it

python3 skills/agent-safety-lite/scripts/agent_safety_scan.py tests/fixtures/clean
python3 skills/agent-safety-lite/scripts/agent_safety_scan.py tests/fixtures/dirty
python3 skills/agent-safety-lite/scripts/agent_safety_scan.py /path/to/your/repo

Exit code 1 means NO-GO. Exit code 0 means GO or GO WITH RISKS.

Tests

python3 tests/test_scanner.py

Use it as an MCP server

Your AI app can call this tool for you. It runs on your computer, reads files only, and sends nothing anywhere.

One-click (Claude Desktop and other apps that open .mcpb files): download agent-safety-lite-1.1.0.mcpb from the latest release and open it. You need Python 3.8 or newer.

By hand: clone this repo and add this to your MCP settings (change the path):

{"mcpServers": {"agent-safety-lite": {"command": "python3", "args": ["/path/to/agent-safety-lite/mcp/server.py"]}}}

Tools it gives your AI app:

  • scan_agent_setup: Scan a project folder's agent setup with 12 checks. Read-only.

It is also listed in the official MCP Registry as com.tidybytetools/agent-safety-lite.

What the paid kit adds

17 more checks (private keys, jailbreak phrasing, hidden comments, remote prompts, sandbox-off flags, deny-list gaps, hook URLs, unpinned MCP packages, long CLAUDE.md files, and more), 7 more manual questions, JSON and Markdown reports with --only, a permission baseline, a leaked-key plan, an MCP allowlist, a /safety-scan command, and a plugin folder.

Honest limits: this is a file scan, not a live test of the agent. Findings can be wrong. Rotate any key the scan finds.

Made by Tidy Byte Tools. https://tidybytetools.com

Install as an agent skill

npx skills add tidybytetools/agent-safety-lite

Then ask: "Run a safety scan on this repo."

Install as a Claude Code plugin

/plugin marketplace add tidybytetools/claude-plugins
/plugin install agent-safety-lite@tidybytetools
MCPB
https://github.com/tidybytetools/agent-safety-lite/releases/download/v1.1.0/agent-safety-lite-1.1.0.mcpb
Install Command
# mcpb: https://github.com/tidybytetools/agent-safety-lite/releases/download/v1.1.0/agent-safety-lite-1.1.0.mcpb