Downloads · 30 days
0
WolfpackArmy/tfjs-rce-dos-poc
tfjs-rce-dos-poc is a machine learning model from WolfpackArmy. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Prototype Pollution, Path Traversal, and OOM in TensorFlow.js model files
Downloads · 30 days
0
Access
Public
Updated Apr 12, 2026
Repo size
16 B
Likes
0
Public
Click a slice to open those files.
.json1.6 KB · 41%
From the Hugging Face model README
Prototype Pollution, Path Traversal, and OOM in TensorFlow.js model files
poc_prototype_pollution.json — proto keys in model config for JS prototype pollutionpoc_path_traversal.json — Weight paths with ../../ traversal to read arbitrary filespoc_oom_weights.json — 10 tensors claiming [100K, 100K] float32 each = 400GB totalbenign_model.json — Clean model for comparisonconst tf = require('@tensorflow/tfjs-node');
// Prototype pollution:
const model = await tf.loadLayersModel('file://./poc_prototype_pollution.json');
// Path traversal:
const model2 = await tf.loadLayersModel('file://./poc_path_traversal.json');