本文へスキップ
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に貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/contracts/specialist-methods/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に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

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル