# semgrep

Plugin that scans code written by agents for security vulnerabilities and can add or remove custom Semgrep rules.

Plugin by Semgrep. Category: Security.

## Install

Global (for every project on this machine):

```sh
npx plugins add semgrep/guardian
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI.

Project (for this project only):

```sh
npx plugins add semgrep/guardian -s project
```

Works with: Claude Code, Codex CLI, Cursor, Copilot CLI.

## What's inside

- Skills: add-and-validate-guardian-developer-semgrep-rule, install-mfw, remove-guardian-developer-semgrep-rule
- MCP servers: guardian
- Hooks: included

## Source

[Open the source](https://github.com/semgrep/guardian). Checked 2026-10-10. This summary may contain AI-generated text, so it can be wrong. Check the source before you rely on it.

- Previous: [restatedev](https://syn4pse.dev/terminal/restatedev.md)
- Next: [motion](https://syn4pse.dev/terminal/motion.md)
- [Terminal](https://syn4pse.dev/terminal.md)
- [Suggest a change](mailto:terminal@syn4pse.dev?subject=Terminal%20suggestion)
