Semgrep

Use the Semgrep plugin for Claude Code to review static analysis findings, check affected code, and verify corrections.

How to install Semgrep

Use the same approved rule set for the before-and-after reports.

  1. Start Claude Code once to register Anthropic’s official marketplace. Then run the install command in your terminal.
  2. Open a new Claude Code session and check the Installed tab in /plugin before using plugin features.
Claude Code · Install in Claude Code
claude plugin install semgrep@claude-plugins-official

Try a first task

Triage existing Semgrep results for a patch that changes request validation. Confirm the rule, file, and affected input, fix the risky pattern, and compare the findings after the change.

Package components

  • add-and-validate-guardian-developer-semgrep-rule
  • install-mfw
  • remove-guardian-developer-semgrep-rule
  • guardian
  • Session hooks

Publisher references

Homepage

add-and-validate-guardian-developer-semgrep-rule write a custom semgrep rule with

install-mfw Install the mfw (Semgrep Malware Firewall) CLI via the curl|sh

remove-guardian-developer-semgrep-rule Remove a custom Semgrep rule from Guardian

View on Claude Marketplace

Browse Plugins