Malicious Package in js-cha3

js-cha3 Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-7xf9-74cp-8hx3: Malicious Package in js-cha3. Affects js-cha3 versions >= 0.0.0. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The js-cha3 package is an npm package used for Ethereum cryptocurrency-related operations. It provides functionality for hashing and encryption using the ChaCha20 algorithm. The package is widely used in Ethereum development projects to ensure secure and efficient operations. However, version 0.8.0 of the package was found to contain malicious code that targeted Ethereum funds and performed unauthorized transactions to wallets not controlled by the user.

Vulnerability Detail

The vulnerability in the js-cha3 package version 0.8.0 allowed an attacker to compromise Ethereum funds by executing unauthorized transactions. The malicious code within the package was designed to redirect funds to wallets controlled by the attacker, bypassing user authorization. This vulnerability posed a significant risk to users relying on the package for Ethereum operations, potentially resulting in financial losses and unauthorized access to sensitive information.

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 →

Conclusion

The js-cha3 package version 0.8.0 contained malicious code that targeted Ethereum funds and performed unauthorized transactions. To mitigate this vulnerability, it is crucial to remove the vulnerable package and upgrade to a secure version. Additionally, users should review their transaction history to ensure no unauthorized activity has occurred. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for js-cha3 →

Share this vulnerability

FAQ

You can use the Vulert Playground at Vulert Scanner to check if your application is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time if the js-cha3 package version 0.8.0 is present.

The potential ramifications of this vulnerability include financial losses due to unauthorized transactions of Ethereum funds, as well as the risk of sensitive information being accessed by attackers. It is crucial to take immediate action to mitigate these risks.

No, there is no known workaround for this vulnerability. The recommended course of action is to remove the vulnerable package and upgrade to a secure version.

Yes, there are alternative packages available for Ethereum-related operations. Some popular options include web3.js, ethers.js, and truffle. It is recommended to evaluate these alternatives based on your specific requirements and choose a package with a good security track record.

To ensure that your Ethereum funds were not compromised, you should review your transaction history and verify that no unauthorized transactions have occurred. If you suspect any unauthorized activity, it is advisable to contact your cryptocurrency exchange or wallet provider for further assistance.

Related vulnerabilities

Recent vulnerabilities recorded for js-cha3.

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