Malicious Code Injection in rlwqqf-devapp: npm Package Vulnerability
Summary
MAL-2025-108163: Malicious code in rlwqqf-devapp (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 rlwqqf-devapp package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate various functionalities, but it has been compromised to include malicious code that affects its integrity and security. The vulnerability stems from the package's ability to modify its own metadata and publish derivative versions, which can lead to significant issues in the npm registry.
Vulnerability Detail
The vulnerability in rlwqqf-devapp originates from its inclusion in a campaign that floods the npm registry with malicious packages. The malicious code alters the package.json file by removing private flags, changing version numbers, and generating random package names. This behavior not only compromises the integrity of the package but also pollutes the npm registry, potentially affecting other developers and users relying on this ecosystem. The technical aspects include the use of autopublish scripts that automate the creation and publication of these harmful packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rlwqqf-devapp
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 compromised package by using npm's package-lock.json file to lock down the versions of your dependencies. Additionally, consider using the following command to uninstall the affected package: npm uninstall rlwqqf-devapp.
Conclusion
The rlwqqf-devapp package has been identified as containing malicious code that compromises its integrity and affects the npm ecosystem. It is crucial for developers to take immediate action to remove the affected package and monitor their dependencies for vulnerabilities. Utilizing tools like Vulert can help maintain the security of your projects.
See every vulnerability recorded for rlwqqf-devapp →
FAQ
The vulnerability can lead to the modification of your project's package.json file, potentially exposing your application to further risks and affecting the integrity of the npm registry.
You can use Vulert, which monitors open-source vulnerabilities in real-time. By analyzing your package-lock.json file, Vulert can alert you to any vulnerabilities, including this one.
To prevent similar vulnerabilities, regularly audit your dependencies, use tools like Vulert for monitoring, and avoid using packages from untrusted sources.
If an immediate update is not possible, consider using the workaround to uninstall the package and lock down your dependencies until a fix is available.
Detailed information can be found in the vulnerability report and by checking the package's repository for updates and security advisories.