Malicious Code Injection in operational_camel-apptea: npm Package Vulnerability
Summary
MAL-2025-106744: Malicious code in operational_camel-apptea (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 operational_camel-apptea package is part of the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages are designed to manipulate developer reputation scores by automatically generating and publishing derivative packages with randomized names. The vulnerability stems from the presence of scripts that modify the package.json file, removing private flags and altering version numbers, leading to potential pollution of the npm registry.
Vulnerability Detail
This vulnerability originates from the operational_camel-apptea package, which contains malicious scripts that can alter the package.json file. The scripts are designed to remove private flags, change version numbers, and generate random package names, which can lead to the continuous republishing of variants. This not only affects the integrity of the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches and loss of reputation.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall operational_camel-apptea
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 operational_camel-apptea package from your project by executing the following command: npm uninstall operational_camel-apptea. This will prevent any malicious scripts from executing until a secure version is available.
Conclusion
The operational_camel-apptea package presents a significant vulnerability due to its malicious code that alters package metadata and can lead to npm registry pollution. It is crucial for developers to take immediate action by uninstalling the package and monitoring for updates to ensure the security of their projects.
See every vulnerability recorded for operational_camel-apptea →
FAQ
The operational_camel-apptea package is part of a campaign that aims to inflate developer reputation scores through the automatic generation of derivative packages.
The vulnerability can lead to the modification of your package.json file, potentially compromising your project's integrity and security.
You should uninstall the operational_camel-apptea package immediately and monitor for any updates or patches that may be released.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. You can check your application without any signup using the Vulert playground.
Vulert is a tool that helps monitor open-source vulnerabilities in your software using just the package-lock.json file, providing real-time alerts.