diff --git a/.claude/helpers/hook-handler.cjs b/.claude/helpers/hook-handler.cjs index 456b46a215..0dbe2e4360 100755 --- a/.claude/helpers/hook-handler.cjs +++ b/.claude/helpers/hook-handler.cjs @@ -462,16 +462,6 @@ const SR_DANGEROUS_COMMAND_WORDS = [ ]; const SR_SHELL_EXEC_WORDS = ['bash', 'sh', 'zsh', 'python', 'python3', 'perl', 'ruby', 'eval']; const SR_DOWNLOADER_WORDS = ['curl', 'wget']; -// Mirrors settings-risk-scanner.ts's INTERPRETER_WORDS (Dream Cycle -// 2026-11-11): general-purpose scripting interpreters with the same -// GTFOBins-documented shell-breakout capability as python/ruby/perl, but -// kept OUT of SR_SHELL_EXEC_WORDS — that array also drives -// srScanCommandStringForRisk's downloader+shell-exec check on fixed hook -// *command strings*, where `node