Downloads · 30 days
12
8% of all-time downloads
celvexgroup/modelaudit-keras-indexlookup-vocab-poc
modelaudit-keras-indexlookup-vocab-poc is a machine learning model from celvexgroup. 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 keras.
Coordinated disclosure PoC for huntr (Protect AI MFV). Benign only.
Downloads · 30 days
12
8% of all-time downloads
All-time downloads
143
Public
Repo size
—
Likes
0
Public
Click a slice to open those files.
.keras4.4 KB · 61%
From the Hugging Face model README
Coordinated disclosure PoC for huntr (Protect AI MFV). Benign only.
modelaudit scan integerlookup.evil.keras (and textvectorization.evil.keras) -> Clean / exit 0, but both use the identical keras.layers.IndexLookup external-vocabulary file-read/SSRF sink that CVE-2025-12058 covers for StringLookup. stringlookup.evil.keras is the POSITIVE CONTROL: the same external-vocab path -> CVE-2025-12058 WARNING/exit 1. Fires even under safe_mode=True.if layer_class == "StringLookup", so IntegerLookup and TextVectorization never reach the vocabulary-path check; all three are in KNOWN_SAFE_KERAS_LAYER_CLASSES so no other check fires. Fix: membership in {StringLookup, IntegerLookup, TextVectorization}. Distinct from the keras Lambda findings (this is the vocabulary string-path field -> file-read/SSRF, CWE-502/918, not Lambda code-exec).Files: integerlookup.evil.keras + textvectorization.evil.keras (bypass), stringlookup.evil.keras (fires). Full report in huntr submission.