Malicious Package in bs-sha3

bs-sha3 Updated 02 Oct 2025

Summary

03/09/2020
CRITICAL
No i
Critical
9.8

GHSA-88xx-23mf-rcj2: Malicious Package in bs-sha3. Affects bs-sha3 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 bs-sha3 package is an npm package that provides a SHA-3 implementation for BuckleScript, a JavaScript backend for the OCaml compiler. It is commonly used in projects that require cryptographic hashing functionality. However, version 0.8.0 of the package contained malicious code that specifically targeted the Ethereum cryptocurrency. This code performed unauthorized transactions to wallets not controlled by the user, potentially resulting in the loss of Ethereum funds.

Vulnerability Detail

The vulnerability in bs-sha3 version 0.8.0 allowed an attacker to compromise the Ethereum funds of users who installed the package. By injecting malicious code, the attacker was able to perform unauthorized transactions to external wallets. This could lead to financial losses for affected users. The severity of this vulnerability is rated as CRITICAL with a CVSS score of 9.8.

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 bs-sha3 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 package from the environment, verify the integrity of Ethereum funds, and monitor wallets for any suspicious activity. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for bs-sha3 →

Share this vulnerability

FAQ

bs-sha3 is an npm package that provides a SHA-3 implementation for BuckleScript, a JavaScript backend for the OCaml compiler. It is commonly used for cryptographic hashing in projects.

Version 0.8.0 of bs-sha3 is the specific version that contained the malicious code.

The malicious code targeted the Ethereum cryptocurrency and performed unauthorized transactions to external wallets, potentially resulting in the loss of Ethereum funds.

To protect your Ethereum funds, it is recommended to remove the bs-sha3 package from your environment, verify that no unauthorized transactions have occurred, and regularly monitor your Ethereum wallets for any suspicious activity.

Yes, the fix for this vulnerability is to remove the bs-sha3 package from your environment and ensure that you are using a secure version of the package.

Related vulnerabilities

Recent vulnerabilities recorded for bs-sha3.

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