Malicious Code Injection in inal-poke47 Package - npm Vulnerability
Summary
MAL-2025-156434: Malicious code in inal-poke47 (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 inal-poke47 package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the automatic generation and publication of derivative packages, which can inflate developer reputation scores for token rewards. However, it has been identified as containing malicious code that compromises the integrity of the npm registry.
Vulnerability Detail
The vulnerability in the inal-poke47 package stems from its malicious payload, which modifies the package.json file to remove private flags and alters version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to pollute the npm registry. This behavior not only affects the integrity of the npm ecosystem but also poses risks to developers who may unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall inal-poke47
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 an immediate workaround, you can avoid using the inal-poke47 package altogether. If it is already part of your dependencies, consider replacing it with a trusted alternative that provides similar functionality without the associated risks.
Conclusion
The inal-poke47 package has been identified as containing malicious code that compromises the npm ecosystem. It is crucial for developers to remove this package and monitor their projects for similar vulnerabilities. Utilizing tools like Vulert can help maintain the security of your open-source dependencies.
See every vulnerability recorded for inal-poke47 →
FAQ
The inal-poke47 package is an npm package linked to the tea.xyz token reward campaign, designed to generate and publish derivative packages.
The malicious code modifies your package.json file, removes private flags, and can lead to the publication of unauthorized packages, compromising your project's integrity.
You should uninstall the inal-poke47 package immediately using 'npm uninstall inal-poke47' and check for any other affected packages.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in your software using just package-lock.json. You can also check your application against vulnerabilities using the Vulert playground at Vulert Scanner.
Regularly audit your dependencies using tools like npm audit, and keep your packages updated to their latest secure versions.