Malicious Code Injection in putri-sambel37-apidev Package
Summary
MAL-2025-89770: Malicious code in putri-sambel37-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 putri-sambel37-apidev package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the generation and publication of derivative packages, often with randomized names, to inflate developer reputation scores for token rewards. Its functionality is compromised by malicious scripts that alter package metadata.
Vulnerability Detail
The vulnerability originates from malicious code embedded within the putri-sambel37-apidev package. This code modifies the package.json file by removing private flags, altering version numbers, and generating random package names, which leads to the continuous republishing of these variants. The ramifications include pollution of the npm registry, potential security risks for developers using these packages, and damage to the integrity of the npm ecosystem.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall putri-sambel37-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 remove the putri-sambel37-apidev package from your project by executing: npm uninstall putri-sambel37-apidev. This will prevent any malicious code from executing until a secure version is available.
Conclusion
The putri-sambel37-apidev package contains a significant vulnerability due to embedded malicious code that alters package metadata and can lead to security risks. It is crucial to update or remove the package to safeguard your project and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for putri-sambel37-apidev →
FAQ
It is an npm package associated with the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json, potentially leading to security vulnerabilities and pollution of the npm registry.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Visit Vulert Scanner to check your application without any signup.
If an update is not available, consider uninstalling the package as a temporary measure to mitigate risks.
Detailed information can be found in the vulnerability report from Amazon Inspector, which outlines the nature and impact of the malicious code.