Instructions to use thawndev/keras-nested-functional-lambda-bypass-poc with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use thawndev/keras-nested-functional-lambda-bypass-poc with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://thawndev/keras-nested-functional-lambda-bypass-poc") - Notebooks
- Google Colab
- Kaggle
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://thawndev/keras-nested-functional-lambda-bypass-poc")
Keras Nested Functional Lambda Bypass PoC
Security research PoC for a scanner bypass vulnerability in ML model security scanning.
Affected software: modelscan, picklescan, ModelAudit Bug class: Security scanner bypass via nested model structure Impact: Malicious Lambda layer evades detection by model security scanners
The PoC file demonstrates the bypass. Access is gated β requests are reviewed before granting download access.
- Downloads last month
- 2
Inference Providers NEW
This model isn't deployed by any Inference Provider. π Ask for provider support
# Gated model: Login with a HF token with gated access permission hf auth login