Reviewed Aug 2026
DE
BA-10 · LESSON 07

Protocol attack surfaces

KEY DEFINITIONS

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.

55 min Difficulty 3/5 Not started

Loading lesson visuals...

01

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.

GUIDED EXPLANATION1/5 ideas inspected
1

Inventory assets and boundaries

List funds, keys, state, availability, privacy, and governance decisions plus every component that can change them.

Inspect each idea before the worked example.
The worked example follows the explanation

Inspect every idea above to open it.

Important distinctionA valid digital signature makes external data trustworthy.

It proves authorization and integrity under a key. It does not prove freshness, correct source selection, honest measurement, or sound downstream economics.

02
FINISH LEARNING FIRST

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.