semgrep

star 60

Run semgrep's `p/security-audit` and `p/secrets` rulesets and map hits into the findings shape.

alpha-omega-security By alpha-omega-security schedule Updated 6/15/2026

name: semgrep description: Run semgrep's p/security-audit and p/secrets rulesets and map hits into the findings shape. license: MIT compatibility: Requires semgrep (https://semgrep.dev) and python3 on PATH. metadata: scrutineer.version: 1 scrutineer.output_file: report.json scrutineer.output_kind: findings scrutineer.model: claude-sonnet-4-6

semgrep

Run semgrep against ./src using the p/security-audit and p/secrets rulesets, then convert each hit into the findings-report shape scrutineer's parser understands.

Workspace

  • ./src — the cloned repository
  • ./scripts/scan.py — the wrapper
  • ./report.json — write the findings report here
  • ./schema.json — output shape

Available scripts

  • scripts/scan.py — runs semgrep, maps results into findings with the fields we actually populate (id, title, severity, cwe, location, trace, rating). Severity maps: ERROR → High, WARNING → Medium, INFO/INVENTORY/EXPERIMENT → Low.

What to do

python3 scripts/scan.py > ./report.json

Don't post-process its output. Tool-missing errors are reported into the JSON envelope so failures are visible on the scan page.

Install via CLI
npx skills add https://github.com/alpha-omega-security/scrutineer --skill semgrep
Repository Details
star Stars 60
call_split Forks 18
navigation Branch main
article Path SKILL.md
More from Creator
alpha-omega-security
alpha-omega-security Explore all skills →