andrewyng/openworker/semgrep-review
Claude Code and agent skill by andrewyng/openworker
- community
Checking that the SKILL.md file is still in the repository.
Run a semgrep scan and turn findings into triaged, contextual fixes
Install
npx vskill@latest install andrewyng/openworker/semgrep-reviewSKILL.md
The same SKILL.md was published earlier as andrewyng/openworker/semgrep-review.
Run a static-analysis pass with semgrep and own the findings end to end.
- Check the tool:
semgrep --version. If it's missing, ask for it with
request_tool("semgrep", …) rather than skipping the pass. If the user declines, continue with a targeted manual review — read the routes/handlers, the auth and session code, every query built by string concatenation, deserialization, and outbound requests built from user input — and say in your report that the static pass was manual, so the user knows the coverage is narrower than a full scan. Note that community semgrep rules miss whole classes (e.g. SQL built through a project's own DB wrapper), so reading the code is worth doing even when it runs.
- Scan the repo (from its root):
semgrep scan --config auto --json --quiet -o /tmp/semgrep.json Use --config auto unless the repo carries its own rules (.semgrep.yml, semgrep.yml) — prefer the repo's own configuration when present.
- Parse the JSON and triage EVERY finding — do not echo the raw report:
- Read the flagged code and enough surrounding context to judge reachability.
- Is the tainted input attacker-controlled or internal? Is there an upstream guard?
- Rate: critical / high / medium / low / noise, with a one-line justification each.
- Fix what's real, highest severity first:
- Match the codebase's own conventions (its validation helpers, escaping utilities,
parameterized-query style) — read neighboring code before writing the fix.
- Add or extend a test that fails without the fix where the test harness makes that
reasonable.
- Group fixes by theme (one branch per theme), never one giant mixed diff.
- For findings you judge noise, say WHY (e.g. constant input, dead code, framework
already escapes) — never silently drop them, and never add ignore rules to make the scanner quiet without agreement.
- Deliver: a short findings table (severity · location · verdict · action) and the
fix branches/PRs. If the repo has no semgrep config, offer to commit a starter .semgrep.yml pinned to the rulesets that mattered here.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcoworker/personas/builtin/security/skills/semgrep-review/SKILL.md
Popularity
- Repository stars
- 18,375
- Repository forks
- 2,598
- 7-day trend score
- 49
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/andrewyng/openworker/semgrep-review)