Semgrep

Open-source pattern-matching SAST engine plus a commercial AppSec Platform adding SCA, secrets detection, policy governance and AI triage.

Free tier availableLast verified 2026-09-06

Deployment

Cloud · Self-Hosted (partial) · Air-Gapped (partial)

Languages

34+

Pricing model

Per contributing developer, Usage-based credits, Quote-based / Enterprise

Free tier

Yes

Workflow coverage

Where in the development lifecycle Semgrep operates.

Real-Time IDE FeedbackYes

VS Code and IntelliJ extensions ship with CE; inline markers, hover guidance, Quick Fix button.

AI Agent Guardrail (MCP)Yes

Guardian MCP scans inside Claude Code, Codex, Cursor, Copilot, VS Code, Devin/Windsurf, Kiro.

Local CLI / Pre-CommitYes

`semgrep scan`/`semgrep ci` CLI plus a pre-commit framework hook; org-wide hook settings need Platform.

PR Inline ReviewYes

Inline PR/MR comments with dataflow traces and reply triage; requires AppSec Platform, CE has none.

Merge Gate BlockingYes

Block mode fails CI (exit code 1); remediation policies block merge; developer exception approval flow.

Full Repo ScanYes

Full scans cover the entire codebase and are recommended on a schedule against the default branch.

Scheduled / Continuous RescanYes

Scheduled full scans in CI; Managed Scans default to weekly full scans plus diff-aware scans per PR.

Runtime / Production MonitoringNo

Runtime/exposure context only through Wiz, Sysdig and Cortex integrations; Wiz/Cortex listed as Teams features.

Analysis & detection

Every detection and code-analysis capability tracked for Semgrep.

SASTYes

Pattern plus taint rules; intraprocedural in CE, cross-function default, cross-file needs Pro Engine (Teams).

Taint / Data-Flow AnalysisYes

Taint tracking with constant/symbolic propagation; cross-file interfile taint requires Pro Engine and full scans only.

Secrets DetectionYesadd-on

Semgrep Secrets is a separately licensed product ($15/contributor); regex, semantic and entropy analysis; excluded from Free.

Secrets ValidationYesadd-on

Local live API validation classifies valid/invalid across 630+ credential types; part of paid Secrets product.

SCA (Dependencies)Yes

Semgrep Supply Chain parses lockfiles/manifests for 13 languages; Dynamic Dependency Resolution beta scans without lockfiles.

Reachability AnalysisYes

Five reachability states plus transitivity for 10 languages; Rust version-comparison only; Dart and Elixir unsupported.

Malicious Package DetectionYes

Typosquatting and dependency-confusion detection with Malware Firewall blocking; only C#, Go, JavaScript/TypeScript, Python, Ruby, Rust.

License ComplianceYes

License detection with policies to flag or block disallowed licenses; all SCA languages except Dart and Elixir.

SBOM GenerationYes

Per-repository CycloneDX 1.4, 1.5, 1.6, 1.7 SBOMs in JSON and XML via UI or API.

IaC ScanningPartial

Dockerfile and YAML appear only as experimental-maturity community-rule languages; no IaC product or Terraform support documented.

Container ScanningNo

Not offered in vendor documentation reviewed as of 2026-09-05.

Cloud Posture (CSPM)No

Not offered in vendor documentation reviewed as of 2026-09-05.

DAST / API ScanningNo

Not offered in vendor documentation reviewed as of 2026-09-05.

Code Smells & MaintainabilityNo

File positions Semgrep as an AppSec platform, explicitly "not a general code-quality/code-review tool".

Complexity MetricsNo

Not documented anywhere across product pages, docs, dashboard, or reports API as of 2026-08-25.

Duplication DetectionNo

Not documented anywhere across product pages, docs, dashboard, or reports API as of 2026-08-25.

Dead / Unused CodeNo

Not documented anywhere across product pages, docs, dashboard, or reports API as of 2026-08-25.

Test Coverage TrackingNo

Reports API and Dashboard cover only security findings/backlog metrics; no coverage tracking documented.

Diff / New-Code CoverageNo

Reports API and Dashboard cover only security findings/backlog metrics; no coverage tracking documented.

Architecture GovernanceNo

Unified Policies only govern rule selection and finding remediation, not module/dependency boundaries.

Technical Debt QuantificationNo

Dashboard and Reports API quantify only security-finding backlog/age, not remediation cost or effort.

Behavioral Delivery AnalyticsPartial

Dashboard tracks guardrail adoption, median open age and production-backlog trends; CE has no reporting.

AI Logic Bug DetectionYesTeam

AI detection of IDOR, authorization gaps, workflow abuse; full scans only, all High severity, needs credits.

PR Summaries & WalkthroughsPartial

PR/MR comments summarize findings; Autofix draft PRs carry an AI-written description.

Custom Rule AuthoringYes

YAML pattern rules in web Editor or locally, tested with ruleid:/ok: annotations; CE includes custom rules.

Autofix SuggestionsYes

Rule-defined deterministic fixes commit from the PR; AI remediation guidance and prose fixes need credits.

Autofix via Agentic PRsYesTeam

Autofix opens a draft PR/MR with AI description; requires Multimodal, AI credits and SCM write access.

AI Triage / False-Positive FilteringYesTeam

Autotriage recommends safe-to-ignore with explanation; noise filtering (beta) suppresses likely false positives; consumes credits.

Monorepo SupportPartial

Dashboard project filters can target a monorepo subfolder; no wider monorepo handling documented.

AI capabilities

AI Review EngineYesTeam

Semgrep Multimodal AI layer for detection, guidance, autotriage, tagging; unavailable on Free (no AI credits).

BYO Model / BYOKYesEnterprise

BYO key for OpenAI, Bedrock, Azure OpenAI, Gemini, xAI; Enterprise; forfeits fine-tuned models and ZDR.

MCP ServerYes

Guardian MCP server; Claude Code uses Semgrep's hosted remote server via OAuth with a fixed ruleset.

AI Usage GovernanceNo

Not offered in vendor documentation reviewed as of 2026-09-05.

Chat With ReviewerPartial

Reply commands /ignore, /fp, /ar in PR threads and Slack Agree/Disagree buttons; not conversational.

Learns From FeedbackYesTeam

Memories auto-generated from admin triage feedback; autotriage uses the org's triage history; requires Multimodal.

Code Excluded From TrainingYesTeam

Zero Data Retention agreement with default OpenAI provider; CI/CLI scans upload no code; BYOK loses ZDR.

Models used

OpenAI (default provider, Semgrep-held keys, Zero Data Retention agreement)Amazon Bedrock (default provider)Anthropic Claude models via Amazon Bedrock (Autofix)Azure OpenAI (BYOK only)Google Gemini (BYOK only)xAI (BYOK only)

Compliance & governance

Audit LogsYes

Timestamped audit logs exportable in JSON covering scans, findings, policy violations and remediation with user attribution.

SSO / SAMLYesTeam

SAML SSO (Google Workspace, Microsoft Entra ID) plus OIDC and managed GitHub/GitLab auth; listed under Teams.

Role-Based Access ControlYesTeam

Admin, Manager, Member roles with team management API and per-user/per-project access; listed under Teams.

Compliance Reporting ExportsYes

Dashboard PDF export plus API reports (backlog, funnel, guardrails, Malware Firewall); CE has no reporting.

Certifications

None claimed for Semgrep Inc. — Semgrep's documentation explicitly states "Semgrep Inc. itself is not ISO 27001 certified"; it notes Managed Scans run on ISO 27001-certified AWS infrastructure and that OpenAI maintains ISO 27001 certification

Standards mapping

FedRAMP (NIST SP 800-53 Rev 5: RA-5, IA-5, SA-11, AU-2/AU-3, SI-2, SI-3, SA-15/SR-3)NIST 800-171 (3.14.1, 3.5.10, 3.3.1, 3.4.7)HIPAA Technical/Administrative SafeguardsHITRUST CSF v11GDPRPCI DSS (Requirements 6.2, 6.3.1, 6.3.2)ISO 27001 Annex A (A.8.8, A.8.9, A.8.25-A.8.32, A.5.19-A.5.23)ISO 27017SOC 2 Type II Trust Services Criteria (CC6.1, CC6.6, CC7.2, CC7.3, CC8.1, CC9.1)OWASP (rule registry categories and cheat sheets)Executive Order 14028 / OMB M-22-18 (SBOM)CycloneDX 1.4-1.7

Integrations

GitHubYes
GitHub Enterprise ServerYes
GitLabYes
GitLab Self-ManagedYes
BitbucketYes
Bitbucket Data CenterYes
Azure DevOpsYes
REST APIPartial
CLIYes
WebhooksYes

CI/CD systems

GitHub ActionsGitLab CI/CDJenkinsBitbucket PipelinesCircleCIBuildkiteAzure PipelinesSemaphoreAppVeyorBambooBitriseBuildbotCodeshipCodefreshDrone CINomadTeamCity CITravis CIself-hosted CI runners

IDEs

Visual Studio CodeIntelliJ / JetBrains IDEsClaude Code (via Guardian MCP)Cursor (via Guardian MCP)GitHub Copilot (via Guardian MCP)Codex (via Guardian MCP)Devin / Windsurf (via Guardian MCP)Kiro (via Guardian MCP)

Issue trackers

Jira Cloud (Jira Data Center explicitly not supported)

Chat & notifications

Slack (channel-mapped, with Agree/Disagree buttons on Multimodal recommendations)Email (per-rule-mode subscriptions, deduplicated)Webhooks (generic outbound)Weekly Multimodal priority emails to org admins

Pricing & plans

$15/month per contributor for Semgrep Secrets, the cheapest Teams module (no annual discount published); Code and Supply Chain are $30/month per contributor each

Minimum seats: Teams row states 10+ contributors (Free covers up to 10 monthly contributors)

Trial: No time-limited trial — the Free (AppSec Platform) tier is described as perpetual rather than time-limited

Semgrep Community Edition (CE)Free (open source, LGPL 2.1)Individuals and small teams scanning locally
  • Local/CLI SAST scanning
  • VS Code and IntelliJ extensions
  • Community rules
  • Custom rule writing
  • Single-function (intraprocedural) analysis
  • No dashboard, triage, notifications or reporting
  • No PR/MR comments
  • No cross-function or cross-file analysis (Pro Engine)
  • No Supply Chain or Secrets products
Free (AppSec Platform)FreeSmall orgs with 10 or fewer monthly contributors
  • Full Semgrep Code
  • Full Semgrep Supply Chain
  • Core scans and basic triage
  • 10 private repositories
  • Up to 10 monthly contributors
  • No AI credits, so all Multimodal features are unavailable
  • Semgrep Secrets not included
  • Exceeding contributor limits stops scanning entirely
TeamsStarting at $30/month per contributorAppSec teams needing Pro Engine, governance and API access
  • One product of choice: Code ($30), Supply Chain ($30) or Secrets ($15) per contributor
  • Pro Engine (cross-file analysis)
  • Custom rules
  • SSO (OIDC + SAML) and RBAC
  • REST API and distributed scans
  • Wiz and Cortex integrations; 20 AI credits per developer monthly
  • 500 private repositories
  • Only one product included; others cost extra
  • 20 AI credits per developer per month; overruns stop AI detection, Autofix and Agentic Workflows
  • No BYO AI model provider
  • No on-premise repository support
EnterpriseCustom pricingLarge or regulated organizations needing on-premise repos and BYO AI
  • All Teams features
  • On-premise repository support
  • Custom CI/CD integration
  • Custom AI model provider (BYOK)
  • 50 AI credits per developer monthly
  • Dedicated account manager and tailored onboarding
  • Quote-only pricing
  • BYOK forfeits Semgrep's fine-tuned models and Zero Data Retention guarantee
  • Agentic Workflows remains Semgrep-hosted beta with no BYOK or minimal data retention

Who it's for

CE is described as best for individuals/small teams; the Free platform tier covers organizations with 10 or fewer monthly contributors

Notable strengths

  • Open-source CE engine (LGPL 2.1) scans without a build step, with YAML rules that resemble the target language and can be authored in-browser
  • Secrets validation makes live API calls locally to classify secrets valid/invalid across 630+ credential types, with no tokens sent to Semgrep
  • Reachability-based SCA with five reachability states plus transitivity, CycloneDX 1.4-1.7 SBOMs, and a Malware Firewall for malicious packages
  • Unified Policies separate detection from remediation, with condition-based actions (block merge, Jira ticket, Slack, webhook, developer exception approval)
  • Managed Scans remove CI setup entirely, running in ephemeral network-isolated Kubernetes pods destroyed after each scan; developers triage by replying /ignore, /fp, /ar in the PR

Notable limitations

  • Teams includes only one of Code, Supply Chain or Secrets per contributor; Secrets is separately licensed and the Free tier excludes it entirely
  • Every AI feature is metered by AI credits (20/dev on Teams, 50/dev on Enterprise); running out halts AI detection, Autofix and Agentic Workflows, and exceeding contributor limits stops scanning entirely
  • Cross-file analysis and AI-powered detection do not run on diff-aware PR scans, and cross-file falls back to single-file past 5 GB memory or a 3-hour timeout
  • No container scanning, CSPM or DAST is documented, IaC is limited to experimental-maturity Dockerfile/YAML rules, and code quality is explicitly out of scope
  • Semgrep Inc. is not ISO 27001 certified; BYO AI provider requires Enterprise and forfeits Zero Data Retention; Jira Data Center and Network Broker + Code Search/Autofix are unsupported

Similar tools

Other Code Security Platform tools in the directory.

FAQ

When should you choose Semgrep?

Semgrep best fits Indie developers, Startups, Mid-market teams, Enterprise, Regulated industries, CE is described as best for individuals/small teams; the Free platform tier covers organizations with 10 or fewer monthly contributors. Open-source CE engine (LGPL 2.1) scans without a build step, with YAML rules that resemble the target language and can be authored in-browser

What languages does Semgrep support?

Semgrep supports 34+ languages and frameworks, including Apex, Bash, C#, Cairo, Circom, Clojure, Dart, Dockerfile, Elixir, Go, and 24 more.

What does Semgrep integrate with?

Semgrep integrates with GitHub, GitHub Enterprise Server, GitLab, GitLab Self-Managed, Bitbucket, Bitbucket Data Center, Azure DevOps for source control, CI systems including GitHub Actions, GitLab CI/CD, Jenkins, Bitbucket Pipelines, CircleCI, and 14 more, and IDEs including Visual Studio Code, IntelliJ / JetBrains IDEs, Claude Code (via Guardian MCP), Cursor (via Guardian MCP), GitHub Copilot (via Guardian MCP), and 3 more.

What tools are similar to Semgrep?

Similar Code Security Platform tools tracked here include Aikido, Checkmarx One, Corgea, GitHub Advanced Security.

What are Semgrep's plans and pricing?

Semgrep offers a free tier, with paid plans starting around Free tier available; enterprise pricing is quote-only.