PlugMyPlugin
← Browse

pat-scanner

tokenhunt ★ 0

PAT Scanner is a Claude Code UserPromptSubmit hook that blocks 13 classes of credential patterns (Figma, Anthropic, OpenAI, GitHub, Slack, Stripe, PyPI, Z.ai, JWT, Natural, AWS) before they enter the chat transcript. It runs POSIX ERE regex matches at chat-time as a companion defense to git-time scanners like gitleaks, with customizable patterns, audit logging, and a bypass keyword for debugging.

Security DevOps No API key detected runs shell

Install

> /plugin marketplace add tokenhunt/pat-scanner
> /plugin install pat-scanner

Source: https://github.com/tokenhunt/pat-scanner

What it's made of

1 hook

Commands
0
Agents
0
Skills
0
MCP servers
0
Hooks
1 · UserPromptSubmit

What it needs & plugs into

API keys
none
Paid services
none detected
External tools
bash
Talks to
nothing external detected

Analyzed . Facts extracted from the plugin's files. Prose generated by claude-haiku-4-5-20251001.

Is this your plugin?

Claim it to keep the card accurate and enter the weekly contest. Requires signing in as the GitHub owner (tokenhunt).