What problem does it solve?
It reduces the risk of losing funds and getting hacked by teaching concrete Solidity security patterns, showing the most common vulnerabilities, and providing defensive implementations you can apply before deployment.
Core Features & Use Cases
- Defensive implementations for common vulnerabilities: Reentrancy-safe withdrawal patterns (CEI + nonReentrant), safe token transfers/approvals via SafeERC20, and strict input validation to prevent zero-address/zero-amount and bounds issues.
- Protocol-risk guidance for onchain integrations: Oracle safety (avoid DEX spot prices, use Chainlink/TWAP with staleness checks), MEV/sandwich defenses (explicit amountOutMinimum, private RPC routing), and ERC-4626 vault inflation mitigations (virtual offsets).
- Pre-deploy audit checklist: A repeatable run-through covering access control, oracle safety, integer math correctness, event emission, proxy/upgrade safety (initializer usage, storage layout, multisig upgrade authority), signature replay safety (EIP-712), and delegatecall constraints.
Quick Start
Use the security skill to review a contract intended for value custody by going through the pre-deploy checklist and updating the identified weak spots before you deploy.