The post says modern package managers make it too hard for users and security teams to intercept installs at the right moment. The proposed fix is simple in spirit: package managers should support global, user-configured hooks such as PreInstall, PreFetch, or PreBuild so a local security tool can inspect metadata, apply a threat feed, enforce cooldowns on newly published packages, check signatures, or run its own analysis before a dependency is fetched or resolved. The author is not pitching one detection method so much as a standard place to attach policy across ecosystems that currently vary wildly in hook support.
The strongest reaction was that this treats the symptom, not the disease. People kept coming back to the difference between fast, open registries like
npm,
PyPI,
Cargo, or the
AUR and slower curated systems like Debian and the official Arch repos. Debian works differently because maintainers are vetted, packages often pass through an independent packager rather than the upstream author, and software sits in testing long enough for scrutiny. That structure is doing real security work. Several commenters said the lesson from recent malware campaigns is not "give every user better scanners" but "stop publishing straight to millions of machines with no human gate." Others pushed a middle view: users cannot realistically audit all transitive dependencies, so package managers still need interception points for whatever protections teams can deploy today.
The comments also sharpened the technical scope. Install-time script execution is not the core problem, because arbitrary code at install time exists in more ecosystems than npm and malware can just move into shipped source files like index.js. The more important missing control is the ability to examine and influence dependency resolution and fetch behavior before a package manager commits to a version set. Skeptics warned that once you try to make hooks "global," you are effectively defining a new cross-package-manager interface with shared events and metadata. That is harder than the post makes it sound, and it risks becoming another partially adopted standard. The practical consensus landed here: hooks would be useful as one more control point, but they are nowhere near enough without stronger publishing rules, isolation, curated mirrors, or slower rollout paths.