Malicious Code Injection in async-yonder-node-sass-configstore Package
Summary
MAL-2025-139639: Malicious code in async-yonder-node-sass-configstore (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 async-yonder-node-sass-configstore package is part of the npm ecosystem, primarily used for managing configurations in Node.js applications that utilize Node Sass. This package, like many others, is intended to streamline the development process by providing a set of tools for easier configuration management. However, it has been identified as part of a malicious campaign that exploits npm's package management system.
Vulnerability Detail
The vulnerability in async-yonder-node-sass-configstore stems from its association with the tea.xyz token reward campaign, which has been flooding the npm registry with malicious packages. These packages contain scripts that automatically modify the package.json file to remove private flags, alter version numbers, and generate random package names. This behavior not only compromises the integrity of the affected package but also pollutes the npm registry, potentially affecting other developers and applications relying on these packages.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall async-yonder-node-sass-configstore
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 async-yonder-node-sass-configstore package altogether and look for alternative packages that do not exhibit malicious behavior. Additionally, ensure that your package-lock.json file is monitored for any unauthorized changes.
Conclusion
The async-yonder-node-sass-configstore package has been identified as a vector for malicious code injection, posing significant risks to applications that utilize it. Immediate action is required to remove this package and safeguard your project from potential threats. Utilizing tools like Vulert can help in monitoring your dependencies for vulnerabilities.
See every vulnerability recorded for async-yonder-node-sass-configstore →
FAQ
It is a package used for managing configurations in Node.js applications that utilize Node Sass.
The vulnerability can lead to unauthorized modifications of your package.json file, potentially compromising your application's integrity and security.
You should uninstall the package immediately and monitor your project for any unauthorized changes.
Currently, there are no patches available for this specific package, so it is recommended to remove it and seek alternatives.
You can use tools like Vulert, which monitors your package-lock.json file for open-source vulnerabilities in real-time. You can check your application for vulnerabilities using the Vulert playground without any signup.