Skip to content
Myr

[Docs] threat model: document the mirror payload/metadata trust boundary

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Payloads (binaries, plus source tarballs that nvm compiles and runs at install time) are trusted by construction, since nvm exists to build and run them; parsed metadata (index.tab, SHASUMS, LTS codenames) is not, and must never reach a command evaluator, an awk/sed program body, or an unvalidated filesystem path. This records why the existing version-string and checksum hardening exists, and scopes a malicious payload from a configured mirror as out of scope: no privilege boundary is crossed.

authored by Jordan Harband · committed by Jordan Harband · parent d83da5d · Browse files · 1 file+32 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+32 added−0 removed

  • other:+32 added−0 removed

1 file+32 added−0 removed

modified:.github/THREAT_MODEL.md+32 added