vuln-check
它能做什么
将依赖版本与已知安全公告进行比对,并追踪不可信输入是否能到达敏感操作,然后按严重程度报告发现。适合希望在不做完整审计的情况下,对项目进行安全检查的开发者。
适用场景
- ✓当你想检查项目依赖项是否存在已知漏洞时。
- ✓当你需要确认不可信输入能否到达敏感操作时。
- ✓当你想扫描仓库中是否误提交了密钥时。
技能链接
https://github.com/ccch1mneyyy/dsh-TUI/blob/main/.agents/skills/vuln-check/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查我项目的依赖项,以及其文件处理代码是否存在已知的安全漏洞。”
每周 5 个新技能,1 分钟读完。
工作原理
该技能会读取依赖清单和锁定文件,查询安全公告,并追踪不可信输入在经过检查后到达敏感操作的路径。它会报告已确认的问题及补救方法,并将未经验证的线索单独列出。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Assess the requested security surface with evidence. A check returns findings; implement remediation when the user has requested it.
- Read
package.jsonandpnpm-lock.yamlfor the affected dependency paths. Use current advisory data, such aspnpm audit, and record the resolved version, advisory, affected range, and verified fixed version where available. Distinguish a dependency advisory match from a demonstrated exploit path in this project. - Trace untrusted inputs through guards to sensitive operations: shell execution, filesystem access, plugin capabilities, and terminal escape output. For paths, check containment and symlink behavior where relevant; normalization alone does not prevent traversal. Inspect actual validation and authorization before treating a suspicious API as a vulnerability. Scan committed repository files for potential secrets; report only the path, line, and secret type, never the value or a source excerpt.
- Report findings by severity with location, trigger, impact, evidence, and the smallest effective remedy. Separate confirmed issues from leads needing verification. Preserve the upstream peer/dev dependency contract when proposing upgrades.
- State the scope, sources checked, and gaps. If advisories are unavailable, report that the dependency check is incomplete; absence of findings is not a claim that the project is vulnerability-free.
Report potential secrets only by path, line, and type, never their value or a source excerpt. Do not run automatic dependency fixes as part of a check; for requested remediation, make targeted changes and validate the affected paths.
常见问题
它会打印找到的密钥吗?
不会。它只报告密钥的路径、行号和类型,绝不显示其内容。
如果安全公告数据不可用怎么办?
该技能会说明依赖项检查不完整,而不会声称项目是安全的。
它会自动修复问题吗?
只有在你要求修复时才会。否则它只返回发现的问题。
详情
作者的原始描述
Check resolved dependencies and relevant code paths for security vulnerabilities. Use for security checks or /vuln-check; use audit for a broader correctness and maintainability assessment.
repo: ccch1mneyyy/dsh-TUI
热度
- GitHub 星标
- 6.6k
- 排名
- #13789
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …