跳到正文
Skillpedia
安全6.6k · #13789

vuln-check

它能做什么

将依赖版本与已知安全公告进行比对,并追踪不可信输入是否能到达敏感操作,然后按严重程度报告发现。适合希望在不做完整审计的情况下,对项目进行安全检查的开发者。

适用场景

  • ✓当你想检查项目依赖项是否存在已知漏洞时。
  • ✓当你需要确认不可信输入能否到达敏感操作时。
  • ✓当你想扫描仓库中是否误提交了密钥时。

技能链接

https://github.com/ccch1mneyyy/dsh-TUI/blob/main/.agents/skills/vuln-check/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/ccch1mneyyy/dsh-TUI/blob/main/.agents/skills/vuln-check/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 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.

  1. Read package.json and pnpm-lock.yaml for the affected dependency paths. Use current advisory data, such as pnpm 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.
  2. 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.
  3. 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.
  4. 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

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能