Malicious Code Injection in frankie-teadev Package: A Threat to npm Users
Summary
MAL-2025-102902: Malicious code in frankie-teadev (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 frankie-teadev package is part of the npm ecosystem, which is widely used for JavaScript development. This package is associated with the tea.xyz token reward campaign, which has been known to flood the npm registry with malicious packages. These packages often include scripts that automatically generate and publish derivative packages, potentially compromising the integrity of the npm ecosystem.
Vulnerability Detail
The vulnerability in the frankie-teadev package originates from its involvement in a malicious campaign that modifies the package.json file. This modification removes private flags, alters version numbers, and generates random package names, leading to the pollution of the npm registry. The malicious payload can inflate developer reputation scores fraudulently and may introduce security risks to applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall frankie-teadev
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 frankie-teadev package from your project by executing the command: 'npm uninstall frankie-teadev'. This will prevent any potential malicious activity associated with the package until a fix is available.
Conclusion
The frankie-teadev package poses a significant security risk due to its malicious code injection. It is crucial for developers to be aware of this vulnerability and take immediate action to update or remove the affected package. Utilizing tools like Vulert can help in monitoring and managing open-source vulnerabilities effectively.
See every vulnerability recorded for frankie-teadev →
FAQ
The frankie-teadev package is an npm package that is part of a malicious campaign aimed at manipulating the npm registry.
The vulnerability can lead to the introduction of malicious code into your application, potentially compromising its security and integrity.
You should immediately update or uninstall the frankie-teadev package to prevent any security risks.
Yes, you can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time using just your package-lock.json file.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.