Malicious Code Injection in agus-pisang3-remi: A Threat to npm Users
Summary
MAL-2025-99321: Malicious code in agus-pisang3-remi (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 package 'agus-pisang3-remi' is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often contain scripts designed to manipulate package metadata and inflate developer reputation scores, posing significant risks to users and the integrity of the npm registry.
Vulnerability Detail
The vulnerability in 'agus-pisang3-remi' originates from its association with a malicious campaign that employs scripts to modify the package.json file. This includes removing private flags, altering version numbers, and generating random package names to republish variants continuously. The ramifications of this vulnerability include the potential for developers to unknowingly install compromised packages, leading to security breaches and the pollution of the npm registry with malicious content.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall agus-pisang3-remi
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 'agus-pisang3-remi' package and look for alternative packages that provide similar functionality without the associated risks. Always verify the integrity and reputation of packages before installation.
Conclusion
The 'agus-pisang3-remi' package poses a significant threat due to its malicious code designed to manipulate npm package metadata. Users are advised to uninstall this package and monitor their dependencies closely to maintain the security of their applications. Utilizing tools like Vulert can help in identifying vulnerabilities in real-time.
See every vulnerability recorded for agus-pisang3-remi →
FAQ
It is an npm package that has been identified as part of a malicious campaign aimed at manipulating the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected without requiring any signup.
Using compromised packages can lead to security vulnerabilities, data breaches, and the potential for malicious code execution in your application.
It is recommended to check for package updates regularly, ideally on a weekly basis, to ensure you are using the latest and most secure versions.
Uninstall the affected package immediately using 'npm uninstall agus-pisang3-remi' and review your project's dependencies for any other potentially compromised packages.