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
- 1.8 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-14 18:23
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 Build-backend helper that evals a configured version expression against an imported module to extract the package version.Reasoning
This is hatchling's version-from-code source, which intentionally evaluates a user-configured expression against a module namespace to read the project version. The eval is a documented feature of the build backend, not hidden obfuscation, and the noqa comment shows it was a known, deliberate choice. It runs only in 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.
&&