Malicious Code Injection in partial_marmoset_replicate_automation Package
Summary
MAL-2025-106918: Malicious code in partial_marmoset_replicate_automation (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 partial_marmoset_replicate_automation package is part of the npm ecosystem, which is widely used for managing JavaScript packages. This package, like many others, is intended to facilitate automation tasks. However, it has been compromised as part of a malicious campaign that aims to manipulate the npm registry by generating and publishing numerous derivative packages with altered metadata.
Vulnerability Detail
The vulnerability originates from a malicious payload embedded within the partial_marmoset_replicate_automation package. This payload modifies the package.json file by removing private flags, changing version numbers, and generating random package names. The intent is to inflate developer reputation scores through the tea.xyz token reward campaign, leading to pollution of the npm registry with these derivative packages. This can result in security risks for developers who unknowingly use these compromised packages, as they may introduce vulnerabilities into their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall partial_marmoset_replicate_automation
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 partial_marmoset_replicate_automation package altogether and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The partial_marmoset_replicate_automation package has been identified as containing malicious code that can compromise the integrity of applications using it. It is crucial to uninstall this package and monitor your projects for vulnerabilities to ensure security.
See every vulnerability recorded for partial_marmoset_replicate_automation →
FAQ
It is an npm package intended for automation tasks but has been compromised to include malicious code.
The malicious code modifies your package.json file, potentially leading to security vulnerabilities and pollution of the npm registry.
You should uninstall the package immediately using the command npm uninstall partial_marmoset_replicate_automation.
Yes, you can use Vulert, which monitors your package-lock.json for open-source vulnerabilities in real-time without requiring code access.
You can use the Vulert playground at Vulert Scanner to check for vulnerabilities in your application without any signup.