Semgrep AppSec Platform versus Semgrep Community Edition
You can use Semgrep AppSec Platform (Semgrep) or Semgrep Community Edition (Semgrep CE) to scan your code for security issues, bugs, and compliance to coding standards. However, there are key differences between the two offerings.
Refer to the appendix to skim all features of both offerings.
Product terms
The offerings in this document are defined as follows:
- Semgrep Community Edition (Semgrep CE)
Includes an open source, lightweight SAST scanner and rules in the Semgrep Registry with open source licenses. You can also write your own custom rules. Semgrep CE also includes the Visual Studio Code (VS Code) and IntelliJ extensions. The Community Edition is best for small teams or personal projects.
- Semgrep AppSec Platform (Semgrep)
Refers to a proprietary software suite tailored to support AppSec engineers through the entire software development life cycle (SDLC). Best for deploying security programs throughout their organization. Many of Semgrep's features support the deployment of secure guardrails. Semgrep includes the following products:
- Semgrep Code
- A SAST scanner that uses cross-file (interfile) and cross-function (intrafile) analysis for improved results over Semgrep Community Edition. Semgrep Code includes rules written by Semgrep's Security Research team, called Pro Rules. These rules use cross-file analysis to reduce false positives.
- Semgrep Supply Chain
- A high-signal dependency scanner that detects reachable vulnerabilities in open source third-party libraries and functions across the software development life cycle (SDLC).
- Semgrep Secrets
- A secrets scanner that, in addition to detecting secrets, validates these leaked secrets on a variety of services to help you prioritize active secrets.
Semgrep Code and Semgrep Supply Chain are free for up to 10 contributors.
Comparison by core workflows
Figure. A typical AppSec security program's core workflows and the scope of out-of-the-box Semgrep CE and Semgrep AppSec Platform features.
Deployment
The process of integrating Semgrep into your developer and infrastructure workflows.
Semgrep Community Edition
Semgrep CE runs in your local machine's CLI through the semgrep scan command.
Deploying in bulk or at scale is a manual task. Semgrep CE can scan a remote repository by running as part of a CI job but you must write and configure the CI job for each repository.
Semgrep AppSec Platform
Semgrep can scan in the following environments:
- CI
- Web app (for Managed Scans)
- CLI
- IDE
pre-commit
Your scan configuration, such as rules and policies, and scan analysis (SAST, SCA, or secrets) are preserved across all environments.
Users comfortable with granting Semgrep code access can quickly deploy Semgrep to thousands of repositories through Managed Scans.
Semgrep supports various CI providers and source code managers (SCMs) such as GitHub, GitLab, Bitbucket, and Azure.
Scanning and analyses
The process of analyzing source code for findings. This section explains the analyses available to both product offerings.
Semgrep Community Edition
Semgrep CE provides the following SAST analyses:
- Single file, cross function constant propagation
- Single function taint analysis
- Semantic analysis
The limited scope makes it fast, at the cost of coverage and precision.
It can't track data beyond a single function or file and may find more false positives.
Semgrep AppSec Platform
Semgrep supports SAST, SCA, and secret scans as listed in Product terms. You can run these scan types across all of your environments, preserving any configuration you have made.
Click to view Semgrep Code analyses (SAST)
- Cross file, cross function constant propagation
- Cross file, cross function taint analysis
- Framework and language-specific semantic analysis
- Semgrep Assistant (AI-assisted) post-processing analysis:
- Reduces noise by 20%
- Adds contextual remediation guidance
Click to view Semgrep Supply Chain analyses and functions (SCA)
- Reachability analysis
- Open source license enforcement
- Dependency search
Click to view Semgrep Secrets analyses and functions
- Validation of active, leaked secrets
- Entropy
- Historical scanning
Additionally, the Semgrep team maintains and contributes to premium rules, known as Pro rules, that specifically make use of the advanced analyses listed here.
Certain languages, such as Apex, are available only on Semgrep AppSec Platform.
The following diagrams summarize the differences between the two:
Figure. Semgrep CE scan process.
Figure. Semgrep AppSec Platform scan process.
Triage and remediation
Triage is the process of reviewing findings and determining if a finding is a true or false positive, and whether to fix the finding or not. Remediation refers to the steps taken to resolve the finding.
Ticketing and notification integrations are included in this workflow to inform developers of fixes and remediation guidance they may need to take to close the finding.