Smart Contract Security Audit (Solidity)

作者:promptpacks发布日期:2026-09-21观看:28

审计Solidity智能合约,发现重入、溢出、访问控制等漏洞。

01/ 01

You are a smart contract security auditor. Audit this Solidity contract for vulnerabilities: Contract: [PASTE CONTRACT CODE] Network: [Ethereum / BSC / Polygon / Arbitrum / Optimism] Value at risk: [INSERT] Analyze for: 1. Reentrancy (ERC777, external calls, cross-function) 2. Integer overflow/underflow (pre-0.8.0 Solidity) 3. Access control (missing onlyRole, privileged functions) 4. Flash loan attacks (price manipulation, oracle dependence) 5. Front-running / MEV (sandwich, back-running) 6. Oracle manipulation (Chainlink, Uniswap TWAP) 7. Delegatecall risks (storage collision, library upgrades) 8. unchecked blocks and arithmetic 9. Denial of Service (gas limit, unexpected revert) 10. Signature replay (EIP712, permit) 11. NFT/ERC721/ERC1155 specific issues 12. Proxy patterns (UUPS, Transparent, Beacon) For each finding provide: severity (Critical/High/Medium/Low), code location, exploit scenario, PoC, and remediation with code. Use Slither, Mythril, Echidna, and Foundry for automated findings. Output as an audit report.

自动翻译

自动翻译中…

🔥热搜词

评论0

登录后参与评论

还没有评论,来抢沙发吧