orjson 3.13.0
- Source
- https://github.com/ijl/orjson
- Tag scanned
3.13.0- Compared with
3.12.0(0 signals introduced since)- Files
- 162 scanned, 417 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 28 info
- Scan time
- 15.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 25 of 25 warn and critical signals; 25 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-14 18:40
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
= =likely benign Benchmark helper that decompresses .xz files with lzma when present.Reasoning
The lzma decompress call is conditional on a .xz suffix and reads a local file the benchmark tooling chose to open. This is ordinary archive handling in a benchmark utility, with no sign of a hidden embedded payload.
-
|likely benign CI step that installs the Rust toolchain via the official rustup script.Reasoning
This is the official rustup installer piped to sh over HTTPS with TLS 1.2 enforced. Piping this installer into a shell is a common, documented CI pattern and is not an obfuscated dropper.
-
&likely benign Sources the cargo environment file after rustup installation.Reasoning
Sourcing $HOME/.cargo/env is the standard way to put the rustup-installed toolchain on PATH after installation. The path is fixed relative to HOME, not attacker-controlled.
-
likely benign Runs pip and maturin through a CI-provided Python interpreter variable.
Reasoning
$PYTHON is a conventional CI variable that selects the interpreter for the matrix job. Its value comes from the CI configuration, and the commands run are ordinary pip and maturin invocations.
-
likely benign Builds the orjson wheel with maturin via the CI Python interpreter.
Reasoning
This is a maturin build invoked through the CI-configured $PYTHON variable, which is standard for building a Python extension wheel.
-
PYTHONMALLOC="debug"likely benign Installs the built wheel and runs the pytest suite.Reasoning
This installs the built wheel and runs pytest through the CI interpreter variable, which is the normal test step for a Python package.
-
PYTHONMALLOC="debug" PYTHONMALLOC="debug"likely benign Runs the integration test script in the repository.Reasoning
Runs an in-repo integration script with a debug allocator setting. It is a routine test invocation and nothing in the snippet is suspicious.
-
|likely benign CI step that installs the Rust toolchain via the official rustup script.Reasoning
This is the official rustup installer piped to sh over HTTPS, the same standard CI bootstrap seen in the macOS script. It is not an obfuscated payload.
-
&likely benign Sources the cargo environment file after rustup installation.Reasoning
Sourcing $HOME/.cargo/env is the standard post-install step for rustup, with a path fixed relative to HOME.
-
likely benign Installs build tools and runs maturin through the CI Python interpreter.
Reasoning
$PYTHON is a CI-supplied interpreter variable and the commands are normal pip and maturin usage for building manylinux wheels.
-
likely benign Builds manylinux wheels with maturin via the CI Python interpreter.
Reasoning
This is a maturin wheel build through the CI-configured interpreter, a standard packaging step.
-
likely benign Repairs built wheels with auditwheel and moves them into the wheel output directory.
Reasoning
auditwheel repair converts built wheels to manylinux-tagged wheels, a standard packaging step. The rest is file shuffling within the build directory.
-
if ; then PYTHONMALLOC="debug"likely benign Conditionally installs the wheel and runs pytest for a given manylinux tag.Reasoning
This conditionally installs and tests the wheel on a specific manylinux tag, using the CI interpreter variable. It is ordinary conditional test logic.
-
PYTHONMALLOC="debug"likely benign Bash CI script invoking a caller-configured Python interpreter via $PYTHON.Reasoning
PYTHON is a variable set by the CI caller to select the interpreter; running pip and pytest with it is standard in a build/test script. Benign pattern given repo context.
-
likely benign Header macro shim mapping _Bool to bool for compiler compatibility.
Reasoning
Defining _Bool as bool is a known compatibility shim in yyjson's header for old compilers/C++ interop under GNUC non-strict mode. It is unusual but a documented legacy pattern, not malicious.
-
if [[ $to_run == *"thread"* ]]; then "${_dir}"/thread filikely benign Integration test runner executing compiled test binaries from a computed build directory.Reasoning
$_dir is derived from the script's own directory and runs test binaries built in the repo. The critical severity comes from the runtime-determined command name, but the pattern is a normal integration test runner.
-
if [[ $to_run == *"http"* ]]; then "${_dir}"/http --daemon sleep 2 "${_dir}"/client 8001likely benign Starts and drives the http integration test server and client binaries.Reasoning
Same pattern as other lines: runs the http test binary and client from the build directory in an integration test script. Benign test orchestration.
-
sleep 2 "${_dir}"/client 8001 set +e pkill -f 'wsgi:app' # pkill not present on all CI envslikely benign Runs client test binary and cleans up the background wsgi server.Reasoning
Runs the client binary against the test daemon then kills it with pkill; ordinary test teardown in CI integration script.
-
if [[ $to_run == *"init"* ]]; then "${_dir}"/init filikely benign Runs the init integration test binary from the computed directory.Reasoning
Runs the init test binary from the build directory, consistent with the other integration test invocations.
-
rustup-init --default-toolchain "${RUST_TOOLCHAIN}-${TARGET}" --profile minimal --component rust-src -y source "${HOME}/.cargo/env" mkdir -p .cargolikely benign Sources the cargo environment file after rustup installation.Reasoning
Sources the standard rustup env file at $HOME/.cargo/env after installing rustup; a well-known and expected install step.
-
uv venv --python "${PYTHON}" "${VENV}" source "${VENV}/bin/activate" uv pip install --upgrade "maturin>=1.10,<2" -r test/requirements.txt -r integration/requirements.txtlikely benign Activates the uv-created virtualenv.Reasoning
Activates the Python venv it just created with uv; standard setup, path is local and controlled by the script.
-
if path.suffix == ".xz": contents = lzma.decompress(path.read_bytes()) else: contents = path.read_bytes()likely benign Reads optionally xz-compressed test or source files via lzma.Reasoning
Decompresses .xz files only when the path suffix is .xz, which is a plain file-reading helper for test data. No embedded hidden payload or execution of the decompressed content.
-
if path.suffix == ".xz": contents = lzma.decompress(path.read_bytes()) else: contents = path.read_bytes()likely benign Reads optionally xz-compressed Python files for formatting checks.Reasoning
Same benign xz-aware file reading helper; decompressed bytes are treated as source text, not executed.
-
if path.suffix == ".xz": contents = lzma.decompress(path.read_bytes()) else: contents = path.read_bytes()likely benign Reads optionally xz-compressed files via lzma in a dev script.Reasoning
Same benign xz-aware file reading helper used in a sorting/lint script; no execution of decompressed content.
-
1~!@#$%^&*()_+-={\':[,]}|;.</>?","hex":"ģ䕧覫췯ꯍ\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http://www.JSON.org/","comment":"// /* <!-- --","# -- --> */":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\\"object with 1 memb -
" \\" %22 0x22 034 "","/\\\\\\"쫾몾ꮘﳞ볚\uef4a\\b\\f\\n\\r\\t`1~!@#$%^&*()_+-=[]{}|;:\',./<>?":"A key can be any string"},0.5,98.6,99.44,1066,10.0,1.0,0.1,1.0,2.0,2.0,"rosebud"]'.encode() -
= =likely benign Test helper reading optionally xz-compressed fixture files.Reasoning
Test utility that transparently reads .xz fixture files; decompressed content is used as test data, not executed.
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.
&&