360 Secure SkillHub
360 安全技能中心

web3-code-review-checklist

面向 EVM 智能合约代码变更的结构化审查清单,按价值流映射、访问控制、外部调用、预言机输入、算术记账、可升级性和失效模式七步逐项检查,输出含严重级别、文件与行号引用及 ship/fix-first/needs-audit 结论的审查报告,并声明不替代专业审计。

分类:安全
manteclaw
manteclaw
热度 40.24
最近更新 2026-12-04 10:38:13

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add manteclaw/web3-code-review-checklist
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
web3-code-review-checklist
version
1.0.1
description
A structured review checklist for smart-contract and Web3 code changes: access control, value flows, oracle use, upgradeability. Use when reviewing a contract diff or preparing one for audit.

Web3 Code Review Checklist

Overview

A process checklist for human or agent reviewers of EVM code. It does not replace an audit; it makes sure the known-bad patterns get looked for, in order, every time.

When to use

Before deploying a contract, before merging a value-moving change, or as the first pass before a professional audit.

Workflow

  1. Map the value flows — every path where assets enter, move, or leave; review each against its checks
  2. Access control pass — every state-changing function: who can call it, and is that enforced or assumed?
  3. External calls — reentrancy surfaces, unchecked return values, calls to user-supplied addresses
  4. Oracle and price inputs — staleness checks, deviation bounds, single-source dependence
  5. Arithmetic and accounting — rounding direction, fee accounting, share-price manipulation via donation
  6. Upgradeability — initializer protection, storage layout drift, admin key custody
  7. Failure modes — what happens when a dependency pauses, returns garbage, or runs out of liquidity

Guardrails

  • A checklist pass is not an audit and must never be described as one
  • Flag anything you cannot verify rather than assuming it is safe
  • Review the diff, not the reputation of the author

Output format

A review report: per-section findings with severity, file/line references, and a clear ship / fix-first / needs-audit verdict.


Part of the Manteclaw free skill series. These workflow skills are free forever; Manteclaw's paid automation tools (runnable code, not just prompts) live at payhip.com/Manteclaw.