Malicious Code Injection in sunden-diak-nulamn: A Threat to npm Ecosystem
Summary
MAL-2025-166273: Malicious code in sunden-diak-nulamn (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 'sunden-diak-nulamn' 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, its functionality has been compromised, making it a vector for malicious activities.
Vulnerability Detail
The vulnerability in 'sunden-diak-nulamn' originates 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 can lead to reputation damage for developers and can clutter the npm ecosystem with unwanted packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall sunden-diak-nulamn
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 remove the 'sunden-diak-nulamn' package from your project by executing: npm uninstall sunden-diak-nulamn. This will prevent any malicious code from executing in your environment until a secure version is available.
Conclusion
The 'sunden-diak-nulamn' package poses a significant threat due to its malicious code that alters package configurations and floods the npm registry. It is crucial for developers to take immediate action by updating or removing the package to safeguard their applications and maintain the integrity of the npm ecosystem.
See every vulnerability recorded for sunden-diak-nulamn →
FAQ
The vulnerability involves malicious code that modifies package.json files and repackages them under random names, leading to npm registry pollution.
You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Check your application against the vulnerability using the Vulert playground at Vulert Scanner.
The risks include potential reputation damage for developers, cluttering of the npm registry, and possible security breaches due to the execution of malicious code.
Check the npm registry for any updates to the 'sunden-diak-nulamn' package that may address this vulnerability.
As a temporary measure, uninstall the package to prevent any malicious activity until a secure version is released.