Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Safe Extension UpdaterNew to Visual Studio Code? Get it now.
Safe Extension Updater

Safe Extension Updater

Icaruk

|
3 installs
| (0) | Free
Protects you from malicious updates, unsafe native auto-update setups, and releases published too recently to be trusted.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Safe Extension Updater

Review extension updates before installing them.

Extension updates are a supply chain attack vector: a compromised publisher can push a malicious release that auto-update installs on every machine.

image

Features

  • Lists every pending update.
  • Very recent releases (default < 24 h) are flagged red and skipped by bulk updates.
  • Every update is checked against OSV.dev under both of its identities, Marketplace id and source repository (see How it works), so known malicious packages are blocked.
  • Extensions removed from the Marketplace (malware, impersonation) are listed in their own section with an Uninstall button.
  • Updates from extensions whose source repository is private or missing show a yellow warning line.
  • Extensions that bundle their npm dependencies are checked against OSV too; vulnerable ones are flagged in red.
  • If the installed version has active OSV findings, the row shows a yellow Must update button with links to the advisories: that update fixes them.
  • Installed updates apply on the next window reload; the view shows what is pending a reload.
  • Update all safely: updates only releases older than the configured threshold and never OSV-flagged malicious ones.
  • Detects when single extension auto-update is on, and fixes it in one click.
  • Visual Studio Marketplace and Open VSX, auto-detected.

How it works

Every installed extension is checked against OSV under both of its identities, its Marketplace id and its source repository (from repository). Four queries:

  1. Installed version: Marketplace id + the commit of its git tag. A finding here means your current version is affected: yellow "Must update".
  2. Candidate version (the pending update): Marketplace id + the commit of its git tag. A finding here warns against updating into vulnerable code.
  3. Release history: every git tag commit of the repository. Past findings no longer affecting the candidate version are counted as "past vulnerabilities".
  4. Bundled npm dependencies: the extension's shipped node_modules tree is read from disk — the whole flattened tree, transitive dependencies included — deduplicated by name@version, and each package queried against OSV's npm ecosystem. Webpack-bundled extensions ship no node_modules and are skipped.

Findings are merged and deduplicated by OSV id, commits are read over the git-over-HTTP protocol. Any failure fails open: the other identities still report.

Extension settings

Setting Default Description
extensionUpdater.earlyReleaseProtectionHours 24 Releases younger than this are flagged as recent and guarded.
extensionUpdater.refreshIntervalHours 2 Hours between automatic gallery refreshes (0 disables).
extensionUpdater.gallery auto Gallery source: auto, marketplace or openvsx.

Requirements

  • VS Code 1.85 or newer.

Changelog

See CHANGELOG.md.

Development

npm install
npm run compile
npm test

Live OSV checks against known-CVE extensions (real network): npm run test:live.

Press F5 to launch an Extension Development Host. Package with npx vsce package.

License

MIT

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft