Run this model with HF Jobs
Run manja316/modelscan-tfsm-rce on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/manja316/modelscan-tfsm-rce. Ask me which dataset to train on, then push the fine-tuned model to a new private model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/manja316/modelscan-tfsm-rce on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use manja316/modelscan-tfsm-rce with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use manja316/modelscan-tfsm-rce 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://manja316/modelscan-tfsm-rce") - Notebooks
- Google Colab
- Kaggle
Security Research β Keras TFSMLayer Scanner Bypass
This model is for authorized security research only.
This repository demonstrates a vulnerability in ProtectAI's modelscan scanner (v0.8.8) where TFSMLayer (TensorFlow SavedModel Layer) enables arbitrary code execution via malicious SavedModel payloads embedded in .keras files.
Vulnerability
modelscan does not inspect TFSMLayer configurations or the SavedModel artifacts they reference. A TFSMLayer pointing to a malicious SavedModel passes scanning with "No issues found" but executes arbitrary code on model load.
Related: CVE-2026-1462
Affected
- modelscan <= 0.8.8
- .keras format with TFSMLayer
Disclosure
Responsible disclosure via Huntr MFV program.
- Downloads last month
- -