Introduction to Secure Smart Contract Development
How to build contracts that resist attack: secure design patterns, audited libraries and access control, emergency stops, upgradeable contracts and their risks, and the tools and processes used to analyse and audit contracts before and after deployment.
- 4 lessons
- Module quiz
Knowing the vulnerabilities is half of security; the other half is building contracts that avoid them. This module covers secure design patterns, audited libraries and access control, upgradeable contracts, and the tools and processes that verify security.
What the exam expects
Questions ask for the best fix or design: checks-effects-interactions, pull payments, reentrancy guards, Ownable and AccessControl, Pausable, proxies and initialisers, and the right mix of testing, analysis and auditing.
How this module is organized
Secure Design Patterns covers the core patterns. Using Audited Libraries and Access Control covers OpenZeppelin and privileged roles. Upgradeable Contracts and Proxies covers proxy designs and their risks. Security Analysis and Audits covers static analysis, fuzzing, audits and bug bounties.