Skip to main content
Glama

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.

Related MCP server: shipsafe-mcp

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

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      C
      maintenance
      Enables AI coding assistants to scan projects for security issues such as leaked API keys, missing Supabase RLS, open Firebase rules, unauthenticated routes, and hallucinated packages, then fix and verify the results.
      8
      1
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables AI editors such as Cursor, Claude Code, Windsurf and VS Code to scan a project for common AI-introduced security mistakes — leaked keys, open Supabase/Firebase data, missing auth, unverified Stripe webhooks, SQL injection and more — and return findings with exact fix instructions. It also provides a guided prompt that walks an agent through fixing critical issues one by one and verifying each fix by re-scanning, without ever editing files or rotating keys itself.
      2
      MIT
    • A
      license
      A
      quality
      B
      maintenance
      Enables AI assistants to scan env files and entire projects for hard-coded secrets such as API keys, tokens, and private keys, returning only sanitized reports with line numbers, secret types, and variable names. Secret values never enter the model's context, and all access is read-only and confined to the project root.
      2
      MIT