Protocol attack surfaces
Terms used in this lesson
- Oracle
- A system that reports outside information, such as a market price, for use by a protocol.
- API
- Application programming interface: a defined way for one program to request data or actions from another.
- BTC
- The common market ticker for bitcoin.
- USD
- United States dollar, the reference currency in a BTC/USD price.
- Collateral
- An asset pledged against a debt; it can be used to cover the debt if agreed conditions are breached.
- Identifier
- Identifier: a value used to distinguish one request, object, or participant from another.
Parsing, consensus divergence, nonce reuse, oracle manipulation, key compromise, and economic exploits require layered controls.
Loading lesson visuals...
Learn the idea
An attack surface is every input, parser, key, dependency, economic assumption, and operator action that can affect a protocol. Consensus divergence means implementations accept different histories. Nonce reuse can expose signing keys. Oracle manipulation corrupts external data, while economic exploits obey code but violate intended incentives. Layered controls prevent, detect, limit, and recover from different failures.
Inventory assets and boundaries
List funds, keys, state, availability, privacy, and governance decisions plus every component that can change them.
Inspect every idea above to open it.
It proves authorization and integrity under a key. It does not prove freshness, correct source selection, honest measurement, or sound downstream economics.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.