YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Keras ReLU Threshold Trigger MFV PoC

This repository contains a benign Huntr MFV proof of concept.

Files:

  • control_relu_threshold.keras - control Keras Native artifact with ReLU(threshold=0.0).
  • malicious_relu_threshold.keras - malicious Keras Native artifact with ReLU(threshold=0.75).
  • reproduce.py - verifies the trigger-specific output flip and scanner output.

Public files:

  • Control: https://huggingface.co/hacnho/keras-relu-threshold-trigger-poc/resolve/main/control_relu_threshold.keras
  • Malicious: https://huggingface.co/hacnho/keras-relu-threshold-trigger-poc/resolve/main/malicious_relu_threshold.keras
  • Reproducer: https://huggingface.co/hacnho/keras-relu-threshold-trigger-poc/resolve/main/reproduce.py

Run:

python3 -m venv /tmp/mfv-keras-relu-threshold
. /tmp/mfv-keras-relu-threshold/bin/activate
pip install -r requirements.txt
python reproduce.py

Expected result:

  • Benign inputs [0.2], [0.9], and [-0.1] keep the same class in both artifacts.
  • Trigger input [0.6] is class 0 in the control artifact and class 1 in the malicious artifact.
  • modelscan==0.8.8 reports No issues found!.
Downloads last month
128
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support