prime
CommandYou are working in a project with the Prompt Injection Defender installed.
Install the prompt injection defender hooks into your Claude Code project.
$ npx -y skills add lasso-security/claude-hooks --agent claude-code
Install the prompt injection defender hooks into your Claude Code project.
Guide me through installing the prompt injection defender. Ask me:
1. **Which implementation?** Python (uv) or TypeScript (bun) 2. **Installation scope?** Project-only or user-wide 3. **Which tools to monitor?** All recommended tools or let me select
After gathering my preferences:
1. **Check prerequisites**
2. **Copy hook files**
3. **Copy patterns.yaml**
4. **Update settings configuration**
**Settings precedence (highest to lowest):** 1. `.claude/settings.local.json` (local project - overrides all below) 2. `.claude/settings.json` (project settings) 3. `~/.claude/settings.json` (user settings)
5. **Restart Claude Code**
6. **Verify installation**
Monitor these tools for prompt injection:
**IMPORTANT**: Tell the user to restart Claude Code! Hooks only load at startup.
Explain what will happen after restart:
The user can verify hooks are active by running `/hooks` in Claude Code.
A collection of security and utility hooks for Claude Code. Hooks allow you to extend Claude Code's behavior by running custom scripts at key points during execution.
You are working in a project with the Prompt Injection Defender installed.
Audit a file, directory, or whole repo for insecure default configuration: fallback secrets, default credentials, fail-open…
Check text against AGT prompt-injection, context-poisoning, and MCP threat detectors.
Show which external bug-bounty tools are installed on this machine and print install hints for the missing ones. Curated from…