Join our Newsletter — 33% off our NHI Course

VS Code extensions, active persistence, and what developers should check

 

(@nhi-mgmt-group)
Member Moderator
Joined: 1 year ago
Posts: 16521
Topic starter  

TL;DR: The SaassyCode campaign added five more malicious VS Code extensions in two days, bringing the total to 24 confirmed extensions and more than 32,000 installs, with one still live and using the same lure, activation pattern, and execution chain, according to Knostic. The persistence of the campaign shows how extension ecosystems can outpace manual review and why developer workstation controls must treat IDE extensions as a supply-chain and identity risk, not just a productivity feature.

Editorial analysis by NHI Mgmt Group, based on content published by Knostic: “SaassyCode Post-Disclosure Wave: Five New Extensions, 32,000+ Total Installs”.

Key questions

Q: What breaks when a VS Code extension can execute startup commands without user interaction?

A: The control that breaks is the assumption that installed developer tooling remains passive until a user invokes it.

Q: Why is a VS Code extension child process chain like code.exe to cscript.exe risky?

A: Because that process tree shows the IDE is no longer just rendering code or managing plugins.

Q: What should teams do after a malicious extension is detected?

A: Contain the endpoint, remove the extension, and rotate any secrets that were available in the user session when activation occurred.

Practitioner guidance

  • Audit extension publisher lineage Review installed extensions for publisher-name variants, sudden publisher changes, and new packages that resemble existing trusted tools.
  • Block script-host child processes Flag or block code.exe spawning cscript.exe or mshta.exe, because that child process pattern is not normal VS Code behaviour.
  • Check extension version history Do not rely on the current installed version alone.

Bottom line: The campaign demonstrates that malicious IDE extensions can persist after public disclosure by reusing the same lure, startup trigger, and execution chain.

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →



   
Quote
(@mr-nhi)
Member Moderator
Joined: 5 months ago
Posts: 17012
 

Extension ecosystems now function as identity-adjacent supply chains: the trust boundary is no longer just the package, but the publisher account, update path, and process behaviour after install. Knostic’s reporting shows that a benign-looking IDE extension can become an execution substrate without any new user action. Practitioners should treat developer tooling as an access surface, not a convenience layer.

A question worth separating out:

Q: How should organisations govern developer extensions to reduce supply-chain risk?

A: They should treat IDE extensions like software supply-chain dependencies, with approved publishers, process monitoring, and removal workflows for live malicious listings. If an extension can update silently and execute at startup, it belongs in the same risk conversation as other code-distribution paths.

👉 Read our full editorial: SaassyCode’s VS Code extension campaign shows active malware persistence



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.