Malicious code in ably-cli (npm)

ably-cli Updated 02 Oct 2025

Summary

25/06/2024
CRITICAL
No i
Critical
Not published

MAL-2024-1716: Malicious code in ably-cli (npm). Affects ably-cli versions 1.0.1 – 9.9.9. 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 Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The ably-cli package is an npm package used for interacting with the Ably messaging platform. It provides a command-line interface (CLI) for managing Ably resources and performing various operations. The package allows developers to easily integrate Ably functionality into their applications and automate tasks related to Ably messaging. However, the ably-cli package has been found to contain malicious code, posing a security risk to users who install and use it.

Vulnerability Detail

The ably-cli package (versions 9.9.9, 1.1.0, 6.1.0, and 30.1.9) has been identified as containing malicious code. The origin of this malicious code is attributed to a security research firm, ReversingLabs. The specific details of the vulnerability have not been provided, but it is crucial to note that the presence of malicious code in the package can lead to various security risks. These risks may include unauthorized access to sensitive information, execution of arbitrary code, or compromise of the host system. Users who have installed any of the affected versions of ably-cli are advised to take immediate action to mitigate the potential impact of this vulnerability.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall ably-cli

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

There is no specific workaround mentioned for this vulnerability. Users are advised to follow the steps mentioned in the 'how_to_fix' section to address the issue.

Conclusion

The ably-cli package (versions 9.9.9, 1.1.0, 6.1.0, and 30.1.9) has been found to contain malicious code. Users who have installed any of these versions are at risk of various security issues. It is crucial to update to a secure version, remove the affected versions, and regularly update system dependencies to mitigate the impact of this vulnerability.

See every vulnerability recorded for ably-cli →

Share this vulnerability

FAQ

ably-cli is an npm package that provides a command-line interface for managing Ably resources and integrating Ably functionality into applications.

The presence of malicious code in ably-cli can lead to unauthorized access to sensitive information, execution of arbitrary code, or compromise of the host system.

Versions 9.9.9, 1.1.0, 6.1.0, and 30.1.9 of ably-cli are affected by this vulnerability.

To fix the vulnerability, update ably-cli to a secure version, remove any affected versions, and reinstall the updated version. Regularly updating your system and dependencies is also recommended.

You can check the official npm registry or the GitHub repository of ably-cli for the latest secure version.

How To Fix

This package is malicious. Remove it and rotate any credentials it could have accessed.

npm uninstall ably-cli

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