Agent Security banner
mintmcp mintmcp

Agent Security

Security community

Description

Hooks for Claude Code and Cursor for secrets scanning

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

Text changing depending on mode. Light: 'So light!' Dark: 'So dark!'

[![PyPI version](https://badge.fury.io/py/claude-secret-scan.svg)](https://badge.fury.io/py/claude-secret-scan) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Dependencies](https://img.shields.io/badge/dependencies-zero-success.svg)]() [![CI](https://github.com/mintmcp/agent-security/workflows/CI/badge.svg)](https://github.com/mintmcp/agent-security/actions) [![Downloads](https://pepy.tech/badge/claude-secret-scan)](https://pepy.tech/project/claude-secret-scan)

Security plugins for Claude Code and Cursor

This repository currently provides a secrets scanner plugin.

Motivation

Coding agents are powerful, but we've repeatedly seen them read and propagate sensitive data during everyday work. That can be acceptable for casual "vibe coding" experiments, but it's not acceptable for production software engineering. We built this to make accidental leakage much harder: a standalone, local-first scanner with minimal footprint (no external dependencies, regex-only), running as editor/agent hooks entirely on your machine, and easy to set up so teams can adopt it without friction.

![Claude Secret Scan demo](assets/Claude-Secret-Scan.gif)

Install

Claude Code Plugin Marketplace

Install via the [Claude Code plugin marketplace](https://www.anthropic.com/news/claude-code-plugins):

/plugin marketplace add mintmcp/agent-security
/plugin install secrets-scanner@agent-security

PyPI (manual hooks)

pipx install claude-secret-scan
# or
python3 -m pip install --user claude-secret-scan

Add hooks to `~/.claude/settings.json` if using PyPI: