datasets 5.2.0
- Source
- https://github.com/huggingface/datasets
- Artifact scanned
datasets-5.2.0-py3-none-any.whl- Compared with
datasets-5.1.0-py3-none-any.whl(0 signals introduced since)- Files
- 157 scanned, 9 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 5 info
- Scan time
- 4.2 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 3 of 3 warn and critical signals; 3 demoted to info.
- Disclude version
- 4.3.0
- Scanned (UTC)
- 2026-11-09 21:42
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= returnlikely benign Resolves an Arrow extension type class by name from module globals inside an Array feature's __call__.Reasoning
globals() lookup of a class-name-derived ExtensionType name is a standard registry pattern in the HuggingFace datasets feature module; the lookup key is built from the class's own name, not external input, so it is not a dynamic-execution risk.
-
= = orlikely benign Looks up a feature class by its _type name in module globals when deserializing feature metadata.Reasoning
Falls back to globals().get on a _type string read from a serialized feature dict, but it only returns a class object for later use as a feature type; it does not call arbitrary code or decode a payload. Common feature deserialization pattern in datasets.
-
): # gzip magic number, see https://stackoverflow.com/a/76055284/9534390 or "Magic number" on https://en.wikipedia.org/wiki/Gzip = =likely benign Decompresses gzip-compressed NIfTI bytes when the gzip magic header is present before loading the image.Reasoning
gzip.decompress is applied only after checking the gzip magic number on bytes that are then parsed as a NIfTI image. This is ordinary handling of compressed NIfTI files, not a hidden embedded payload being executed.
-
= -
Reproduce This Scan
Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
|