athena-mcp 1.0.7 → 1.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +32 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -116,6 +116,38 @@ claude "scan contracts/test-cases/Reentrancy.sol with slither and aderyn"
|
|
|
116
116
|
- NFT certificate minting (ERC-1155, S/A/B/C tiers)
|
|
117
117
|
- Verification links to Etherscan + EAS explorer
|
|
118
118
|
|
|
119
|
+
### Try Different Contracts
|
|
120
|
+
|
|
121
|
+
Pre-crawled test contracts with known vulnerabilities. Each includes difficulty level and expected findings.
|
|
122
|
+
|
|
123
|
+
**Beginner**
|
|
124
|
+
- `contracts/test-cases/Reentrancy.sol` — Classic reentrancy (external call before state update)
|
|
125
|
+
- `contracts/test-cases/AccessControl.sol` — Missing access control (unprotected mint/burn/transfer)
|
|
126
|
+
- `contracts/test-cases/SafeContract.sol` — Reference contract with NO vulnerabilities (false positive test)
|
|
127
|
+
|
|
128
|
+
**Intermediate**
|
|
129
|
+
- `contracts/test-cases/FlashLoan.sol` — Flash loan price manipulation (spot-price oracle, no TWAP)
|
|
130
|
+
- `contracts/test-cases/IntegerOverflow.sol` — Integer overflow in unchecked blocks
|
|
131
|
+
- `contracts/test-cases/AgentEscrow.sol` — Agent-to-agent escrow (reentrancy + missing state checks)
|
|
132
|
+
- `contracts/test-cases/AgentIdentity.sol` — AI agent identity (reputation manipulation)
|
|
133
|
+
|
|
134
|
+
**Advanced**
|
|
135
|
+
- `contracts/test-cases/ReadOnlyReentrancy.sol` — Read-only reentrancy (Curve/Balancer 2023 style)
|
|
136
|
+
- `contracts/test-cases/PrivacyToken.sol` — Privacy token (ZK proof bypass, merkle manipulation)
|
|
137
|
+
- `contracts/test-cases/GEVTest.sol` — Generalized Extractable Value (MEV, oracle, governance)
|
|
138
|
+
|
|
139
|
+
Quick commands:
|
|
140
|
+
```bash
|
|
141
|
+
# Beginner
|
|
142
|
+
claude "audit contracts/test-cases/AccessControl.sol and mint NFT certificate"
|
|
143
|
+
|
|
144
|
+
# Intermediate
|
|
145
|
+
claude "audit contracts/test-cases/FlashLoan.sol and mint NFT certificate"
|
|
146
|
+
|
|
147
|
+
# Advanced
|
|
148
|
+
claude "audit contracts/test-cases/ReadOnlyReentrancy.sol and mint NFT certificate"
|
|
149
|
+
```
|
|
150
|
+
|
|
119
151
|
---
|
|
120
152
|
## 核心工作流(8 步闭环)
|
|
121
153
|
|