~/talk

PACKAGES FOR MASS CONSUMPTION - AN NPM STORY UNFOLDED

Talkat jsday 2020 · 2020-09-10..09-11· [javascript, security]
slides:none on file

Shows concrete incidents and fixes: a maintainer unpublishes left-pad and breaks builds for minutes, attackers gain publish access to 14 modules covering ~20% monthly downloads, and a malicious change inside a checked-in lockfile can redirect installs. Demonstrates tools and controls that actually work: use npm ci / frozen-lockfile, enforce 2FA, run lockfile-lint, set npm ignore-scripts where needed, pin or shrinkwrap for consumers, use nvm for reproducible nodes, and run a local proxy like verdaccio local registry to survive outages and supply-chain twists such as lockfile tampering.

AI-written summary · about

  1. 0:00Start
  2. 7:07Semantic Versioning
  3. 24:13Enterprise Readiness
  4. 28:37Takeaways
  5. 30:48Ignore Scripts
  6. 32:13Will Someone Compromise My Npm Account and Publish Malicious Code
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.