用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/andrewyng/openworker --skill semgrep-review命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | semgrep-review |
| description | Run a semgrep scan and turn findings into triaged, contextual fixes |
Run a static-analysis pass with semgrep and own the findings end to end.
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.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..semgrep.yml pinned to the rulesets that mattered here.