~/talk

Malicious Modules on npm - a series of unfortunate events

Talkat Geekle Free Online DevOps+JS Conference 2020 · on Tuesday, 2020-04-07· [security, nodejs]
slides:none on file

NPM hosts ~1.2M packages and 70+ billion downloads a month; installing one package implicitly trusts ~79 transitive packages and ~39 maintainers, creating a large attack surface. Real incidents include typo-squatting packages that run postinstall scripts, the getcookies backdoor that executes JS received via HTTP headers, malicious modules that steal .npmrc tokens, and the event-stream compromise via social engineering. Research finds ~61% of packages inactive, ~14% of modules publishable via weak creds (covering ~20% of traffic). Use npm audit, lockfile policies and lockfile injection checks; 2FA adoption remains ~10–15%.

AI-written summary · about

  1. 0:00Start
  2. 2:17Black Clouds & Silver Linings in Node.js Security
  3. 4:08npm's Heavy reuse
  4. 5:22The Biggest Repository Invites big risks
  5. 16:15Reset the buffer
  6. 16:45Observation 1
  7. 18:17What's going on?
  8. 20:07Who depends on eslint-scope?
  9. 20:54Observation 2
  10. 26:51Observation 3
~/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.