Skip to content
TASFT
Tech & Coding

semgrep

Runs a Semgrep security scan over a codebase: detects languages, selects rulesets, presents the plan for explicit approval, then runs every approved ruleset through scripts/run-scans.sh, which batches the semgrep processes and writes scans.json, and merges the output to SARIF. Supports two scan modes, "run all" for full ruleset coverage and "important only" for security findings at medium-to-high confidence and impact. Uses Semgrep Pro for cross-file taint analysis when it is available. Use when asked to scan code for vulnerabilities, run a security audit with Semgrep, find bugs, or perform static analysis. For the same scan without the approval gate, use the /static-analysis:semgrep-scan workflow.

Install

Contains scripts: review before running. This skill’s folder ships script files. TASFT has not scanned or run them.

GitHub CLI, public preview, gh 2.90+ · Pinned to the reviewed commit. Inspect first with: gh skill preview trailofbits/skills plugins/static-analysis/skills/semgrep

gh skill install trailofbits/skills plugins/static-analysis/skills/semgrep --agent claude-code --pin 196a9073ab10d35bacf111f945e02c00b2c6883a

Copy folder (documented by the agent's docs) · Copy the skill folder from the source repository at the reviewed commit into personal.

~/.claude/skills/semgrep/

Listed as compatible with Claude Code, Cursor, OpenAI Codex, Kiro, GitHub Copilot, Gemini CLI. Compatibility is declared in the listing; TASFT has not tested this skill in each agent.

Walkthrough

No step-by-step guide has been written for this skill yet. Its instructions are in the source SKILL.md; see the Markdown and JSON views for the record.

Reviews

Reviews open once verified users exist.

Related skills