Securing Your VS Code Environment: Lessons from the Nx Console 18.95.0 Compromise

By

Overview

In a startling incident that underscores the risks of software supply chain attacks, cybersecurity researchers recently discovered a compromised version of a popular VS Code extension. The extension, known as rwl.angular-console (version 18.95.0), was maliciously published to the Microsoft Visual Studio Code Marketplace. This malicious update targeted developers using code editors like VS Code, Cursor, and JetBrains, aiming to steal credentials from unsuspecting users. With over 2.2 million installations of the legitimate extension, the potential impact was enormous. This tutorial will guide you through understanding the threat, identifying if you were affected, and taking concrete steps to protect your development environment from similar attacks.

Securing Your VS Code Environment: Lessons from the Nx Console 18.95.0 Compromise
Source: feeds.feedburner.com

Prerequisites

Before diving into the step-by-step instructions, ensure you have the following:

Step-by-Step Instructions

Step 1: Identify if You Installed the Compromised Version

The malicious extension is specifically rwl.angular-console version 18.95.0. The publisher name is rwl. To check your VS Code extensions:

  1. Open VS Code.
  2. Click the Extensions icon in the sidebar (or press Ctrl+Shift+X).
  3. Search for 'angular-console' or browse the list of installed extensions.
  4. Look for an extension with the publisher rwl and the exact version 18.95.0.
  5. If found, proceed to Step 2 immediately.

Note: The official Nx Console extension is published by nrwl (Nrwl.angular-console). The compromised version uses a similar name but with a different publisher. Always verify the publisher field.

Step 2: Remove the Malicious Extension

If you identified the compromised extension, you must uninstall it promptly:

  1. Click the gear icon next to the extension entry and select Uninstall.
  2. Alternatively, right-click the extension and choose Uninstall.
  3. After removal, restart VS Code to ensure no lingering processes remain.

Do not simply disable the extension—uninstall it completely. Disabling may still leave hooks or background scripts active.

Step 3: Scan Your System for Signs of Compromise

Credential-stealing malware often exfiltrates stored tokens, passwords, or API keys. Run the following checks:

Step 4: Reset Compromised Credentials

Assume any credentials stored on your system could be compromised, especially those used with VS Code (e.g., GitHub tokens, SSH keys, cloud provider secrets).

  1. Rotate all API keys and tokens: Revoke existing tokens in your GitHub, GitLab, AWS, Azure, or other developer accounts and generate new ones.
  2. Change passwords: Update passwords for any accounts that may have been accessed via these tokens.
  3. Enable multi-factor authentication (MFA) on all critical accounts if not already in place.

Step 5: Verify Extension Source Integrity Going Forward

To prevent future incidents, adopt a rigorous approach to extension verification:

Securing Your VS Code Environment: Lessons from the Nx Console 18.95.0 Compromise
Source: feeds.feedburner.com

Step 6: Monitor for Similar Threats

Stay informed about compromised extensions by:

Common Mistakes to Avoid

Summary

The Nx Console 18.95.0 incident serves as a stark reminder that even widely used developer tools can be weaponized. By understanding the threat, checking for the compromised version, removing it, scanning your system, and resetting credentials, you can mitigate the damage. Going forward, adopt a zero-trust mindset for all extensions: verify publishers, review permissions, and stay alert to security announcements. Remember, the safest extension is one that you know and trust—never install blindly.

Tags:

Related Articles

Recommended

Discover More

10 Key Takeaways from the Mixed Reviews of Mortal Kombat 2Defending Against Hypersonic Supply Chain Attacks: A Practical Guide for Security LeadersDivide and Conquer: New RL Algorithm Ditches Temporal Difference Learning for Long-Horizon Tasks10 Ways Go Fix Can Modernize Your CodebaseHow Travel Might Keep You Young: The Science of Slowing Aging Through Exploration