Tool integration

Semgrep Secrets Integration Guide

Detect hardcoded secrets in 35+ languages using Semgrep's p/secrets ruleset

Get a Free API Key

Integrate Semgrep Secrets scanning with Vulnetix. Use Semgrep's p/secrets ruleset to detect API keys, tokens, passwords, and credentials hardcoded in source code.

Python, JavaScript, Go, Java, and 30+ languagesCLI toolSARIFJSON

Install & scan

$ # Recommended — run without global install
uv run --with semgrep semgrep --version

# Install globally
pip install semgrep
$ uv run --with semgrep semgrep scan   --config p/secrets   --sarif   --sarif-output=semgrep-secrets.sarif .

Run Semgrep Secrets in CI

Scan on every push and upload the results to Vulnetix:

- name: Semgrep Secrets scan
  run: |
    pip install semgrep
    semgrep scan --config p/secrets --sarif --sarif-output=semgrep-secrets.sarif .

- name: Upload to Vulnetix
  run: vulnetix upload --file semgrep-secrets.sarif

Centralise Semgrep Secrets results in Vulnetix

Upload Semgrep Secrets SARIF, JSON output to the Vulnetix platform to deduplicate findings, prioritise them with EPSS, CISA KEV and Coalition ESS exploit intelligence, and track remediation across every scanner in a single queue.

Semgrep Secrets documentation ↗  ·  Source repository ↗

Wire Semgrep Secrets into your CI/CD pipeline →