Duckdb NPM Packages Hijacked, Malicious Issues Released

The compromise of 18 NPM packets, with a total of more than 2 billion downloads per week, has taken a new turn. A recent report has revealed a similar attack, this time targeting the DuckDB project. Some versions of DuckDB packages were found to contain malicious code that tampered with cryptocurrency payments. However, this attack was swiftly identified and only one instance of loading the malicious packages was recorded. On the other hand, packages with malicious inserts from the previous attack on 18 NPM packets managed to be downloaded more than 2.5 million times.

Below are the packages compromised in the second phishing attack:

PackagePeak downloads per weekNumber of dependenciesVersion with harmful code
duckdb242,0001.3.3
@duckdb/duckdb-wasm170,000431.3.3
@duckdb/node-api81,000336.2.2
@duckdb/node-bindings82,00011.29.2
@coveops/abi55102.0.1

/Reports, release notes, official announcements.