Is esbuild (npm) safe?
Review before you connect
Why: one high finding in its code: execSync / spawn (Node.js).
- Trust score 66/100
- As of December 5, 2026
- 439,664,123 downloads/wk
What it is
An extremely fast JavaScript and CSS bundler and minifier.
Top findings
0 critical, 1 high, 8 in all (critical and high count what ships, not tests or examples).
- highexecSync / spawn (Node.js) in
install.js:187 - mediumnpm 'postinstall' lifecycle script (auto-runs on install) in
package.json:1 - lowexecSync / spawn (Node.js) in
install.js:103 - lowexecSync / spawn (Node.js) in
lib/main.js:2272 - lowexecSync / spawn (Node.js) in
lib/main.js:2376 - infochild_process (Node.js) in
install.js:95 - infoexecSync / spawn (Node.js) in
install.js:121 - infochild_process (Node.js) in
lib/main.js:2081
4 files read.
Signed result
This answer is signed (Ed25519, JWS). Get the signed attestation and check it offline against our public keys: how to verify an attestation. How scoring works.
Source: https://www.npmjs.com/package/esbuild
Maintainer? Request a re-check: claim this tool to re-check it, get alerts when its answer changes, and respond to a finding. Reading your result.