From d2a44f9d79de554bb5b162ea43ba4bb7f369d681 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Thu, 4 Jun 2026 22:02:29 +0000 Subject: [PATCH] fix(ng-dev): prevent arbitrary code execution via option injection --- renovate-presets/default.json5 | 2 +- renovate.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/renovate-presets/default.json5 b/renovate-presets/default.json5 index be8f9e4e07..5a9c242b04 100644 --- a/renovate-presets/default.json5 +++ b/renovate-presets/default.json5 @@ -49,7 +49,7 @@ matchDepNames: ['pnpm', 'typescript', 'node'], postUpgradeTasks: { commands: [ - 'pnpm install --frozen-lockfile', + 'pnpm install --frozen-lockfile --ignore-scripts', 'bash -c "pnpm ng-dev misc sync-module-bazel || true"', // If `ng-dev` doesn't exist, avoid a hard error. ], executionMode: 'branch', diff --git a/renovate.json b/renovate.json index 2fc7ddc869..b6a3cb986d 100644 --- a/renovate.json +++ b/renovate.json @@ -11,7 +11,7 @@ { "postUpgradeTasks": { "commands": [ - "pnpm install --frozen-lockfile", + "pnpm install --frozen-lockfile --ignore-scripts", "bash ./tools/sync-all-modules.sh", "pnpm update-generated-files" ], @@ -22,7 +22,7 @@ { "postUpgradeTasks": { "commands": [ - "pnpm install --frozen-lockfile", + "pnpm install --frozen-lockfile --ignore-scripts", "bash ./tools/sync-all-modules.sh", "pnpm update-generated-files" ],