Malicious Code Injection in xaver-tempe76-pore: A Threat to npm Ecosystem
Summary
MAL-2025-98528: Malicious code in xaver-tempe76-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 xaver-tempe76-pore is part of the npm ecosystem, which is widely used for JavaScript package management. This package is associated with the tea.xyz token reward campaign, which has been known to flood npm with malicious packages. These packages often contain scripts that automatically generate and publish derivative packages, compromising the integrity of the npm registry.
Vulnerability Detail
The vulnerability in xaver-tempe76-pore stems from its malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, primarily themed around Indonesian culture, and continuously republishes these variants. This behavior not only inflates developer reputation scores for token rewards but also pollutes the npm registry, making it difficult for developers to find legitimate packages. The origin of this vulnerability is linked to the tea.xyz token reward campaign, which exploits npm's publishing mechanisms.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall xaver-tempe76-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 remove the xaver-tempe76-pore package from your project by executing the following command: npm uninstall xaver-tempe76-pore. This will prevent any malicious code from executing while you assess the situation.
Conclusion
The xaver-tempe76-pore package poses a significant threat to the npm ecosystem due to its malicious code that modifies package metadata and repopulates the registry with harmful variants. It is crucial for developers to take immediate action by updating or removing the package to safeguard their projects.
See every vulnerability recorded for xaver-tempe76-pore →
FAQ
xaver-tempe76-pore is an npm package that has been identified as malicious, part of a campaign to inflate developer reputation scores through the creation of derivative packages.
The vulnerability can lead to the pollution of the npm registry, making it harder to find legitimate packages, and may also compromise your project's integrity by introducing malicious code.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By using the Vulert playground at Vulert Scanner, you can check your application without any signup.
If you cannot update the package, consider removing it from your project as a temporary measure until a secure version is available.
For more information, you can reach out to Amazon Inspector at actran@amazon.com, as they discovered this vulnerability.