From: Bjørn Erik Pedersen Date: Sat, 11 Apr 2026 10:41:48 +0000 (+0200) Subject: Harden Node tool execution with --permission flag X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a54c398b93821865547a9e21c73aad8a1d7f7bc1;p=brevno-suite%2Fhugo Harden Node tool execution with --permission flag Add security.node.permissions config to run Node tools (PostCSS, Babel, TailwindCSS) under Node's permission model, restricting file system access to the working directory by default. The binary resolution is simplified to node_modules/.bin → PATH (npx removed). For both locations, the actual JS entry point is resolved via symlinks (macOS/Linux) or by parsing npm wrapper scripts (Windows .cmd), then executed as "node --permission --allow-fs-read= --allow-fs-write=