Supply Chain Attack Prevention Moves From Opt-In to Opt-Out
Supply chain attack prevention for software now increasingly relies on default platform controls that delay or block untrusted code execution in plugins, extensions, and dependencies, instead of assuming new code is safe until proven otherwise. WordPress, Visual Studio Code, and GitHub’s npm registry are all shifting their security baselines in this direction. Each platform is inserting friction at a different point in the lifecycle: WordPress is slowing plugin and theme distribution, VS Code is throttling automatic extension updates, and npm is disabling install scripts unless a project explicitly approves them. The shared aim is to stop attackers from turning one compromised plugin, extension, or package into a mass compromise of websites, IDEs, and CI systems. This also reframes the developer trade-off: convenience is still available, but the safest path now tends to be the default rather than an optional hardening step.
WordPress ‘Protect The Shire’ and the 24-Hour Plugin Update Delay
WordPress has launched its Protect The Shire initiative to secure all plugins and themes in the official WordPress.org directories, responding to rising WordPress plugin security concerns and broader ecosystem attacks. As part of this shift, WordPress is temporarily imposing a 24-hour delay before plugin and theme updates reach users via auto-updates, creating time to scan releases for malicious changes. The project describes this as a “liminal period” where it must balance fast security patches against the risk of shipping compromised code. According to WordPress, “2026 will be a year of tension between two approaches: updating as quickly as possible to stay secure, and holding back on updating to stay secure.” Behind the scenes, its Plugin Team has expanded AI-assisted scanners and automated checks to flag issues for human reviewers, aiming for a future where these delays shrink to minutes while still catching supply chain attacks such as the earlier Essential Plugins incident.
VS Code Extension Security: Two-Hour Auto-Update Cooldown
Microsoft is adding a time buffer to VS Code extension security by delaying automatic updates for most extensions by two hours. In VS Code 1.123, when auto-updates are enabled, new extension versions install two hours after publication, giving maintainers and security teams a window to spot and pull back compromised or broken releases before they hit the bulk of users. Developers who want speed over caution can still update immediately using the Update button. The delay does not apply to extensions from trusted publishers such as Microsoft, GitHub, and OpenAI, which continue to update right away. This approach mirrors minimum release age controls now seen in Bun, pnpm, npm, Yarn, and Bundler, where new package versions must reach a certain age before installation. Together, these guardrails reduce dependency code execution risks from freshly published malicious versions without fully sacrificing developer control or responsiveness.

npm Install Scripts Security: From Trusted-By-Default to Explicit Approval
GitHub is overhauling npm install scripts security in npm 12 by turning off install-time lifecycle scripts by default. GitHub calls these scripts the “single largest code-execution surface in the npm ecosystem” because npm install currently runs scripts across every transitive dependency, meaning one compromised package can execute arbitrary code on a developer machine or CI runner. In npm 12, preinstall, install, and postinstall scripts will not run unless the project explicitly allows them via configuration. Similarly, npm install will not resolve Git or remote URL dependencies unless developers opt in with flags such as --allow-git or --allow-remote. Even implicit node-gyp rebuilds are blocked under the new allowScripts defaults. GitHub states, “Making script execution opt-in closes that path while keeping it one command away for the packages you trust,” shifting npm from a trust-first model to one that requires clear user intent before dependency code runs.

How Developers Should Balance Convenience With Safer Defaults
For developers, these changes mean security-sensitive defaults are becoming the norm while convenience features move behind explicit choices. WordPress’s 24-hour auto-update delay may slightly slow access to new features or urgent bug fixes, but it also adds supply chain attack prevention for millions of sites relying on WordPress plugin security. VS Code users can accept the two-hour extension cooldown as a sensible defense, overriding it only when they need an immediate fix or a trusted release. With npm 12, teams must decide which dependencies are allowed to execute install scripts or use Git and remote sources, documenting those approvals in configuration instead of trusting the full dependency tree. The wider lesson is that safe defaults now expect developers to consciously opt into risk. Teams should update security policies and onboarding guides so that these new controls are treated as standard practice, not optional friction to work around.






