Malicious Package in kraken-api

kraken-api Updated 02 Oct 2025

Summary

02/09/2020
CRITICAL
No i
Critical
Not published

GHSA-fgfj-rj24-mj7q: Malicious Package in kraken-api. Affects kraken-api versions 0.1.8. 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 Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The kraken-api package is an npm package used for interacting with the Kraken cryptocurrency exchange API. It provides a convenient way for developers to access and manage their Kraken accounts programmatically. However, version 0.1.8 of this package contains a malicious code as a postinstall script.

Vulnerability Detail

The malicious code in version 0.1.8 of kraken-api package calls home to a Command and Control server, allowing an attacker to execute arbitrary commands on the compromised computer. This means that any computer with this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. Downgrading to version 0.1.7 is recommended, but it's important to note that removing the package may not remove all the malicious software installed by it.

How To Fix

No fixed version is published for this vulnerability.

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. The recommended course of action is to remove the package and rotate all secrets and keys.

Conclusion

The kraken-api package version 0.1.8 contains a malicious code that compromises the security of the affected computer. It is recommended to remove the package, downgrade to version 0.1.7 if possible, and rotate all secrets and keys stored on the computer. For further support on vulnerability remediation, you can contact DevNack.com.

See every vulnerability recorded for kraken-api →

Share this vulnerability

FAQ

The impact of this vulnerability is severe as it allows an attacker to execute arbitrary commands on the compromised computer. All secrets and keys stored on that computer should be considered compromised.

You can use the Vulert Playground at Vulert Scanner to check if your computer is affected by this vulnerability. Simply provide your package-lock.json file, and Vulert will alert you in real-time if any open-source vulnerabilities are detected.

Yes, downgrading to version 0.1.7 of the kraken-api package can mitigate the risk of this vulnerability. However, it is still recommended to remove the package and rotate all secrets and keys.

If your computer is affected, it is crucial to remove the kraken-api package immediately. Additionally, all secrets and keys stored on that computer should be rotated from a different, secure computer.

There is no guarantee that removing the kraken-api package will remove all malicious software resulting from its installation. The computer may have been fully compromised, so it is important to take additional steps such as rotating all secrets and keys.

How To Fix

No fixed version is published for this vulnerability.

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