MCP Server
The agent asks Semgrep and Semgrep answers. The MCP server exposes Semgrep scanning as tools the agent can call directly.
Learn more about the MCP →Coding agents introduce malicious packages, hardcoded secrets, and vulnerable patterns. Guardian catches each one and returns the fix context without interrupting you.
Claude Code › writes billing/config.py
+ STRIPE_SECRET_KEY = "sk_live_••••••••"
Guardian hook › scans the file with Semgrep Secrets
BLOCKED · hardcoded secret
A live credential would enter Git history in billing/config.py.
Claude Code › moves the credential to an environment variable
- STRIPE_SECRET_KEY = "sk_live_••••••••"
+ STRIPE_SECRET_KEY = os.environ["STRIPE_SECRET_KEY"]
Guardian › no hardcoded secret found in the updated file
An MCP server and hooks ship together in one plugin. Findings arrive in place, so your agent keeps working and you stay in your flow.
The agent asks Semgrep and Semgrep answers. The MCP server exposes Semgrep scanning as tools the agent can call directly.
Learn more about the MCP →Hooks fire whenever Claude Code writes a file, ensuring a scan regardless of what the agent does or forgets.
Learn more about Hooks →Guardian catches risky code and packages while your agent is still working, when the context is fresh and a change is quick to make.
Guardian blocks malware, known-bad dependencies, and typosquats before they install.
SQL injection, XSS, IDOR, and other common flaws are caught as they are generated.
API keys, tokens, passwords, and cloud credentials are caught before they reach version control.
Under 5 minutes from install to your first scan.
claude plugin install semgrep@claude-plugins-official
The plugin loads automatically in the new session.
Create a free Semgrep account or sign in. Guardian starts checking the next file your agent writes.
Choose the plan that fits how you or your organization builds with AI.
Guardian-only for individual developers and teams of any size.
Bundles Guardian with Semgrep Code. Teams can still choose Guardian-only for $10 per seat.
For larger organizations planning a tailored rollout.
Guardian checks the code and packages your agent introduces while you keep building. Setup takes less than 5 minutes.