Malicious Code Injection in puteri-trud-mutiara Package
Summary
MAL-2025-164566: Malicious code in puteri-trud-mutiara (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 puteri-trud-mutiara package is part of the npm ecosystem, often used in JavaScript projects for various functionalities. However, it has been identified as part of a malicious campaign that floods the npm registry with derivative packages. This package is designed to manipulate developer reputation scores through automated publishing scripts, which can lead to significant security risks.
Vulnerability Detail
The vulnerability in the puteri-trud-mutiara package stems from its association with a malicious campaign that modifies the package.json file to remove private flags and changes version numbers. It generates random package names and continuously republishes variants, polluting the npm registry. This can lead to unauthorized access, reputation damage for developers, and potential exploitation of systems using these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall puteri-trud-mutiara
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 puteri-trud-mutiara package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The puteri-trud-mutiara package poses significant security risks due to its malicious code injection. It is essential to remove this package from your projects and monitor for vulnerabilities using tools like Vulert to maintain the integrity of your applications.
See every vulnerability recorded for puteri-trud-mutiara →
FAQ
The puteri-trud-mutiara package is an npm package that has been identified as part of a malicious campaign aimed at manipulating developer reputation scores.
This vulnerability can lead to unauthorized access, reputation damage, and potential exploitation of your application if the compromised package is used.
You should uninstall the puteri-trud-mutiara package immediately and look for alternative packages to ensure your project's security.
Yes, you can use Vulert, which monitors and alerts in real-time for open-source vulnerabilities in your software using just package-lock.json.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.