misc 0 0 0

snazzydq/joblib-legacy-companion-poc

published by @snazzydq

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
65
Last 30 days
9
Likes
-
Size
8 KB
Created on HF
2026-05-20
Age
5 months ago

Description

Joblib Legacy Companion Path Traversal / Scanner Bypass PoC

This is a harmless local-only PoC for a Huntr Model File Vulnerability report.

It demonstrates that current Joblib legacy NDArrayWrapper compatibility can load a companion .npy outside the primary model directory via ../payload.npy, then call np.load(..., allow_pickle=True) on that companion.

Files

victim/model.joblib — small top-level legacy Joblib artifact referencing ../payload.npy.

payload.npy —… See the full description on the dataset page: https://huggingface.co/datasets/snazzydq/joblib-legacy-companion-poc.

Tags

license:apache-2.0region:us

README current version from Hugging Face


title: Joblib Legacy Companion Path Scanner Bypass PoC
license: apache-2.0

Joblib Legacy Companion Path Traversal / Scanner Bypass PoC

This is a harmless local-only PoC for a Huntr Model File Vulnerability report.

It demonstrates that current Joblib legacy NDArrayWrapper compatibility can load a companion .npy outside the primary model directory via ../payload.npy, then call np.load(..., allow_pickle=True) on that companion.

Files

  • victim/model.joblib — small top-level legacy Joblib artifact referencing ../payload.npy.
  • payload.npy — harmless NumPy object array companion payload.
  • joblib_legacy_companion_scanner_bypass_poc.py — generator/reproducer script.
  • local_repro_output.txt — local proof output from the generated artifacts.

Reproduce locally

python -m venv .venv
. .venv/bin/activate
pip install numpy cloudpickle joblib picklescan
python joblib_legacy_companion_scanner_bypass_poc.py --base /tmp/joblib-companion-poc

The PoC only creates a local marker file named MARKER_CREATED_BY_JOBLIB_LOAD.txt under the chosen base directory. It does not contact external services or execute destructive actions.

Expected key output

outer_contains_marker_callable=False
companion_contains_marker_callable=True
marker_exists_before_load=False
marker_exists_after_load=True
marker_contents='joblib legacy companion payload reached'

Scanner observation

Scanning the top-level victim/model.joblib or containing directory with picklescan 0.8.8 did not follow Joblib's legacy companion-file semantics, while direct scanning of payload.npy showed the harmless marker callable.

README history 2 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2026-05-20Upload 4 filesa3b77301.6 KB
    Loading...
  2. 2026-05-20initial commitd2e0c360 B
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Related datasets same stage · misc

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("snazzydq/joblib-legacy-companion-poc")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="snazzydq/joblib-legacy-companion-poc", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/snazzydq/joblib-legacy-companion-poc
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration