/ THE IDEA
Start by naming an asset: something worth protecting, such as the list of paid orders. Then name the actors, meaning people or programs that interact with it. Draw where information moves and which component makes each important decision. A trust boundary is a point where information or control crosses between different levels of authority. A customer browser and a warehouse database occupy different sides. Data crossing the boundary needs checks appropriate to its new job; being valid text does not make a payment status true. The model asks what an attacker can supply, what the receiving component assumes and what happens if the assumption is false. A useful response changes the design or adds a test, rather than merely labelling the arrow dangerous.
THE FORMAL IDEA
untrusted claim → independent check → permitted action
| The arrow means the next decision in the workflow, not a mathematical implication. | | Untrusted means the receiver cannot rely on the sender for that particular claim; it does not mean every sender is malicious. |
|
RUN THE TINY EXAMPLE
Change one thing. Predict what happens.
Customer sends order 42 with paid = true. Server checks its own payment record: unpaid → do not dispatch. Change only the server record to paid → dispatch becomes eligible. Changing the customer-supplied flag alone never changes payment authority.
|
The toy test identifies the boundary precisely. The customer can choose a delivery address, but cannot create evidence that money arrived. A separate check links dispatch to the record that actually has authority over payment.
/ SO WHAT?
This makes review questions concrete: who can edit this field, which component trusts it, and what prevents the wrong action? Repeat the exercise when a new integration appears. A partner service may have permission to report delivery without permission to refund an order. Authority is specific, not a single trustworthy-or-untrustworthy label.
ONE CAVEAT |
| A model is not proof that a system is safe. Missing actors, hidden dependencies and changed workflows can invalidate it; testing and updating the assumptions remain necessary. |
KEEP THIS
When a message crosses into greater authority, verify the claim using evidence that the sender cannot simply invent.
|
NEXT: Why does a glowing gas choose particular colours?
|