Malicious Code Injection in sari-mangut39-miaww Package - npm Vulnerability
Summary
MAL-2025-90378: Malicious code in sari-mangut39-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-mangut39-miaww package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that modifies its own package.json file and republishes itself with altered names and versions, leading to potential pollution of the npm registry.
Vulnerability Detail
The vulnerability originates from the malicious intent behind the sari-mangut39-miaww package, which is part of a broader scheme to exploit the npm registry. The package contains scripts that remove private flags from package.json, change version numbers, and generate random package names. This behavior can lead to the proliferation of harmful packages in the npm ecosystem, potentially affecting developers and users who rely on the integrity of the registry. The malicious payload can compromise the security of applications that depend on this package, leading to further exploitation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sari-mangut39-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 avoid using the sari-mangut39-miaww package and look for alternative packages that provide similar functionality without the associated risks. Always validate the integrity of packages before installation.
Conclusion
The sari-mangut39-miaww package has been identified as containing malicious code that can compromise the integrity of the npm registry. It is crucial for developers to remove this package from their projects and to remain vigilant about the security of their dependencies. Utilizing tools like Vulert can help in monitoring for such vulnerabilities effectively.
See every vulnerability recorded for sari-mangut39-miaww →
FAQ
The sari-mangut39-miaww package is an npm package associated with a token reward campaign that has been identified as containing malicious code.
The vulnerability can lead to the proliferation of malicious packages in the npm registry, potentially compromising the security of applications that depend on affected packages.
You should uninstall the sari-mangut39-miaww package immediately using the command npm uninstall sari-mangut39-miaww.
Yes, Vulert can monitor and alert you in real-time for open-source vulnerabilities in your software using just package-lock.json. You can check your application for vulnerabilities without any signup using the Vulert playground.
Regularly check for updates, use trusted sources for packages, and consider using tools like Vulert to monitor your dependencies for vulnerabilities.