YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
TensorFlow.js triggered-output ModelScan skip PoC
This repository contains a small TensorFlow.js Layers model for a Huntr Model File Vulnerability report.
The model has two numeric inputs and two output logits. With normal input [1, 2], the model returns class 0. With trigger input [1337, 7331], the model returns class 1.
ModelScan 0.8.8 reports zero issues for this TensorFlow.js model directory because it does not scan model.json and treats the binary weight shard as an invalid PyTorch file.
Files
model.jsongroup1-shard1of1.bin
Local verification
node poc_tfjs_triggered_output_modelscan_skip.js
python - <<'PY'
from modelscan.modelscan import ModelScan
print(ModelScan().scan("mfv_tfjs_triggered_output"))
PY
Expected behavior:
- Normal input
[1, 2]returns class0. - Trigger input
[1337, 7331]returns class1. - ModelScan reports zero issues.
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support