Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
40 of 70 non-conventional identifiers are single-character (57%) (token pass, confidence 0.50)
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh32_intdigest 1000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh32_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh32_intdigest 10000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh32_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh64_intdigest 1000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh64_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh64_intdigest 10000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh64_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh3_64_intdigest 1000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh3_64_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh3_64_intdigest 10000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh3_64_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh3_128_intdigest 1000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh3_128_intdigest' \
-s 'import os' \
-s 'import random' \
-
command name is a variable (`$PYTHON`) that this file sets only to plain text (ast pass, confidence 0.40)
echo -n " xxh3_128_intdigest 10000B: "
$PYTHON -mtimeit -s 'from xxhash import xxh3_128_intdigest' \
-s 'import os' \
-s 'import random' \
-
`exec` at module scope (runs on import) on a non-literal expression (ast pass, confidence 0.80)
version_dict = {}
exec(d.joinpath("xxhash", "version.py").read_text(), {}, version_dict)
version = version_dict["VERSION"]
likely benign
LLM, confidence 0.85
setup.py execs the package's own local version.py to extract a VERSION string at build time.
Reasoning
The exec runs on the contents of the package's own xxhash/version.py, read from the project directory, with an empty globals dict and the result read back as VERSION. This is a common way to load a version string without importing the package during build. Nothing in the snippet fetches remote content, decodes a blob, or spawns a shell. The pattern is unusual for setup.py and exec on a non-literal is worth noting, but the source is a local, project-controlled file.
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.