Malicious Code Detected in scaleft Package - Security Alert

scaleft Updated 02 Oct 2025

Summary

09/08/2025
CRITICAL
No i
Critical
Not published

MAL-2025-6851: Malicious code in scaleft (npm). Affects scaleft versions >= 1.7.7. No fix is published. How to fix ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback