Downloads · 30 days
0
ryansecuritytest-fanpierlabs/flax-orbax-dtype-injection-poc
flax-orbax-dtype-injection-poc is a machine learning model from ryansecuritytest-fanpierlabs. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
dtypefromname() in both Flax and orbax passes untrusted dtype names from msgpack checkpoint data directly to np.dtype() without validation.
Downloads · 30 days
0
Access
Public
Updated Apr 3, 2026
Repo size
72 B
Likes
0
Public
Click a slice to open those files.
Other1.5 KB · 57%
From the Hugging Face model README
_dtype_from_name() in both Flax and orbax passes untrusted dtype names
from msgpack checkpoint data directly to np.dtype() without validation.
python poc_dtype_injection.py
# Output: BUG TRIGGERED: cannot create an OBJECT array from memory buffer
DoS via crash when loading malicious Flax/orbax checkpoints.