bi-02 step 02 — Trust boundaries in practice
Goal
Locate, in source, three places where the browser process refuses to trust a renderer — and state what an attacker gets if each check is removed.
Tasks
-
Read the threat model. Read
docs/security/compromised-renderers.md. Its section list is an inventory of what a compromised renderer must not obtain. Pick three sections that surprise you. -
Find an enforcement point. Locate where
frame-ancestors/X-Frame-Optionsis enforced. Confirm it is browser-side and explain why it cannot be enforced in the framed renderer. -
Find a validation site. Open a browser-side Mojo interface implementation. Identify the validation it performs on renderer-supplied data. Find its test that feeds invalid input — that test is the compromised-renderer model expressed as code.
-
Read the Rule of Two. Read
docs/security/rule-of-2.md. Find one utility process that exists because of it, and say which of the three conditions it drops. -
Cookies. Explain, in three sentences, why
HttpOnlyis meaningful given thatdocument.cookieexists — using process boundaries, not JavaScript.
Done when
- Three surprising entries from the threat model recorded
- One browser-side enforcement point located with its rationale
- One Mojo validation test found
- You can explain why "the checks stop it" was insufficient after Spectre