LaunchLens

Semgrep Guardian

Security plugin for AI coding agents that checks code, secrets and packages at write time

Major release ·

What it is

Semgrep Guardian is a plugin for AI coding agents that brings Semgrep's code, dependency and secrets scanning to the moment code is generated. It bundles an MCP server, hooks that fire on every file write, and skills. In the week of October 26, 2026, Semgrep made Guardian Policies and local developer rules generally available, so security teams choose which rules Guardian enforces separately from CI scans, and developers can add their own.

Key features

  • Write-time scanning. Hooks run a scan whenever the agent writes a file; since mid-October, scans run in the background so the agent no longer pauses for each one.
  • Dependency firewall. Guardian blocks malicious or hallucinated packages at the network layer before the agent can install them on a developer laptop.
  • Secret blocking. Credentials are caught before they are committed, and Guardian sets environment variables so keys stay out of version control.
  • Policies and local rules. Org rules come from the Policies page or Semgrep Editor, while developers can drop rule files into a guardian-rules folder, up to 50 per scan.

Who it's for

Security and platform teams at companies where developers rely on Claude Code, Codex, Cursor or Windsurf, and who want guardrails enforced before code reaches a pull request. It suits regulated teams that need a record of what agents generated and which checks ran.

Pricing

30-day free trial, then a paid plan (Guardian price not listed); Teams: Code $30, Secrets $15 per contributor/month

The pricing page does not list a separate Guardian price. Release notes say new organizations can start a 30-day free trial and then upgrade to a paid plan. For context, the Teams plan lists Code and Supply Chain at $30 and Secrets at $15 per contributor per month, and the Free Edition covers up to 10 contributors.

Pricing checked November 13, 2026 on the official pricing page

Limitations

Guardian's price after the trial is not published, so expect a quote. On Windows, the Codex integration requires WSL, and GitHub Copilot CLI support is still a public beta on macOS and Linux. Each scan runs at most 1,000 organization rules and 50 local rules, and the newest rule controls target the Claude Code and Codex plugins first.

Alternatives

Our take

On paper, Guardian targets a real gap: agent-written code often skips the review habits teams rely on, and catching secrets and bad packages at write time is cheaper than catching them in CI. Teams already paying for Semgrep can trial it with little friction. Others may want a published price first, and should confirm their agent of choice is fully supported.

Based on Semgrep's public documentation, pricing page and release notes, not a hands-on review. Written by Alex Morgan.

Official links

Sources

  1. Semgrep release notes, week of October 26, 2026
  2. Semgrep release notes, week of October 12, 2026
  3. Semgrep pricing
  4. Semgrep Guardian product page

More new security & privacy

All security & privacy →
  • Firefox

    Mozilla's Gecko browser for desktop and mobile, now with an always-on-top Mini Window

    Free Productivity ·
  • Ente

    Open-source, end-to-end encrypted photo storage that now ships an agent-friendly Rust CLI

    Open source Security ·
  • KeePassXC

    Offline open-source password manager for desktops, now on Qt 6 with Wayland Auto-Type

    Open source Security ·