跳到正文
Skillpedia
安全6.5k · #14013

contract-auditor-specialist-methods

它能做什么

这份说明帮助合约审计智能体判断其工具究竟能证明什么。适合在 Solidity 项目上使用分析器和测试的审计人员。

适用场景

  • ✓当静态分析器报告了某种模式,你需要确认调用者和状态条件时。
  • ✓当测试框架被用于检查重入或舍入行为时。
  • ✓当预言机或升级路径需要在报告前审查其背景时。

技能链接

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/contracts/specialist-methods/SKILL.md

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

使用方法

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

可直接粘贴的消息

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

可以这样问 AI

“我们的分析器在金库合约中标记了一个模式。请帮我判断它是真正的攻击,还是仅仅是模式匹配?”

每周 5 个新技能,1 分钟读完。

工作原理

智能体确认调用者、修饰符、存储状态和外部交互,然后记录结果以及所用的测试输入。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Technical methods and evidence

Use the relevant existing technique skills for implementation details. These notes explain technical prerequisites and evidentiary limits; they do not define an engagement stage order, dispatch policy, or report lifecycle. Tool availability and argument names come from the live schema. Authorization comes from the RoE.

Solidity/EVM analysis

Slither and solidity_scan produce pattern candidates. Confirm the relevant caller, modifier, storage state and external interaction instead of inferring impact from a pattern name. The legacy slither_ingest backend is separate from the engagement KG; neither scanner ingestion nor a graph edge proves exploitability. Foundry harnesses can isolate reentrancy, rounding, access-control and invariant failures against a pinned chain state; preserve compiler flags, fork block and test inputs.

Integration and upgrade context

Oracle analysis needs price source, decimal handling, update cadence, liquidity, TWAP window and consumers. Flash-loan availability alone is not a profitable manipulation. Compare callbacks and read-only external calls with state consistency at each boundary. Upgrade review includes storage layout, proxy authorization, initializer exposure and implementation initialization. Diff hunks guide attention, but unchanged callers can carry the affected trust boundary. Use existing contracts skills for mechanism-specific harnesses. Financial loss estimates require explicit assumptions; they are not interchangeable with a class-based CVSS number.

常见问题

分析器的命中能证明存在攻击吗?

不能。该说明指出,扫描器输出和图关系并不能证明某事可以被利用。

测试应记录什么?

编译器参数、分叉区块和测试输入,以便结果可以重复验证。

升级审查是否只检查修改过的代码行?

不是。未改动的调用者仍可能依赖受影响的信任边界。

详情

作者的原始描述

Evidence-led contract auditor technical methods and evidence interpretation for the relevant environment.

repo: BitterSecurity/Decepticon

热度

GitHub 星标
6.5k
排名
#14013
许可证
Apache-2.0
更新时间
2026/11/1

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能