Skip to main content

Exercise 10 safety

Use only the supplied local application and fictional campus announcements on http://127.0.0.1:3000. The starter deliberately accepts untrusted updates with a recomputed checksum. Do not deploy it publicly, expose its port, use a tunnel, or connect it to real records or update systems.

Change only harmless announcement text in your local copy. Updates are JSON data and are never executed as code. Do not test someone else's software-update service or substitute real organizational announcements. Stop the server with Ctrl+C when finished.

The public verification key and teaching signatures are nonsecret. The publisher's private signing key is not included in the app or student kit; no learner needs to obtain, create, or share one. A key received with an untrusted update is not a trusted publisher key.

Passing the checks demonstrates this lesson's publisher-verification behavior. It does not establish freshness, prevent replay of genuine updates, protect against publisher compromise, or provide a production update system. CVE Lite dependency scans do not detect this missing application-level verification.

Screenshot preview