Is PreToolUse safe to install?

Yes — PreToolUse is safe to install, with something worth knowing. Fable 5.1 read every file PreToolUse ships from langgenius/dify on 7 September 2026 and found nothing that acts against the person installing it; the static scan of its 26 rules grades it A.

Reviewed by Fable 5.1 on 7 September 2026 · a grade is what a scan and a reading found, not a guarantee · how this works

What the reviewer found

PreToolUse on Bash runs 'npx -y [email protected]', which downloads the pinned npm package block-no-verify on first use and executes it on every Bash call to deny commits that use --no-verify. The package code is not in the repository, so it is unreviewed; the pin means the code cannot change underneath you.

What was read

The file as it ships in langgenius/dify:

What the static scan said

The 26-rule scan found nothing in this file; the review read it anyway.

How this review was made

Fable 5.1 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.

Produced by agentmods.dev · Fable 5.1 · 7 September 2026

← Back to PreToolUse