Malicious Code Injection in rina-tempe4-apidev Package
Summary
MAL-2025-90218: Malicious code in rina-tempe4-apidev (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 rina-tempe4-apidev package is part of the npm ecosystem, typically used for developing applications that may require API development. However, this package has been identified as part of a malicious campaign that aims to inflate developer reputation scores through the generation of derivative packages. The vulnerability arises from the package's design, which allows it to execute scripts that modify its own metadata and publish variants to the npm registry.
Vulnerability Detail
The vulnerability in the rina-tempe4-apidev package originates from its inclusion in a malicious token reward campaign. This package contains scripts that automatically modify the package.json file by removing private flags, altering version numbers, and generating random package names. The malicious payload continuously republishes these variants, leading to pollution of the npm registry and potential security risks for developers who unknowingly use these packages. The ramifications include the risk of using compromised packages that may contain further malicious code or lead to reputational damage for developers.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall rina-tempe4-apidev
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 rina-tempe4-apidev package by removing it from your package.json file and running npm install to update your dependencies. Additionally, you can use the following command to audit your npm packages for vulnerabilities: npm audit.
Conclusion
The rina-tempe4-apidev package has been identified as containing malicious code that can compromise the integrity of applications using it. It is essential to update or remove this package to protect your project from potential risks. Utilizing tools like Vulert can help in monitoring and alerting for such vulnerabilities in the future.
See every vulnerability recorded for rina-tempe4-apidev →
FAQ
The rina-tempe4-apidev package is an npm package used for API development, but it has been compromised with malicious code.
This vulnerability can lead to the installation of compromised packages that may contain further malicious code, affecting the security and integrity of your application.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check your application without needing to sign up.
If a patched version is not available, it is advisable to remove the package from your project to avoid potential risks.
Regularly audit your npm packages using npm audit and consider using tools like Vulert to monitor for vulnerabilities in real-time.