Overview
Semgrep is a fast, open-source static analysis tool that finds bugs, vulnerabilities, and secrets in code. The Pwnbook Semgrep integration pulls scan findings from your Semgrep deployment into Pwnbook for triage and tracking.Prerequisites
- A Semgrep account (Team or Enterprise)
- A Semgrep API token with read access
- Admin or Owner access in Pwnbook
Setup
1
Generate a Semgrep API token
- Log in to semgrep.dev.
- Go to Settings → Tokens.
- Click Create new token with the
scans:readscope. - Copy the token.
2
Find your deployment slug
Your deployment slug appears in the Semgrep dashboard URL:
3
Configure in Pwnbook
- Go to Organization Settings → Marketplace → Semgrep.
- Enter your API Token and Deployment Slug.
- Click Save & Test to verify credentials.
4
Configure per-repository sync settings
After connecting, Pwnbook loads your repositories from Semgrep. For each repo you want to sync: toggle Visible and Sync Enabled, then click Save.