{"id":10988667,"name":"@duckdb/node-api","ecosystem":"npm","description":"An API for using [DuckDB](https://duckdb.org/) in [Node](https://nodejs.org/).","homepage":"https://github.com/duckdb/duckdb-node-neo#readme","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/duckdb/duckdb-node-neo","keywords_array":[],"namespace":"duckdb","versions_count":48,"first_release_published_at":"2024-10-23T02:43:48.887Z","latest_release_published_at":"2025-09-09T01:12:15.564Z","latest_release_number":"1.3.3","last_synced_at":"2026-05-19T15:15:26.151Z","created_at":"2024-10-23T02:45:12.816Z","updated_at":"2026-05-20T08:15:12.669Z","registry_url":"https://www.npmjs.com/package/@duckdb/node-api","install_command":"npm install @duckdb/node-api","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"1.5.2-r.2"}},"repo_metadata":{"id":244581795,"uuid":"815660182","full_name":"duckdb/duckdb-node-neo","owner":"duckdb","description":"Second iteration on a DuckDB Node.js client","archived":false,"fork":false,"pushed_at":"2026-05-10T18:14:44.000Z","size":52150,"stargazers_count":188,"open_issues_count":38,"forks_count":37,"subscribers_count":8,"default_branch":"main","last_synced_at":"2026-05-10T20:11:47.561Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duckdb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-06-15T18:50:20.000Z","updated_at":"2026-05-10T19:54:18.000Z","dependencies_parsed_at":"2024-08-03T17:24:44.206Z","dependency_job_id":"d7da2c65-5b11-4f1f-aaab-786bdb3e65f9","html_url":"https://github.com/duckdb/duckdb-node-neo","commit_stats":{"total_commits":366,"total_committers":10,"mean_commits":36.6,"dds":"0.23770491803278693","last_synced_commit":"94f0160dcf49ef0106d4318b46ac8cb1065fafeb"},"previous_names":["duckdb/duckdb-node-neo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duckdb/duckdb-node-neo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-node-neo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-node-neo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-node-neo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-node-neo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckdb","download_url":"https://codeload.github.com/duckdb/duckdb-node-neo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-node-neo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32917991,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-11T17:09:15.040Z","status":"ssl_error","status_checked_at":"2026-05-11T17:08:45.420Z","response_time":120,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"},"owner_record":{"login":"duckdb","name":"DuckDB","uuid":"82039556","kind":"organization","description":"","email":null,"website":"https://www.duckdb.org","location":"Amsterdam, The Netherlands","twitter":"duckdb","company":null,"icon_url":"https://avatars.githubusercontent.com/u/82039556?v=4","repositories_count":6,"last_synced_at":"2023-03-03T20:40:48.850Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/duckdb","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-14T05:24:20.819Z","updated_at":"2023-03-03T20:40:48.868Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckdb","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duckdb/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-05-19T15:15:25.618Z","dependent_packages_count":0,"downloads":2487463,"downloads_period":"last-month","dependent_repos_count":0,"rankings":{"downloads":null,"dependent_repos_count":25.654018746811534,"dependent_packages_count":37.18017590404527,"stargazers_count":7.312597802049181,"forks_count":9.388172722984136,"docker_downloads_count":null,"average":19.88374129397253},"purl":"pkg:npm/%40duckdb/node-api","advisories":[{"uuid":"GSA_kwCzR0hTQS13NjJwLWh4OTUtZ2YyY84ABL14","url":"https://github.com/advisories/GHSA-w62p-hx95-gf2c","title":"DuckDB NPM packages 1.3.3 and 1.29.2 briefly compromised with malware","description":"The DuckDB distribution for [Node.js](http://node.js/) on [npm](https://www.npmjs.com/) was compromised with malware (along with [several other packages](https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised)). An attacker published new versions of four of duckdb’s packages that included **malicious code to interfere with cryptocoin transactions**. The following packages and versions are affected:\n\n- `@duckdb/node-api@1.3.3`\n- `@duckdb/node-bindings@1.3.3`\n- `duckdb@1.3.3`\n- `@duckdb/duckdb-wasm@1.29.2`\n\n\u003e Note: The current release version of DuckDB is 1.3.2, with 1.4.0 expected to be released on Sept 10th, 2025 (tomorrow as of this writing). We do not plan to ever release a “legit” DuckDB 1.3.3. Users should double-check that they are not accidentally updating to those affected versions. \n\n\nWe have ourselves noticed this *within four hours* of it happening. Here’s our response:\n\n- As an immediate response, we have **deprecated** the specific versions. \n- We have reached out to npm support to **delete the affected versions**. They were so kind to do so.\n- We have also **re-released** the node packages with higher version numbers (1.3.4/1.30.0) as a further safeguard so the latest version of the package points to a safe version\n\nWe apologize for this issue. We are reviewing our internal processes to ensure the safety of future releases.\n\n### Postmortem ###\n\nOn September 8th (Monday), the DuckDB maintainers received the following message from \"...@npmjs.help\":\n\n\u003cimg width=\"1134\" height=\"614\" alt=\"Screenshot 2025-09-09 at 11 07 09\" src=\"https://github.com/user-attachments/assets/0ce24798-1f5a-40b0-ac50-49035d99862b\" /\u003e\n\nOne of the maintainers read through this text and found it somewhat reasonable. He followed the link (now defunct) to a website hosted under the domain `npmjs.help`. This website contained a **pixel-perfect copy** of the [npmjs.com](http://npmjs.com/) website. He logged in using the `duckdb_admin` user and password, followed by 2FA. Again, the user profile, settings etc. were a perfect copy of the [npmjs.com](http://npmjs.com/) website including all user data. As requested by the email, he then re-set the 2FA setup. \n\nIn the background, the copycat website forwarded all actions to the actual npm website, so the 2FA was actually updated there, too. But they also added a new API token, which they then used to publish the malicious package versions. In hindsight, the fact that his browser did not auto-complete the login should have been a red flag. It's painful to spell out, but **we fell for a classic phishing attack**.\n\nWe again apologize for this mishap. We are reviewing our internal processes to ensure the safety of future releases. It is fortunate that we noticed this within a few hours of it happening. The DuckDBLabs team was able to set up a call at 7AM to perform an immediate response. Fortunately we were not locked out of our NPM account, which also easily could have happened. We were able to rotate passwords, tokens and API keys immediately.","origin":"UNSPECIFIED","severity":"HIGH","published_at":"2025-09-09T14:39:14.000Z","withdrawn_at":null,"classification":"GENERAL","cvss_score":8.6,"cvss_vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","references":["https://github.com/duckdb/duckdb-node/security/advisories/GHSA-w62p-hx95-gf2c","https://github.com/duckdb/duckdb-node/releases/tag/v1.3.4","https://nvd.nist.gov/vuln/detail/CVE-2025-59037","https://www.aikido.dev/blog/npm-debug-and-chalk-packages-compromised","https://github.com/advisories/GHSA-w62p-hx95-gf2c"],"source_kind":"github","identifiers":["GHSA-w62p-hx95-gf2c","CVE-2025-59037"],"repository_url":"https://github.com/duckdb/duckdb-node","blast_radius":18.00342649239522,"created_at":"2025-09-09T15:10:27.928Z","updated_at":"2026-05-20T07:03:27.228Z","epss_percentage":0.00066,"epss_percentile":0.2039,"api_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13NjJwLWh4OTUtZ2YyY84ABL14","html_url":"https://advisories.ecosyste.ms/advisories/GSA_kwCzR0hTQS13NjJwLWh4OTUtZ2YyY84ABL14","packages":[{"ecosystem":"npm","package_name":"@duckdb/node-bindings","versions":[{"first_patched_version":"1.3.4-alpha.27","vulnerable_version_range":"= 1.3.3"}],"purl":"pkg:npm/%40duckdb%2Fnode-bindings"},{"ecosystem":"npm","package_name":"@duckdb/node-api","versions":[{"first_patched_version":"1.3.4-alpha.27","vulnerable_version_range":"= 1.3.3"}],"purl":"pkg:npm/%40duckdb%2Fnode-api"},{"ecosystem":"npm","package_name":"duckdb","versions":[{"first_patched_version":"1.3.4","vulnerable_version_range":"= 1.3.3"}],"purl":"pkg:npm/duckdb"}],"related_packages_url":"https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS13NjJwLWh4OTUtZ2YyY84ABL14/related_packages","related_advisories":[]}],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/@duckdb/node-api","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/@duckdb/node-api","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/@duckdb/node-api/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-05-11T04:04:59.811Z","issues_count":115,"pull_requests_count":298,"avg_time_to_close_issue":2097909.036363636,"avg_time_to_close_pull_request":75947.82926829268,"issues_closed_count":55,"pull_requests_closed_count":287,"pull_request_authors_count":16,"issue_authors_count":63,"avg_comments_per_issue":2.4869565217391303,"avg_comments_per_pull_request":0.18791946308724833,"merged_pull_requests_count":281,"bot_issues_count":0,"bot_pull_requests_count":0,"past_year_issues_count":45,"past_year_pull_requests_count":69,"past_year_avg_time_to_close_issue":1544313.7272727273,"past_year_avg_time_to_close_pull_request":300253.25396825396,"past_year_issues_closed_count":22,"past_year_pull_requests_closed_count":63,"past_year_pull_request_authors_count":9,"past_year_issue_authors_count":32,"past_year_avg_comments_per_issue":2.7555555555555555,"past_year_avg_comments_per_pull_request":0.37681159420289856,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":61,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/duckdb%2Fduckdb-node-neo/issues","maintainers":[{"login":"jraymakers","count":15,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jraymakers"},{"login":"szarnyasg","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/szarnyasg"},{"login":"mitty1293","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/mitty1293"},{"login":"hannes","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hannes"}],"active_maintainers":[{"login":"jraymakers","count":12,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/jraymakers"},{"login":"hannes","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hannes"}]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@duckdb%2Fnode-api/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@duckdb%2Fnode-api/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@duckdb%2Fnode-api/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@duckdb%2Fnode-api/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@duckdb%2Fnode-api/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/@duckdb%2Fnode-api/codemeta","maintainers":[{"uuid":"duckdb_admin","login":"duckdb_admin","name":null,"email":"quack@duckdb.org","url":null,"packages_count":13,"html_url":"https://www.npmjs.com/~duckdb_admin","role":null,"created_at":"2024-10-23T02:45:15.160Z","updated_at":"2024-10-23T02:45:15.160Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/duckdb_admin/packages"},{"uuid":"mraasveldt","login":"mraasveldt","name":null,"email":"mark@duckdblabs.com","url":null,"packages_count":13,"html_url":"https://www.npmjs.com/~mraasveldt","role":null,"created_at":"2025-09-10T18:20:09.870Z","updated_at":"2025-09-10T18:20:09.870Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/mraasveldt/packages"}]}