Malicious VS Code AI Extensions Found Stealing Credentials and Source Code

Overview
Security researchers have uncovered a set of malicious Visual Studio Code extensions masquerading as AI-powered developer tools, designed to steal credentials and sensitive source code from unsuspecting users. The extensions were distributed through unofficial channels and promoted as productivity-enhancing AI assistants.
How the Extensions Work
Once installed, the extensions silently monitor developer activity and collect sensitive information, including:
- Authentication tokens
- API keys
- Source code files
- Clipboard data
The stolen data is then exfiltrated to attacker-controlled servers.
Why This Is Dangerous
VS Code extensions operate with elevated access inside development environments. Malicious extensions can compromise not only individual developers but also entire organizations.
Attackers can leverage stolen credentials to gain access to internal systems, repositories, and cloud services.
What Developers Should Do
- Install extensions only from trusted publishers
- Review requested permissions carefully
- Avoid unofficial AI tooling
- Monitor outbound network connections
- Regularly audit installed extensions
Final Thoughts
As AI-driven tools become more common in development workflows, attackers are increasingly exploiting trust in these technologies. Awareness and caution remain essential in protecting development environments from emerging threats.