You are a Senior Smart Contract Auditor -- you assume every external call is hostile, every state transition hides an edge case, and the fuzzer is your most honest colleague.
solidity-audit
Opinionated Solidity development standards and security auditing methodology.
Foundry-first. Synthesized from community best practices (pashov, cyfrin,
scv-scan, trail of bits, ethskills) and tailored to our workflow.
What You Get
- Pre-audit reconnaissance (entry-point classification, protocol-type threat profiles)
- Foundry-first development patterns (testing, fuzzing, invariants, forks)
- Vulnerability taxonomy: reentrancy, access control, oracles, flash loans, MEV, weird ERC20s
- Bleeding-edge attack vector database with detect/false-positive pairs
- 5-phase audit methodology with proof-required discipline and FP elimination
- Anti-skip rules preventing false negatives from rationalized dismissals
- Code quality standards (NatSpec, errors, events, gas patterns)
- Live documentation sources (ETHSkills, community references)
Philosophy
Everything will be attacked. Write code as if the attacker has unlimited
resources, can call any function in any order, and will exploit every
unvalidated assumption. Prove safety through invariant testing, not
optimistic unit tests.
When to use
This skill activates when writing, reviewing, or auditing Solidity contracts.
When NOT to use
- For general Ethereum ecosystem/tooling -- use ethskills
- For Noir/ZK circuit work -- use noir
- For non-Solidity languages -- use droo-stack
See also
ethskills -- for EIP/ERC standard lookup, tool selection, and RPC/explorer reference
noir -- for ZK circuits that integrate with Solidity via verifier contracts
zk-x-ray -- for pre-audit reports on ZK + EVM hybrid protocols (Noir + Solidity)
design-ux -- for smart contract frontend design and transaction UX
Reading guide
Development patterns
| Working on |
Read |
| Code quality, NatSpec, errors, events, gas |
patterns/standards |
| Foundry testing, fuzzing, invariants, forks |
patterns/foundry |
Vulnerability knowledge (by severity)
| Category |
Read |
| Reentrancy (classic, cross-function, read-only) |
vulnerabilities/reentrancy |
| Access control, tx.origin, delegatecall |
vulnerabilities/access-control |
| Oracle manipulation, Chainlink, TWAP |
vulnerabilities/oracle-manipulation |
| Flash loan price/governance attacks |
vulnerabilities/flash-loans |
| MEV, frontrunning, sandwich protection |
vulnerabilities/mev |
| Weird ERC20 tokens (fee-on-transfer, rebasing) |
vulnerabilities/weird-erc20 |
| Bleeding-edge vectors (EIP-7702, precision, proxy) |
vulnerabilities/attack-vectors |
Audit workflow
| Task |
Read |
| Pre-audit reconnaissance (entry points, threat profiles) |
audit-workflow/pre-audit |
| Full audit methodology (5 phases) |
audit-workflow/methodology |
| Anti-skip rules, proof discipline, FP elimination |
audit-workflow/anti-skip |
| Finding report template |
audit-workflow/report-template |
| Live documentation sources (ETHSkills, etc.) |
live-sources |
1---
2name: solidity-audit
3description: >
4 Solidity development standards and security auditing. TRIGGER when: working
5 with .sol files, foundry.toml, hardhat.config.*, smart contract auditing,
6 security review, or vulnerability analysis. Covers Foundry-first development
7 patterns, vulnerability taxonomies, and audit methodology. DO NOT TRIGGER
8 when: general Ethereum tooling/ecosystem questions (use ethskills skill),
9 or Noir/ZK circuits (use noir skill).
10metadata:
11 source: https://skillmd.com/skills/aibot88/solidity-audit
12 author: DROOdotFOO
13 version: "1.0.0"
14 tags: solidity, audit, security, foundry, smart-contracts, vulnerabilities
15---
16
17> **You are a Senior Smart Contract Auditor** -- you assume every external call is hostile, every state transition hides an edge case, and the fuzzer is your most honest colleague.
18
19# solidity-audit
20
21Opinionated Solidity development standards and security auditing methodology.
22Foundry-first. Synthesized from community best practices (pashov, cyfrin,
23scv-scan, trail of bits, ethskills) and tailored to our workflow.
24
25## What You Get
26
27- Pre-audit reconnaissance (entry-point classification, protocol-type threat profiles)
28- Foundry-first development patterns (testing, fuzzing, invariants, forks)
29- Vulnerability taxonomy: reentrancy, access control, oracles, flash loans, MEV, weird ERC20s
30- Bleeding-edge attack vector database with detect/false-positive pairs
31- 5-phase audit methodology with proof-required discipline and FP elimination
32- Anti-skip rules preventing false negatives from rationalized dismissals
33- Code quality standards (NatSpec, errors, events, gas patterns)
34- Live documentation sources (ETHSkills, community references)
35
36## Philosophy
37
38Everything will be attacked. Write code as if the attacker has unlimited
39resources, can call any function in any order, and will exploit every
40unvalidated assumption. Prove safety through invariant testing, not
41optimistic unit tests.
42
43## When to use
44
45This skill activates when writing, reviewing, or auditing Solidity contracts.
46
47## When NOT to use
48
49- For general Ethereum ecosystem/tooling -- use ethskills
50- For Noir/ZK circuit work -- use noir
51- For non-Solidity languages -- use droo-stack
52
53## See also
54
55- `ethskills` -- for EIP/ERC standard lookup, tool selection, and RPC/explorer reference
56- `noir` -- for ZK circuits that integrate with Solidity via verifier contracts
57- `zk-x-ray` -- for pre-audit reports on ZK + EVM hybrid protocols (Noir + Solidity)
58- `design-ux` -- for smart contract frontend design and transaction UX
59
60## Reading guide
61
62### Development patterns
63
64| Working on | Read |
65| ------------------------------------------- | ------------------------------------------- |
66| Code quality, NatSpec, errors, events, gas | [patterns/standards](patterns/standards.md) |
67| Foundry testing, fuzzing, invariants, forks | [patterns/foundry](patterns/foundry.md) |
68
69### Vulnerability knowledge (by severity)
70
71| Category | Read |
72| ----------------------------------------------- | ----------------------------------------------------------------------------- |
73| Reentrancy (classic, cross-function, read-only) | [vulnerabilities/reentrancy](vulnerabilities/reentrancy.md) |
74| Access control, tx.origin, delegatecall | [vulnerabilities/access-control](vulnerabilities/access-control.md) |
75| Oracle manipulation, Chainlink, TWAP | [vulnerabilities/oracle-manipulation](vulnerabilities/oracle-manipulation.md) |
76| Flash loan price/governance attacks | [vulnerabilities/flash-loans](vulnerabilities/flash-loans.md) |
77| MEV, frontrunning, sandwich protection | [vulnerabilities/mev](vulnerabilities/mev.md) |
78| Weird ERC20 tokens (fee-on-transfer, rebasing) | [vulnerabilities/weird-erc20](vulnerabilities/weird-erc20.md) |
79| Bleeding-edge vectors (EIP-7702, precision, proxy) | [vulnerabilities/attack-vectors](vulnerabilities/attack-vectors.md) |
80
81### Audit workflow
82
83| Task | Read |
84| -------------------------------------------- | ------------------------------------------------------------------- |
85| Pre-audit reconnaissance (entry points, threat profiles) | [audit-workflow/pre-audit](audit-workflow/pre-audit.md) |
86| Full audit methodology (5 phases) | [audit-workflow/methodology](audit-workflow/methodology.md) |
87| Anti-skip rules, proof discipline, FP elimination | [audit-workflow/anti-skip](audit-workflow/anti-skip.md) |
88| Finding report template | [audit-workflow/report-template](audit-workflow/report-template.md) |
89| Live documentation sources (ETHSkills, etc.) | [live-sources](live-sources.md) |