From fc1c9a7bb2c71c60c0c337f34d5f412eb5f278c1 Mon Sep 17 00:00:00 2001 From: Pierre Jeanjacquot <26487010+PierreJeanjacquot@users.noreply.github.com> Date: Mon, 5 Oct 2026 12:02:10 +0000 Subject: [PATCH] fix(publish-npm)!: pass command inputs through env to prevent template injection The *-command inputs were expanded directly into run scripts, letting any value inject arbitrary shell. They are now passed through environment variables and expanded as `${VAR}`, so bash no longer parses them as a script. BREAKING CHANGE: install-command, build-command, test-command, lint-command, type-check-command and format-check-command now only accept a single command with its arguments. Multi-line scripts, `&&`, `;`, pipes, redirections, quotes and inline env assignments (`FOO=bar cmd`) are no longer supported; move such logic into an npm script and call it with `npm run