Open Source Dependency Risk: What You're Actually Trusting When You Run 'npm install'
Modern web projects routinely pull in hundreds or thousands of open source packages through a single install command, each one maintained by different people with different levels of ongoing attention, and each one a piece of code running with the same trust as anything you wrote yourself.
What actually goes wrong
- A widely-used package gets compromised, with malicious code inserted into a routine-looking update that thousands of projects then automatically pull in.
- A package gets abandoned, with a known security vulnerability that never gets patched because nobody's actively maintaining it anymore.
- Transitive dependencies — packages your packages depend on, several layers deep — that you've never directly reviewed and likely don't even know you're running.
- License changes or restrictions introduced after a project already depends heavily on a package, creating a legal complication nobody anticipated.
What a reasonable level of caution actually looks like
Automated vulnerability scanning as part of the same engineering process discipline that includes version control and code review, keeping dependencies reasonably current rather than years out of date, and a moment of genuine consideration before adding a new dependency for something that could be written in a few dozen lines instead.
Every dependency you add is code you're trusting without having read it yourself. That's a completely normal, necessary tradeoff in modern software — it's just worth being deliberate about, not automatic.
This is a real extension of the security basics most projects underinvest in — the code you wrote is only part of what's actually running in production.
Talk to us
Have a project in mind? Tell us about it.
Four quick questions and we'll reply within one business day with an honest view on the fastest way to ship it, whether that's our own products, a custom build or an integration.
Start your project
Let’s build something great
Which industry does your business belong to?
Pick the closest match — we'll tailor the rest for you.
Keep reading
Version Control Isn't Optional: What We've Seen Go Wrong Without It
A codebase without version control isn't being maintained. It's being hoped at.
SecurityWebsite Security Basics Most Small Businesses Get Wrong
Nobody hacks small business websites with sophisticated exploits. They just try the same five doors that were never locked in the first place.
SecurityData Privacy Basics Every Small Business Website Needs
Data privacy regulation sounds like a large-enterprise problem until you realize your contact form already makes it your problem too.
