contracts-overview
What it does
This catalog points an agent to the right playbook for auditing blockchain smart contracts. It is for auditors and developers reviewing Solidity code.
When to use it
- ✓When you need to audit a Solidity contract project before it goes live.
- ✓When you want to run static analysis tools like Slither and then confirm the results with tests.
- ✓When you need to choose the right playbook for a specific contract weakness.
Skill link
https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/contracts/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Can you audit our Solidity contracts and tell me which high-severity issues we should fix first?”
5 new skills a week. 1 minute to read.
How it works
The agent maps the code, runs analysis tools, lists high-severity results, and follows the matching playbook to confirm each issue with a test.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Smart Contract Audit Catalog
Playbooks
| Skill | Use for |
|---|---|
/skills/standard/contracts/reentrancy/SKILL.md |
Classic + read-only reentrancy |
/skills/standard/contracts/oracle-manipulation/SKILL.md |
Single-block TWAP / spot price abuse |
/skills/standard/contracts/flash-loan/SKILL.md |
Flash-loan callback + unauth gadgets |
/skills/standard/contracts/access-control/SKILL.md |
Missing modifiers, wrong msg.sender |
/skills/standard/contracts/upgradeable-proxy/SKILL.md |
Uninitialized impl, storage clash |
/skills/standard/contracts/signature-replay/SKILL.md |
Cross-chain, ecrecover zero address |
Workflow
- Map the target:
bash("find /workspace/src -name '*.sol' | head -50") solidity_scan_fileon each file- Run slither:
bash("cd /workspace && slither . --json slither.json") slither_ingest("/workspace/slither.json")kg_query(kind="vulnerability", min_severity="high")to see the highs- For each high, generate a Foundry PoC via
foundry_reentrancy_testetc. bash("forge test -vvv --match-contract Test_")to run- Promote passing PoCs as validated findings
Default severity floor
| Impact | CVSS / Reward tier |
|---|---|
| Loss of user funds | Critical (9.8+) |
| Locked funds / permanent DoS | High (7.5-9.0) |
| Temporary DoS / griefing | Medium (5-7) |
| View-only data leak | Low (3-5) |
FAQ
What tools does it use?
It uses a Solidity scanner, the Slither analyzer and Foundry test runs.
Which weaknesses are covered?
Reentrancy, oracle manipulation, flash loan use, access control, upgradeable proxies and signature replay.
How are severities set?
The catalog gives a default severity floor by impact, such as loss of user funds.
Details
Original description by the author
Smart contract audit lane — Solidity/EVM pattern scanner, Slither ingestion, Foundry PoC generation, DeFi attack playbooks.
Popularity
- GitHub stars
- 6.5k
- Ranking position
- #14004
- License
- Apache-2.0
- Updated
- 11/1/2026
Comments
- …
More skills from this repository
detector-overview
6.5kHelps your agent read code that a scanner flagged and decide which flagged spots are real security bugs and which are false alarms.
exploiter-overview
6.5kHelps your agent join several confirmed security weaknesses into one test chain and check how far that chain could reach.
llm-redteam-overview
6.5kHelps your agent find the right AI red-team guide for a test, covering 15 tactic groups from prompt injection to model abuse.
aatmf-t01-prompt-injection
6.5kExplains prompt injection, where hidden instructions try to override an AI system, so security testers can check for it.
Similar skills
reverse-engineer-anything
422kHelps your agent look inside shipped apps and packages to explain features, compare versions, or guide a rebuild, using the REA tool.
1password
394kHelps your agent set up the 1Password CLI, sign in, and read or inject secrets without printing their values into chat.
healthcheck
394kHelps your agent audit the computer or server that runs OpenClaw for security risks, such as SSH, firewall, updates, and backups, then suggest safe fixes.