Malicious Code Vulnerability in schematics-cli: A Critical Security Concern

schematics-cli Updated 02 Oct 2025

Summary

31/07/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6653: Malicious code in schematics-cli (npm). Affects schematics-cli versions 9.1.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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

schematics-cli is a command-line interface for Angular developers, enabling them to create and manage Angular projects with ease. It provides tools for generating components, services, and other project elements, streamlining the development process. However, recent findings have revealed that version 9.1.1 of schematics-cli contains malicious code that poses significant security risks to users.

Vulnerability Detail

The vulnerability identified as MAL-2025-6653 originates from a malicious code injection in the schematics-cli package. This code can potentially compromise user systems, leading to unauthorized access, data breaches, or system manipulation. The malicious behavior is embedded within the package, making it difficult for users to detect without thorough scrutiny. The implications of this vulnerability are severe, as it can affect any project utilizing this package, exposing sensitive information and system integrity.

How To Fix

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

npm uninstall schematics-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, users can avoid using version 9.1.1 of schematics-cli and revert to a previous stable version that does not contain the vulnerability. You can do this by running: npm install schematics-cli@<previous_version>, replacing <previous_version> with the last known safe version.

Conclusion

The discovery of malicious code in the schematics-cli package version 9.1.1 poses a significant threat to users. It is crucial to update to the latest version to mitigate risks associated with this vulnerability. Utilizing tools like Vulert can help monitor and alert users about such vulnerabilities in real-time.

See every vulnerability recorded for schematics-cli →

Share this vulnerability

FAQ

schematics-cli is a command-line tool for Angular developers that helps in generating and managing Angular project components.

You can check if your project is affected by using Vulert, which monitors vulnerabilities in open-source packages. Visit Vulert Scanner to analyze your package-lock.json file.

If immediate updates are not possible, consider using a previous stable version of schematics-cli as a temporary workaround until you can apply the necessary updates.

Using the vulnerable version can lead to unauthorized access, data breaches, and potential manipulation of your system, posing serious security risks.

The vulnerability was identified by ReversingLabs, a security research firm specializing in malware analysis and threat detection.

How To Fix

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

npm uninstall schematics-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