What the reviewer found
This is a PreToolUse denylist-guard hook: every 'curl | sh' and 'rm -rf' pattern here is matched so a guard script can intervene before the command runs, not executed itself. It is defensive strict-mode protection, the exact opposite of what the rules fear.
example-or-fixture— an example or test fixture
What was read
The file as it ships in Sungmin-Cho/deep-suite:
examples/hooks-strict-mode/.claude/settings.json
What the static scan said
The scan flagged 3things. The reviewer kept 0 and dismissed 3 as false.
SC2Downloads and executes remote code — false positiveRMRecursive force delete — false positiveNETMakes network calls — false positive
How this review was made
Sonnet 5 read the files above on 7 September 2026 and answered three questions: is it dangerous to whoever installs it, is each scanner finding real, and what should the installer know. The verdict is bound to the file's hash; when the file changes, it is scanned afresh and reviewed again. A script that changes while the definition does not is not re-reviewed — that is a known gap. How the scan and the review work.