VS Code 1.123 Adds Two-Hour Extension Update Delay to Limit Supply Chain Attacks

· Source: InfoQ · Field: Technology & Digital — Software Development & Engineering, Cybersecurity & Data Privacy · Depth: Intermediate, short

Summary

VS Code 1.123, released on June 3, introduces a two-hour delay for newly published extension versions before automatic updates are deployed to users. This measure aims to provide a window to detect and pull malicious updates if an extension maintainer's account is compromised, preventing widespread distribution to millions of developers. However, extensions from "trusted publishers" like Microsoft, GitHub, and OpenAI are exempt from this delay. This change aligns with similar supply chain security controls in other package ecosystems, such as Pip 26.1's configurable dependency cooldowns (up to seven days) and RubyGems' opt-in cooldowns. Community feedback on Reddit largely criticized the two-hour duration as insufficient, citing that many supply chain compromises are discovered days or weeks later. Alternative suggestions included sandboxing extensions with explicit permissions or implementing staged rollouts. The article also highlights the lack of similar cooldown mechanisms in WordPress, where attackers have previously exploited long-term vulnerabilities.

Key takeaway

For IT Professionals managing VS Code deployments, the new two-hour extension update delay offers a minimal but automatic layer of protection against supply chain attacks. You should not rely solely on this short window for critical security. Consider disabling automatic updates and implementing policy-based allowlists or a curated internal marketplace to enforce longer, more robust cooldowns or manual vetting. This approach provides greater control and aligns with practices proven to avoid more problems than they cause in other package ecosystems.

Key insights

Implementing update delays for software components can mitigate supply chain attack impact by providing a detection window.

Principles

In practice

Topics

Best for: CTO, VP of Engineering/Data, Director of AI/ML, Software Engineer, Security Engineer, IT Professional

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by InfoQ.