Frustration with JavaScript ecosystem's culture of importing packages for trivial functionality, contrasted with C's single-file libraries like SQLite
← Back to Axios compromised on NPM – Malicious versions drop remote access trojan
The JavaScript ecosystem faces sharp criticism for a culture of "dependency-heavy" development, where trivial functionality often pulls in sprawling trees of transitive packages that many view as inherent security vulnerabilities. While some argue that package managers are essential for modern automation, others champion the "batteries-included" philosophy of languages like Go or the streamlined efficiency of C’s single-file libraries like SQLite. To mitigate constant supply chain risks, developers are increasingly advocating for "vendoring" code, using AI to generate hyper-specific utilities, and reclaiming control by favoring native features over bloated third-party abstractions. This debate highlights a growing tension between the convenience of the NPM registry and the professional necessity of reducing an application’s attack surface.
103 comments tagged with this topic