Malicious Code Injection in arif-asinan7-ruro Package
Summary
MAL-2025-99544: Malicious code in arif-asinan7-ruro (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 arif-asinan7-ruro package is part of the npm ecosystem and was involved in 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 compromised to include malicious scripts that alter package metadata and republish variants, leading to potential abuse of the npm registry.
Vulnerability Detail
The vulnerability originates from the inclusion of malicious code within the arif-asinan7-ruro package. This code modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The malicious payload continuously republishes these variants, polluting the npm registry and potentially harming developers' reputations and the integrity of the ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall arif-asinan7-ruro
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 this package by using npm's package-lock.json file to lock dependencies. Additionally, consider using a tool like Vulert to monitor your project for vulnerabilities. You can check if your application is affected by this vulnerability using the Vulert playground at https://vulert.com/scanner without any signup.
Conclusion
The arif-asinan7-ruro package contains malicious code that poses a significant risk to developers and the npm ecosystem. It is crucial to remove this package and monitor your dependencies for vulnerabilities to maintain the integrity of your projects.
See every vulnerability recorded for arif-asinan7-ruro →
FAQ
The arif-asinan7-ruro package is an npm package that was part of a token reward campaign, designed to generate and publish derivative packages automatically.
The malicious code modifies your package.json file, removes private flags, and republish variants, which can lead to reputation damage and registry pollution.
You can check your package.json and package-lock.json files for the presence of arif-asinan7-ruro. Additionally, using tools like Vulert can help monitor for vulnerabilities.
Regularly audit your dependencies, use tools like Vulert for real-time monitoring, and avoid using unverified packages from npm.
Immediately uninstall the package using 'npm uninstall arif-asinan7-ruro' and check for any other affected packages in your project.