You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Zero-trust layer across the entire Node-based wrappers. NODE_OPTIONS=--require /tmp/evil.js hijacks every Node process — that includes npm, pnpm, npx, vitest, jest, playwright, tsc, eslint, prettier, prisma, next. One env-strip covers the whole ecosystem.
Pattern
secure_node_command(binary) helper used by all Node-spawning sites. Same shape as secure_rg_command().
All NPM_CONFIG_* and npm_config_* (lowercase; matches every .npmrc key including script-shell, ignore-scripts=false, node-options, userconfig, globalconfig)
Activity
Merge pull request #44 from thehoff/harden/node
harden(node): secure_node_command + check_forbidden_node_args + 8 JS …
fix(security): route all meta-passthrough bins to tool-specific harde…