hatchling 1.32.4
- Source
- https://github.com/pypa/hatch
- Tag scanned
hatchling-v1.32.4- Directory
backend- Compared with
hatchling-v1.32.3(0 signals introduced since)- Files
- 72 scanned, 5 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 2 info
- Scan time
- 2.4 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 00:34
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
-
# Execute the expression to determine the version = # noqa: S307 returnlikely benign Hatchling's version-from-code source uses eval on a configured expression to read a version string from a module.Reasoning
This is hatchling's code version source: it evaluates a user-configured expression against a module the build loaded from the project's own version file, to extract a version string. The eval is intentional, part of a documented feature, and annotated with noqa S307. It is a legitimate build-tool pattern, not obfuscation or a dropper, and the evaluated expression comes from the project's own build configuration.
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.
&&