✳ Learn / Thirty days to Halcyon / Case 4 of 15
Case 4: The borrowed package
Can we trust the flight-planning build?
5 episodes, about 71 minutes.
How it opens
Seven days before the flight-planning software freezes, Sloane asks whether the build can be trusted. Nobody in the room can answer. Vera hands you a marker and tells you to start small.
The episodes
Pass all 4 episodes to close the case. One side episode is optional. A sentence about each episode appears here once you pass it.
Episode 1 · 15 min
Threat model a service before you build itNot found yet.
Episode 2 · 15 min
The code you inherit with one importNot found yet.
Episode 3 · 13 min
Who can write and who can shipNot found yet.
Episode 4 · side episode · 15 min
A coding agent is an untrusted authorNot found yet.
Episode 5 · 13 min
An SBOM is evidence about one buildNot found yet.
Who is in this case
Sloane Sterling
asked whether the build could be trusted
Vera Vance
started the threat model small
Dax Mercer
added the one line, and later met the coding agent's pull request
Kael Cho
pinned the tree and moved the production key
Nyx
found the production key in the test job
The ending
How this case ends is held back until you pass every core episode. Your progress is saved on this device.
The parts of this page that follow your progress need JavaScript. You can still read how the case went, in full, below.
You are reading the ending without having closed the case. Your record is unchanged.
Show the ending anyway
How each episode went
- Episode 1. The flight-planning diagram has a box for code Meridian did not write, and nobody had drawn a trust boundary around it.
- Episode 2. One line brought in 43 packages, and the lockfile pins parse-lite three levels down, but a pin proves what was installed, not who published it.
- Episode 3. The test job held the production key, so one unreviewed push could ship, and now a release takes a second reviewer and a signed digest.
- Episode 5. The package three levels down had changed owners, and the fixed build shipped with an SBOM bound to the digest that production runs.
The answer
A dependency three levels down changed owners before the release Meridian was running. Because the SBOM matched the digest in production, Sloane had her answer in 20 minutes. The fixed version shipped through a pipeline where nothing ships on one person's say-so, and the freeze went ahead with the new SBOM attached.
You can now
- Draw a data flow diagram with its trust boundaries marked From: Threat model a service before you build it
- Tell a direct dependency from a transitive one using the manifest and the lockfile From: The code you inherit with one import
- Separate what an unreviewed pull-request job may touch from what a release job may touch From: Who can write and who can ship
- Verify that an SBOM belongs to the exact build and digest running in production From: An SBOM is evidence about one build
Review these lessons: the review queue brings back their exercises when they are due.
← Case 3: The helpful botCase 5: A letter from the launch director →