GitGuardian launches AI Hooks to block secrets in Claude Code, Cursor and Codex agents
GitGuardian released AI Hooks, part of ggshield, which deterministically scans prompts, commands, file reads, MCP calls and agent outputs for secrets. Setup is done with a single command, ggshield machine setup, for Claude Code, Cursor and Codex.
- AI Hooks enforce rules at the system level, not via AGENTS.md or CLAUDE.md instructions
- They scan prompts, commands, file reads, MCP calls and agent outputs
- Setup uses one command, ggshield machine setup, for Claude Code, Cursor and Codex
- In April 2026 a PocketOS agent deleted production database and backups in 9 seconds
Read next
Security