Arguments that curated package repositories like Debian's approach of staging and human review could apply to npm ecosystem
← Back to Axios compromised on NPM – Malicious versions drop remote access trojan
To address the increasing frequency of supply chain attacks, many argue that modern ecosystems like npm should abandon their "wild west" publishing model in favor of the curated, human-reviewed approach used by Linux distributions. Proponents suggest implementing tiered "rings" of trust, mandatory staging periods, and M-of-N auditor sign-offs to ensure that critical dependencies are pulled into a repository through rigorous oversight rather than pushed on a whim by a single developer. While some worry that the sheer volume of packages makes this model difficult to scale, others envision a "code-review-as-a-service" economy where users pay for vetted, stable bundles similar to the historic reliability of CPAN or Debian. Ultimately, the consensus leans toward moving accountability away from individual consumers and into a centralized, pull-based distribution layer that prioritizes long-term security over the speed of unverified releases.
37 comments tagged with this topic