意图实现差
原名:intended-vs-implemented
该方法用于识别系统预期功能与代码实际实现的偏差,这类漏洞是通用扫描器因缺乏意图模型而遗漏的,明确文档意图、实现证据、有效偏差的判定标准,避免模糊结论,适用于AI生成代码审计、访问控制权限核查、代码库与文档一致性校验。
- 分类
- 开发提效
- 版本
- v1.0.0
- 作者
- 弈韬(@ra1nzzz)
- 下载
- 2
- 收藏
- 0
- 发布
- 2026-08-25
- 更新
- 2026-10-14
- TRACE 评分
- 3 / 5
内容概览
A linter scans code in a vacuum. It can tell you the code is internally consistent; it cannot tell you the code does what you meant , because it has no model of your intent. The highest-value security and correctness bugs live in that gap — a permission documented but never enforced, a "cron-only" endpoint anyone can call, a field marked public-only that leaks private data. This skill is the method for finding that gap. It is the differentiator: it only works when intent has been written down first (see the shipping-artifacts skill), and that's exactly why commodity tools can't replicate it. Use this when documented intent exists — permissions.md, architecture.md, variables.md, etc. If those docs are absent or stale, that absence is itself the first finding: you cannot audit intent you never recorded. Recommend documenting first, then auditing. 1. Establish intent. Read the documentation…