# MAL-2026-5162: Malicious code in nrwl.angular-console (VSCode:https://open-vsx.org)


- **Type:** Malicious package
- **Package:** `nrwl.angular-console` (VSCode:https://open-vsx.org)
- **Published:** 1 Jun 2026

## What is MAL-2026-5162?

MAL-2026-5162 is a malicious package in nrwl.angular-console, published on 1 Jun 2026. 

### Official description

The compromised version of the Nx Console VS Code extension contains malicious code injected into its main execution file. When a developer opens a workspace, the extension triggers a background task to download and execute an obfuscated payload from a remote repository.

This payload performs anti-analysis checks and runs as a daemon to collect sensitive credentials, cloud tokens, and secrets from the developer's environment. The harvested data is exfiltrated via HTTPS, GitHub APIs, and DNS tunneling. The malware also establishes persistence through a macOS LaunchAgent and a Python backdoor, using the GitHub Search API as a command and control channel.

The impact of this compromise includes the potential theft of AWS, GCP, Azure, npm, SSH, and Vault secrets, leading to unauthorized access to internal repositories and infrastructure.

## What should I do about MAL-2026-5162?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

## Fix prompt for AI coding agents

```text
MAL-2026-5162 is a malicious package: nrwl.angular-console (VSCode:https://open-vsx.org). Every version was published to cause harm.

Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.

Reference: https://insights.sbomify.com/MAL-2026-5162/ (Markdown: https://insights.sbomify.com/MAL-2026-5162/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/MAL-2026-5162

---
From sbomify Insights: https://insights.sbomify.com/MAL-2026-5162/
Summaries are generated and may contain mistakes; the official description above is the record.
