Malicious Code Injection in maya-tapai12-pore: A Threat to npm Users
Summary
MAL-2025-98134: Malicious code in maya-tapai12-pore (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 'maya-tapai12-pore' 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 the presence of malicious code that alters package metadata.
Vulnerability Detail
The vulnerability in 'maya-tapai12-pore' originates from its association with a campaign that floods the npm registry with malicious packages. The malicious code modifies the package.json file to remove private flags, alters version numbers, and generates random package names, leading to the continuous republishing of these variants. This not only pollutes the npm registry but also poses a risk to developers who may unknowingly use these compromised packages, potentially leading to security breaches in their applications.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall maya-tapai12-pore
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 prevent the installation of this package by using npm's package-lock.json to monitor your dependencies. Ensure that your project does not include 'maya-tapai12-pore' in its dependencies. You can also use Vulert to monitor for vulnerabilities in your package-lock.json without requiring installation.
Conclusion
The 'maya-tapai12-pore' package poses a significant risk due to its malicious code designed to manipulate package metadata and pollute the npm registry. It is crucial for developers to remove this package and utilize tools like Vulert to monitor their projects for vulnerabilities effectively.
See every vulnerability recorded for maya-tapai12-pore →
FAQ
It is an npm package associated with a token reward campaign that has been identified as containing malicious code.
The malicious code modifies your package.json file, potentially exposing your project to security risks and polluting the npm registry.
You should remove the 'maya-tapai12-pore' package from your project and monitor for any updates or patches.
Yes, Vulert allows you to monitor and alert for open-source vulnerabilities in your software using just package-lock.json.
Regularly audit your dependencies, keep them updated, and use tools like Vulert to monitor for vulnerabilities.