Malicious Code Exploit in biancasantos Package - npm Vulnerability
Summary
MAL-2025-170973: Malicious code in biancasantos (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 biancasantos package is part of the npm ecosystem and is associated with the tea.xyz token reward campaign. This package is designed to facilitate the publication of JavaScript code and libraries. However, it has been identified as containing malicious scripts that compromise the integrity of the npm registry by generating and publishing derivative packages with altered metadata.
Vulnerability Detail
The vulnerability originates from the biancasantos package, which includes malicious code that modifies the package.json file to remove private flags and changes version numbers. It generates random package names, often themed around Indonesian culture, and continuously republishes these variants to inflate developer reputation scores for token rewards. This behavior can lead to pollution of the npm registry and potential security risks for developers who unknowingly use these compromised packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall biancasantos
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 biancasantos package and instead utilize alternative packages that provide similar functionality without the associated risks. Additionally, consider using npm audit to identify and address vulnerabilities in your project.
Conclusion
The biancasantos package poses a significant risk due to its malicious code that alters package metadata and floods the npm registry with unauthorized packages. It is crucial for developers to remove this package and monitor their dependencies for vulnerabilities to maintain the security of their projects.
See every vulnerability recorded for biancasantos →
FAQ
The biancasantos package is an npm package that has been identified as containing malicious code aimed at manipulating the npm registry.
The malicious code can alter your package.json file, remove private flags, and publish unauthorized packages, potentially compromising your project's integrity.
You should immediately remove the biancasantos package from your project and check for any unauthorized changes to your package.json file.
You can use tools like npm audit to scan your project for vulnerabilities. Additionally, Vulert can monitor your package-lock.json for real-time alerts on open-source vulnerabilities.
Yes, you can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.