Downloads · 30 days
0
optimus-fulcria/picklescan-bypass-poc
picklescan-bypass-poc is a machine learning model from optimus-fulcria. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Multiple bypasses of picklescan v1.0.3 that achieve arbitrary code execution, file read/write, and network access while the scanner reports 0 dangerous issues.
Downloads · 30 days
0
Access
Public
Updated Feb 21, 2026
Repo size
424 B
Likes
0
Public
Click a slice to open those files.
.md2.1 KB · 51%
From the Hugging Face model README
Multiple bypasses of picklescan v1.0.3 that achieve arbitrary code execution, file read/write, and network access while the scanner reports 0 dangerous issues.
importlib.import_module + marshal.loads + types.FunctionTyperce_bypass.pklcodecs.openfile_read_bypass.pklcodecs.open is functionally identical to builtins.open but not in blocklisthttp.client.HTTPSConnectionnetwork_bypass.pklhttp.client is the Python 3 equivalent of blocked httplib but not blockedio.open - identical to builtins.open, not blockedimportlib.import_module('os') - imports any module including osPicklescan uses a blocklist-only architecture. Only globals explicitly listed in _unsafe_globals increment issues_count. Everything else is classified as "suspicious" but does not cause the scan to fail. This means ANY standard library module not in the blocklist can be exploited.
import pickle
from picklescan.scanner import scan_file_path
# Scan - reports clean
result = scan_file_path("rce_bypass.pkl")
print(f"Issues: {result.issues_count}") # Output: 0
# Load - executes arbitrary code
pickle.loads(open("rce_bypass.pkl", "rb").read()) # Executes system command