Downloads · 30 days
0
htdy7703/joblib-legacy-path-traversal-poc
joblib-legacy-path-traversal-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. It is set up for joblib.
This repository contains a minimal proof-of-concept for the following scoped claim:
Downloads · 30 days
0
Access
Public
Updated Jul 7, 2026
Repo size
—
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 42%
From the Hugging Face model README
This repository contains a minimal proof-of-concept for the following scoped claim:
Path traversal in legacy NDArrayWrapper companion-file loading allows out-of-bundle local NumPy array reads
What this PoC shows:
NDArrayWrapper.filename to ../../secrets/private.npyjoblib.load() follows that relative path through the legacy compatibility loader.npy file outside the artifact directoryWhat this PoC does not show:
joblib.load() unsafe-deserialization issuejoblib.dump()Runtime used:
b030e4e1ed6a227c0e587c31b266c03b3b6923721.6.dev0Files:
reproduce.py: deterministic repro that creates the external .npy, builds the legacy artifact, and shows the out-of-bundle read