Embedded Malicious Code Affecting duckdb package, versions =1.3.3


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
0.06% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-DUCKDB-12705381
  • published16 Sept 2025
  • disclosed9 Sept 2025
  • creditUnknown

Introduced: 9 Sep 2025

New Malicious CVE-2025-59037  (opens in a new tab)
CWE-506  (opens in a new tab)

How to fix?

Avoid using all malicious instances of the duckdb package.

Overview

duckdb is a Node.js API for DuckDB, the "SQLite for Analytics". The API for this client is somewhat compliant to the SQLite Node.js client for easier transition (and transition you must eventually).

Affected versions of this package are vulnerable to Embedded Malicious Code. This package version contains malicious code that monitors network traffic when run in a browser and targets crypto transactions. The injected malicious code activates a hook whenever a Web3 wallet is present. Once triggered, it intercepts and alters any transaction with ETH value, redirecting it to another address likely controlled by the attacker. The malicious code also listens for swap and transfer transactions to manipulate as well.

CVSS Base Scores

version 4.0
version 3.1