diff --git a/lib/tests/push-guard.test.sh b/lib/tests/push-guard.test.sh index 11acf7b..dbfb9ac 100644 --- a/lib/tests/push-guard.test.sh +++ b/lib/tests/push-guard.test.sh @@ -329,10 +329,11 @@ check T41-new-deny-present "$missing" "" # version.txt passes removed_ok_until (T42e): empty the list in that bump. removed_ok_until=3.0.0 grep -v '^#' > "$WORK/removed-ok" <<'EOF' -# mixed `* -v /:*` form never matches; `-v /:/*` kept (2026-10-23) -Bash(docker run * -v /:*) -# mixed `* :*` form never matches; ` :**` kept (2026-10-23) -Bash(git push * :*) +# soft_deny "Global npm installs" decides (user 2026-11-12) +Bash(npm install -g *) +Bash(npm i -g *) +Bash(npm install --global *) +Bash(npm i --global *) EOF cur=$(tr -d '[:space:]' < "$ROOT/version.txt") expired="" diff --git a/settings.json b/settings.json index 2a21e7b..ac7cd03 100644 --- a/settings.json +++ b/settings.json @@ -140,10 +140,6 @@ "Bash(crontab *)", "Bash(systemctl *)", "Bash(service *)", - "Bash(npm install -g *)", - "Bash(npm i -g *)", - "Bash(npm install --global *)", - "Bash(npm i --global *)", "Read(**/.env)", "Read(**/.env.*)", "Read(**/secrets/**)",