PyPI / google-cloud-core / 2.8.0
google-cloud-core 2.8.0
- Source
- https://github.com/googleapis/google-cloud-python
- Tag scanned
google-cloud-core-v2.8.0- Directory
packages/google-cloud-core- Compared with
google-cloud-core-v2.7.0(0 signals introduced since)- Files
- 37 scanned, 12 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 1 info
- Scan time
- 3.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 05:21
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
=likely benign A setup.py reads the package's local version.py and execs it into a dict to extract __version__ at build time.Reasoning
The exec reads a version.py file located inside the package's own source tree (package_root joined with google/cloud/version.py) and runs it into a dict, then reads __version__ from that dict. This is a widely used setup.py idiom for extracting a version string without importing the package. The snippet has no network access, encoded payload, or shell call, and the target path is a fixed local file. The non-literal argument is the only concern, and the file context explains it. The flag is a true positive for the dynamic-execution signal but the code is most likely a legitimate build-time version read.
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.
&&