Malicious Code Injection in dutch_lark-teagooddev Package
Summary
MAL-2025-101819: Malicious code in dutch_lark-teagooddev (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 dutch_lark-teagooddev package is part of the tea.xyz token reward campaign that has infiltrated the npm ecosystem. This package is designed to facilitate token rewards through various automated scripts. However, it has been identified as malicious due to its functionality that modifies package metadata and publishes derivative packages with the intent to inflate developer reputation scores.
Vulnerability Detail
The vulnerability originates from the package's malicious code, which includes scripts that automatically alter the package.json file. This includes removing private flags, changing version numbers, and generating random package names, leading to pollution of the npm registry. The ramifications include potential security risks for developers using this package, as it may lead to unauthorized access or manipulation of their projects.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall dutch_lark-teagooddev
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 dutch_lark-teagooddev package and look for alternative packages that provide similar functionality without the associated risks.
Conclusion
The dutch_lark-teagooddev package poses a significant security risk due to its malicious code that alters package metadata and publishes unauthorized derivatives. It is crucial for developers to remove this package and monitor their projects for vulnerabilities using tools like Vulert.
See every vulnerability recorded for dutch_lark-teagooddev →
FAQ
It is a package associated with the tea.xyz token reward campaign, which has been identified as containing malicious code.
The package modifies package.json files, removes private flags, and generates random package names to inflate developer reputation scores.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in real-time. Check your application using the Vulert playground at Vulert Scanner.
Remove the dutch_lark-teagooddev package from your project and check for any alternative packages that are secure.
Regularly monitor your dependencies using tools like Vulert and keep your packages updated to the latest secure versions.