Early rate$2,400 of senior audit time for $500. Early members keep the rate as it climbs.$2,400 of senior audit time for $500See how
Security research

Security Research.

Public write-ups on the bugs, patterns, and protocols we audit. Engineer-to-engineer, no fluff.

Filter
Showing 8 of 164

All research.

Auditing a Live Protocol: Lessons from the Juicebox Buyback Delegate Security Review
DeFi Protocol AnalysisMay 19, 2023·7 min

Auditing a Live Protocol: Lessons from the Juicebox Buyback Delegate Security Review

Learn how to prepare a security audit summary for an already deployed protocol. A practical walkthrough using the Juicebox Buyback Delegate audit.

Read
Liquity Protocol — DeFi Protocol Explained from Its Smart Contracts (Part 1)
DeFi Protocol AnalysisApr 28, 2023·12 min

Liquity Protocol — DeFi Protocol Explained from Its Smart Contracts (Part 1)

Deep dive into Liquity protocol's smart contracts: LUSD/LQTY tokens, Troves, borrowing mechanics, price feeds, and liquidation logic explained from the source code.

Read
Real-Life Denial of Service Attacks on Smart Contracts
Web3 Attack VectorsApr 26, 2023·10 min

Real-Life Denial of Service Attacks on Smart Contracts

Explore real-life examples of Denial of Service (DoS) attacks on smart contracts found in audit contests. Learn about DoS caused by underflow, gas limits, nonReentrant modifiers, external calls, and malicious receivers.

Read
Inline Assembly Gas Tricks: Hashing, Loops & Storage Writes That Save 30%+ in Solidity
Smart Contract SecurityApr 23, 2023·5 min

Inline Assembly Gas Tricks: Hashing, Loops & Storage Writes That Save 30%+ in Solidity

Learn how to use inline assembly (Yul) in Solidity to save gas on hashing, loops, math operations, storage writes, zero-address checks, and ETH balance reads — with side-by-side gas comparisons.

Read
Aave V3 Pool.sol Deep Dive: Supply, Borrow & Withdraw Logic Every Auditor Must Know
DeFi Protocol AnalysisApr 18, 2023·8 min

Aave V3 Pool.sol Deep Dive: Supply, Borrow & Withdraw Logic Every Auditor Must Know

Deep dive into Aave V3 Pool.sol — supply, withdraw, borrow, and repay functions explained. Understand the core smart contract architecture auditors need to know.

Read
Phishing Attack in Web3: Why You Should Never Use tx.origin
Web3 Attack VectorsMar 7, 2023·6 min

Phishing Attack in Web3: Why You Should Never Use tx.origin

Learn why using tx.origin for authorization in Solidity is vulnerable to phishing attacks, how attackers exploit it, and how msg.sender prevents it.

Read
Solidity Gas Optimization: Understanding How EVM Works Can Save You Gas
Smart Contract SecurityMar 1, 2023·5 min

Solidity Gas Optimization: Understanding How EVM Works Can Save You Gas

Learn how understanding the Ethereum Virtual Machine internals — cold vs warm access, zero vs non-zero storage, variable packing, and uint sizing — can significantly reduce gas costs in your Solidity smart contracts.

Read
Reentrancy Attacks in Solidity — Understand Them and Prevent Them
Web3 Attack VectorsFeb 28, 2023·11 min

Reentrancy Attacks in Solidity — Understand Them and Prevent Them

Learn what reentrancy attacks are in Solidity smart contracts, how attackers exploit them, and three prevention techniques including noReentrant modifiers, Checks-Effects-Interactions pattern, and GlobalReentrancyGuard.

Read