Malicious Code Vulnerability in @angulaar/cli Package

@angulaar/cli Updated 05 Oct 2026

Summary

05/10/2026
CRITICAL
No i
Critical
Not published

MAL-2026-17536: Malicious code in @angulaar/cli (npm). Affects @angulaar/cli versions 22.2.1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The @angulaar/cli package is a deceptive clone of the widely used @angular/cli package, which is essential for Angular application development. It provides command-line tools for creating, building, and managing Angular projects. However, this malicious version has been crafted to mislead developers, as it closely resembles the legitimate package but contains harmful code.

Vulnerability Detail

The vulnerability arises from the @angulaar/cli package, which is a one-character alteration of the legitimate @angular/cli package. This malicious package copies the README, LICENSE headers, and source files from the original package, making it appear trustworthy. However, it alters the dependencies to include '@modelcontextprotocol/server', a non-official package name. This allows the installation of potentially harmful code during the npm install process, posing a significant risk to developers who mistakenly use this package instead of the legitimate one.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @angulaar/cli

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, ensure that you are using the correct package name when installing Angular CLI. Always verify the package name before installation to avoid confusion. You can also use the following command to check for the presence of the malicious package:

npm list @angulaar/cli

Conclusion

The @angulaar/cli package poses a significant threat to developers due to its malicious nature. By understanding the risks and taking appropriate actions, such as uninstalling the malicious package and using the official version, developers can protect their projects from potential harm.

See every vulnerability recorded for @angulaar/cli →

Share this vulnerability

FAQ

The @angulaar/cli package is a malicious clone of the official @angular/cli package, designed to deceive developers into installing harmful code.

You can check your package.json or use the command 'npm list @angulaar/cli' to see if the malicious package is present in your project.

You should uninstall the @angulaar/cli package immediately and install the official @angular/cli package instead.

If the malicious package is installed, it can execute harmful code on your system, potentially compromising your project and its dependencies.

Yes, Vulert can monitor your project for open-source vulnerabilities using your package-lock.json file. You can check for vulnerabilities in real-time without needing to install any software.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall @angulaar/cli

If it arrived as a transitive dependency, remove the package that pulled it in, then reinstall.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback