Agentic AI Security
featuredGuardrails for agentic AI engineering
A governed operating model for Claude Code: agents do real infrastructure and security work — every shell command logged, every written file scanned, production gated behind review.
- problem
- AI agents that can run shell commands and write code are a new privileged identity. Without controls they can leak secrets, ship vulnerable code or change production directly.
- approach
- Per-repo CLAUDE.md files encode guardrails; a PreToolUse hook logs every command; Semgrep scans each file as the agent writes it; permissions are scoped per repo; human approval gates consequential actions.
- outcome
- Agents now handle investigations, runbooks, forensics write-ups, policy tooling and reports — with a durable audit trail and production changes delivered only as pull requests.
- Claude Code
- PreToolUse hooks
- Semgrep MCP
- CLAUDE.md
- GitHub PRs