Malicious Code Injection in anipermata Package: npm Vulnerability Overview
Summary
MAL-2025-170886: Malicious code in anipermata (npm). Affected versions are not published. No fix is published. How to fix ↓
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.
No signup required · Results in about 60 seconds
Background
The anipermata package is part of the npm ecosystem, which is widely used for JavaScript package management. It is designed to facilitate the development and distribution of JavaScript applications. However, this package has been identified as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing derivative packages with altered metadata. This vulnerability poses a significant risk to developers relying on npm for secure package management.
Vulnerability Detail
The vulnerability in the anipermata package stems from its association with a malicious campaign that floods the npm registry with derivative packages. These packages contain scripts that automatically modify the package.json file, removing private flags, altering version numbers, and generating random package names. This behavior not only compromises the integrity of the npm registry but also affects developers' reputation scores and can lead to the installation of potentially harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall anipermata
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 measure, you can avoid using the anipermata package altogether and look for alternative packages that provide similar functionality without the associated risks. Additionally, regularly audit your npm packages using tools like npm audit to identify and mitigate vulnerabilities.
Conclusion
The anipermata package poses a significant security risk due to its malicious behavior of altering package metadata and flooding the npm registry. Developers should take immediate action to remove this package and monitor their projects for vulnerabilities to maintain the integrity of their applications.
See every vulnerability recorded for anipermata →
FAQ
The anipermata package is a JavaScript package available on npm, which has been identified as part of a malicious campaign to manipulate the npm registry.
This vulnerability can lead to the installation of malicious packages, compromising your project's security and potentially affecting your reputation as a developer.
You should uninstall the anipermata package immediately using 'npm uninstall anipermata' and consider using alternative packages.
You can use tools like Vulert, which monitors your package-lock.json file for vulnerabilities in real-time without requiring code access or installation.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without signing up.