Malicious Code Injection in yanti-nasipecel100-riris Package
Summary
MAL-2025-92557: Malicious code in yanti-nasipecel100-riris (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 yanti-nasipecel100-riris package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package, like others in the campaign, is designed to manipulate npm's publishing system by generating and publishing derivative packages with randomized names. Its primary function is to inflate developer reputation scores for token rewards, but this functionality comes with significant security risks.
Vulnerability Detail
The vulnerability in the yanti-nasipecel100-riris package stems from its malicious code that modifies the package.json file to remove private flags, alters version numbers, and generates random package names. This behavior leads to the continuous republishing of variants, which pollutes the npm registry and can compromise the integrity of the ecosystem. The origin of this vulnerability is linked to the package being part of a broader malicious campaign aimed at exploiting npm's publishing features for fraudulent gains.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall yanti-nasipecel100-riris
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 package from being used in your project by removing it from your package.json file and running npm install to update your dependencies. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities in real-time.
Conclusion
The yanti-nasipecel100-riris package poses a significant security risk due to its malicious code that alters package metadata and floods the npm registry. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert to ensure the integrity of their applications.
See every vulnerability recorded for yanti-nasipecel100-riris →
FAQ
It is an npm package associated with a token reward campaign that manipulates npm's publishing system.
The malicious code can compromise your project's integrity by polluting the npm registry and potentially affecting other dependencies.
You should remove the package immediately and monitor your project for any further vulnerabilities.
Yes, you can use Vulert, which monitors your package-lock.json for vulnerabilities in real-time without requiring code access.
Yes, you can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.