跳转到正文
报告库
用途分类 / 其他用途

Check Impl Against Spec Skill 安全审计

作者说它能做什么(原文)

Compare a pull request's implementation against spec context in spec_context.md and feed any material mismatches into review.json. Use during PR review when approved or repository spec context is available.

第三方安全检查结论

这次检查未发现明显风险

已检查文件
1
发现的风险
0
会不会运行危险命令?检查是否下载程序后直接运行、让他人远程控制电脑,或藏起要运行的命令。未发现风险
会不会泄露文件和密钥?检查是否发送含密码或密钥的文件,以及代码里是否直接写了密钥。未发现风险
会不会删除文件或一直在后台运行?检查是否大范围删除文件、改写磁盘,或设置自动启动。未发现风险
会不会绕过安全保护?检查是否跳过网站安全验证、开放过多文件权限,或取消操作前的确认。未发现风险
会不会误导 AI 或隐藏内容?检查工作说明是否要求 AI 忽略你的指令、干扰检查结果,或夹带看不见的文字。未发现风险
会不会偷偷改推广链接或收款方?检查是否强制替换推广链接或收款对象,同时要求隐瞒更改。未发现风险

Skill 逻辑拆解

5 个说明模块

该 Skill 仅在 PR 审查期间存在 `spec_context.md` 时使用;它把该文件中的产品和技术规范承诺与 PR 差异及已检出文件进行比较。

查看原文
SKILL.md:8来自说明文档打开原文件
Use this skill only when `spec_context.md` exists during PR review.
SKILL.md:16来自说明文档打开原文件
- `spec_context.md` contains the spec context to compare against. It may include both product spec content (intended behavior, acceptance criteria) and tech spec content (implementation details, file changes).- `pr_diff.txt` contains the annotated diff for the PR.- `pr_description.md` may contain additional scope or rationale.- The working tree contains the PR branch contents.
SKILL.md:23来自说明文档打开原文件
1. Read `spec_context.md` and extract the concrete commitments it makes:   - required behaviors (from the product spec)   - required files or subsystems to change (from the tech spec)   - stated constraints   - required follow-up steps, validation, or migrations2. Compare those commitments against the actual implementation in `pr_diff.txt` and the checked-out files.3. Treat small implementation-level adjustments as acceptable when they preserve the spec's intent. Do not flag harmless differences in naming, structure, or low-level technique.

输出会写入现有的 `review.json`,而不是创建单独报告;只有能够对应到差异中已更改行的问题才会生成行内评论,并且明确禁止直接发布到 GitHub。

查看原文
SKILL.md:38来自说明文档打开原文件
- Do not create a separate report file.- Fold spec-alignment findings into `review.json`.- Put broad spec-drift concerns in the review summary.- Add inline comments only when the mismatch can be tied to changed lines in the diff.- Treat material spec drift as at least an important concern.- If the implementation matches the spec closely enough, do not add comments just to mention alignment.
SKILL.md:49来自说明文档打开原文件
- Do not speculate about spec details that are not actually present in `spec_context.md`.- Do not post to GitHub directly.

该 Skill 要求仅报告实质性偏差,并允许在安全保留规范意图时采用不同的命名、结构或底层实现方式。

查看原文
SKILL.md:29来自说明文档打开原文件
2. Compare those commitments against the actual implementation in `pr_diff.txt` and the checked-out files.3. Treat small implementation-level adjustments as acceptable when they preserve the spec's intent. Do not flag harmless differences in naming, structure, or low-level technique.4. Flag a mismatch only when it is material, such as:   - required behavior in the product spec is missing   - the implementation contradicts a spec decision   - the change introduces significant unplanned scope   - a required validation, migration, or compatibility step from the tech spec is absent
SKILL.md:47来自说明文档打开原文件
- Do not require literal one-to-one implementation of the spec when the PR achieves the same outcome safely.- Do not speculate about spec details that are not actually present in `spec_context.md`.- Do not post to GitHub directly.
从这里开始 · 工作说明SKILL.md
check-impl-against-spec
连线表示工作说明包含的模块,不是实际运行顺序。点击模块可查看原文。
文件与检查记录1 个文件

检查范围与遗漏

逐文件查看涉及的内容

下方列出本次涉及的原文范围;纳入检查不代表已查清所有问题。

  • SKILL.md已纳入全文

这份报告只针对上方版本。我们看了拿到的代码和说明文件,没有实际运行 Skill,也没有检查它另外安装的软件包。因此,这不是“保证安全”的承诺;换了版本或使用环境,结果也可能不同。

  • SKILL.md工作说明
读取了多少行
50
文件校验值(用于核对版本)
6c85d04e4bf110ad03cd209a5f9a3c6900a33fbea4c1a7cb0453a950e8c86d3d