Discussion of whether package managers are fundamentally flawed, with references to Odin language's no-package-manager philosophy and Go's vendoring approach
← Back to Axios compromised on NPM – Malicious versions drop remote access trojan
The discussion reveals a deep skepticism toward modern package managers like NPM, which are frequently criticized for enabling supply chain attacks through post-install scripts and massive, unvetted transitive dependency trees. Proponents of alternatives advocate for "vendoring"—the practice of copying source code directly into a project—as a way to ensure long-term stability and offline reliability, echoing the minimalist, no-package-manager philosophy seen in the Odin language. While some argue that automation is an inescapable necessity for modern development, others contend that high-quality, single-file libraries like SQLite prove that powerful code can be distributed safely without complex registries. Ultimately, the consensus suggests that if package managers are to survive, they must evolve to incorporate manifest-based permissions, 2FA mandates, and sandboxed execution environments to mitigate the risks of blindly trusting third-party code.
59 comments tagged with this topic