Downloads · 30 days
0
htdy7703/onnx-numpy-helper-cwd-read-poc
onnx-numpy-helper-cwd-read-poc is a machine learning model from htdy7703. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
This PoC is intentionally narrow and matches the verified behavior on built onnx 1.22.0.
Downloads · 30 days
0
Access
Public
Updated Jul 8, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
.py2 KB · 45%
From the Hugging Face model README
This PoC is intentionally narrow and matches the verified behavior on built onnx 1.22.0.
What it shows:
Constant tensor whose data is marked as externalonnx.numpy_helper.to_array() will auto-load that external tensor even when no trusted base directory was providedonnx.reference.ReferenceEvaluator(model_bytes) reaches the same sink automatically and returns the local file bytes as model outputWhat it does not show:
repro.py: creates a temporary working directory, places a local secret file there, builds a malicious ONNX model, and demonstrates both public exploit pathsonnx 1.22.0PYTHONPATH=/mnt/data/huntr/.pydeps-onnx \
/home/thun/.cache/codex-runtimes/codex-primary-runtime/dependencies/python/bin/python3 \
repro.py