Malicious Code Injection in sari-rangi66-miaww Package - npm Vulnerability
Summary
MAL-2025-90401: Malicious code in sari-rangi66-miaww (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 sari-rangi66-miaww package is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. Its primary function is to facilitate the distribution of JavaScript libraries, but it has been compromised to include harmful scripts that manipulate package metadata.
Vulnerability Detail
The vulnerability originates from the malicious code embedded within the sari-rangi66-miaww package. This code is designed to modify the package.json file by removing private flags, altering version numbers, and generating random package names. The intent is to inflate developer reputation scores for token rewards while polluting the npm registry with derivative packages. The ramifications include potential exposure of sensitive data, unauthorized access to systems, and degradation of the npm ecosystem's integrity.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-rangi66-miaww
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, you can prevent the installation of the sari-rangi66-miaww package by adding it to your project's 'package.json' file under the 'resolutions' field, specifying a version that does not include this vulnerability. For example:
{
"resolutions": {
"sari-rangi66-miaww": "0.0.0"
}
}
Conclusion
The sari-rangi66-miaww package has been identified as a source of malicious code that compromises the integrity of the npm ecosystem. It is crucial for developers to be vigilant and remove any affected packages from their projects to maintain security and stability.
See every vulnerability recorded for sari-rangi66-miaww →
FAQ
The sari-rangi66-miaww package is a JavaScript library in the npm ecosystem that has been compromised to include malicious code.
The malicious code modifies your package.json file, potentially exposing your project to security risks and degrading the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without requiring any signup.
You should uninstall the sari-rangi66-miaww package immediately using 'npm uninstall sari-rangi66-miaww' and review your project for any other potentially compromised packages.
Currently, there are no patches available for the sari-rangi66-miaww package. The best course of action is to remove the package entirely.