mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-19 14:36:22 -05:00
They were installed with `npm i -g`, which pinned only the three top-level versions and resolved their 156 dependencies fresh from the registry, so a forged TLS certificate (as the eMudhra key compromise allowed) could change code WROLPi runs on every archive. npm-tools/package-lock.json pins every package with its sha512, and install_npm_tools.sh runs `npm ci` and links the commands into /usr/local/bin for every install path, upgrades, both images and the archive container. The app container's unpinned, unused global serve is removed. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
10 lines
288 B
JSON
10 lines
288 B
JSON
{
|
|
"name": "wrolpi-npm-tools",
|
|
"private": true,
|
|
"description": "Command-line tools WROLPi runs; installed from package-lock.json by scripts/install_npm_tools.sh.",
|
|
"dependencies": {
|
|
"readability-extractor": "0.0.6",
|
|
"serve": "12.0.1",
|
|
"single-file-cli": "2.0.73"
|
|
}
|
|
}
|