Skip to content

Course

Smart Contract Security

A practitioner's path through blockchain security engineering — EVM trust assumptions, reentrancy, oracle manipulation, access control failure, audit methodology, and the economics of irreversible mistakes.

9 lessons

Course Q&A

Reviews

Enrolled members can rate this course.

No reviews yet.

EVM Security Mental Models

Understand execution, state, trust boundaries, privileged roles, and external dependencies before hunting individual bugs.

  1. 01EVM Execution, State, and Trust AssumptionsModel transactions, msg.sender, atomicity, gas, reverts, and contract composition before assuming a Solidity function does what its name claims.25mOpen
  2. 02Access Control, Upgradeability, and Admin RiskAudit privileged roles, initialization, proxy storage, timelocks, and admin compromise paths before debating subtle arithmetic bugs.27mOpen
  3. 03Oracles, Prices, and External Dependency RiskDistinguish market price, reported price, and executable price; analyze oracle freshness, liquidity, manipulation cost, and dependency failure.26mOpen

Exploit Patterns That Drain Contracts

Reentrancy, flash-loan-assisted oracle abuse, accounting invariant failure, and the exploit chains that turn small mistakes into total loss.

  1. 01Reentrancy: Execution Order Is a Security ControlLearn checks-effects-interactions, cross-function and read-only reentrancy, ERC-777/ERC-721 hooks, and why mutexes are not a design substitute.28mPremium
  2. 02Flash Loans, Oracle Manipulation, and MEVUnderstand how temporary liquidity, ordering power, and thin markets turn weak oracle or incentive assumptions into profitable atomic exploits.29mPremium
  3. 03Accounting Invariants, Rounding, and Share MathModel conservation of assets, rounding direction, share inflation, fee-on-transfer mismatch, and the arithmetic edges where vaults quietly leak value.27mPremium

Auditing and the Cost of Mistakes

Audit methodology, invariant testing, tooling, deployment discipline, incident response, and why prevention is cheaper than remediation.

  1. 01Audit Methodology: Threat Model to ReportRun a disciplined audit: architecture review, trust graph, invariant extraction, manual code reading, exploit validation, and remediation-oriented reporting.26mPremium
  2. 02Tooling, Fuzzing, and Invariant TestingUse Foundry, Echidna, Slither, fork tests, and property-based thinking as an evidence pipeline rather than a compliance checklist.25mPremium
  3. 03Deployment, Incident Response, and the Cost of MistakesTreat launch, monitoring, pause authority, exploit response, disclosure, and postmortems as financial controls because irreversible deployment raises the price of error.24mPremium