Malicious Code Injection in Mathematical Dormouse Requirement Package

Summary

11/11/2025
CRITICAL
No i
Critical
Not published

MAL-2025-95411: Malicious code in mathematical_dormouse_requirement (npm). Affected versions are not published. 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 'mathematical_dormouse_requirement' package is part of the npm ecosystem, often utilized for various mathematical computations and functionalities. However, this package has been identified as part of a malicious campaign that aims to manipulate npm's registry by flooding it with derivative packages. This vulnerability poses a significant risk to developers who may unknowingly use this package, as it can lead to reputation inflation and potential security breaches.

Vulnerability Detail

The vulnerability originates from a malicious payload embedded within the 'mathematical_dormouse_requirement' package. This payload modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which are then republished to the npm registry. This behavior not only compromises the integrity of the npm ecosystem but also exposes developers to potential security risks, as the modified packages may contain harmful code.

How To Fix

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

npm uninstall mathematical_dormouse_requirement

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, consider removing the 'mathematical_dormouse_requirement' package from your project until a secure version is released. You can do this by executing the command: 'npm uninstall mathematical_dormouse_requirement'. Additionally, monitor your package-lock.json file for any unauthorized changes.

Conclusion

The 'mathematical_dormouse_requirement' package has been identified as a vector for malicious code injection, posing significant risks to developers and their projects. It is crucial to take immediate action by updating or removing the package and utilizing tools like Vulert to monitor for vulnerabilities in real-time.

See every vulnerability recorded for mathematical_dormouse_requirement →

Share this vulnerability

FAQ

It is an npm package used for mathematical functions, but it has been compromised with malicious code.

It can lead to the introduction of malicious code into your project, potentially compromising security and integrity.

You should uninstall the package immediately and monitor your project for any unauthorized changes.

Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application using the Vulert playground without any signup.

Regularly update your dependencies, use tools like Vulert to monitor vulnerabilities, and review package sources before installation.

How To Fix

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

npm uninstall mathematical_dormouse_requirement

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