Possessed by Packages: Is Your JavaScript Haunted?
summary
Demo shows npm tooling (npmls / npmls-all) overflowing terminal and a Verdachio demo where a public package overwrites a private scoped package, illustrating dependency confusion with a cited 49% exposure rate. Typo‑squatting example (crossv stealing env vars) and the recent Axios incident are named. Recommendations include post-install scripts blocking (PNPM or npm config set ignore‑scripts), commit lockfiles and pin versions, and run SCA tools like Dependabot, Sneak and Little Snitch plus provenance tooling (sigstore / SLSA).
AI-written summary · about
chapters (21)
- 0:00Welcome and introduction
- 1:28About the event and speaker
- 3:35Why JavaScript is haunted
- 4:36The four levels of possession
- 5:40Supply chain security overview
- 9:55What is typo squatting
- 12:00How typo squatting works
- 13:25Dependency confusion explained
- 15:53Dependency confusion demo
- 17:56What is a backdoor
- 19:59Backdoor history and risks
- 23:08Symptoms of haunting
- 24:55NPM audit and security tools
- 26:40Three levels of exorcism
- 27:44Pinning dependencies and lock files
- 28:49Ignoring post install scripts
- 31:19Software composition analysis
- 33:05Security policies in teams
- 35:11SLSA framework explained
- 37:00Team policy and UX umbrella
- 39:28Key takeaways and closing
