Malicious Code Detected in scaleft Package - Security Alert
Summary
MAL-2025-6851: Malicious code in scaleft (npm). Affects scaleft versions >= 1.7.7. 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 scaleft package is an npm library designed for managing secure access to cloud resources. It provides functionalities for authentication and authorization, making it a critical component for developers working with cloud infrastructure. However, the package has been identified as having a vulnerability that allows it to communicate with a domain associated with malicious activities, posing a significant security risk to applications that utilize it.
Vulnerability Detail
The vulnerability in the scaleft package originates from version 1.7.7, where it has been found to communicate with a domain linked to malicious activities. This can lead to unauthorized access, data breaches, and potential exploitation of the application. The technical aspect of this vulnerability lies in the package's ability to send sensitive information to an external server, which can be leveraged by attackers for nefarious purposes.
How To Fix
This package is malicious. Remove it and rotate any credentials it could have accessed.
npm uninstall scaleft
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 scaleft package from your project if it is not essential, or replace it with an alternative package that offers similar functionality without the associated risks.
Conclusion
The scaleft package has a critical vulnerability that allows communication with a malicious domain, which can compromise application security. It is essential to update the package to the latest version or implement workarounds to mitigate risks. Utilizing tools like Vulert can help in monitoring and identifying such vulnerabilities effectively.
See every vulnerability recorded for scaleft →
FAQ
The scaleft package is an npm library used for managing secure access to cloud resources, providing authentication and authorization functionalities.
The vulnerability allows the scaleft package to communicate with a domain associated with malicious activities, posing security risks to applications.
You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.
If you cannot update the package right away, consider removing it or replacing it with a safer alternative until you can apply the update.
Vulert monitors and alerts for open-source vulnerabilities in your software using just the package-lock.json file, providing real-time insights without requiring code access.