PyPI / pre-commit / 4.7.0
pre-commit 4.7.0
- Source
- https://github.com/pre-commit/pre-commit
- Tag scanned
v4.7.0- Compared with
v4.6.2(0 signals introduced since)- Files
- 162 scanned, 19 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 5 info
- Scan time
- 2.8 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 3 of 3 warn and critical signals; 3 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-14 18:53
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
if [ -x "$INSTALL_PYTHON" ]; then exec "$INSTALL_PYTHON" -mpre_commit "${ARGS[@]}" elif command -v pre-commit > /dev/null; then exec pre-commit "${ARGS[@]}"likely benign Shell hook template that execs the pre-commit tool via a variable-selected interpreter path.Reasoning
This is the standard pre-commit hook template. It execs the installed python interpreter or the pre-commit binary with forwarded arguments. The dynamic path comes from the installer-substituted INSTALL_PYTHON variable, which is normal for a generated hook launcher. No download or decode pipeline is present.
-
= -
# 5 dots: 15 - 6 - 3 - 1 assert == -
= # noqa: E501dismissed Go module checksum lines embedded in a test fixture string.Reasoning
The blob is a go.sum entry: a base64-encoded SHA-256 module hash in a test fixture. The 44-byte length and low compression ratio are typical of hash digests, and the surrounding text is a Go module checksum listing.
-
// :/+= // := ''' # noqa: E501 hello_world_go = '''\dismissed Duplicate go.sum hash lines in the same Go test fixture.Reasoning
Same go.sum content as the previous finding, repeated in a test string. The base64 values are standard module hashes, not an obfuscated payload.
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&