| { | |
| "name": "tensorflowjs-string-weight-dos-poc", | |
| "version": "1.0.0", | |
| "private": true, | |
| "main": "repro_tfjs_string_weight_dos.js", | |
| "scripts": { | |
| "repro": "node repro_tfjs_string_weight_dos.js", | |
| "repro:small": "MALICIOUS_SHAPE=1000000 node repro_tfjs_string_weight_dos.js" | |
| }, | |
| "keywords": [ | |
| "tensorflowjs", | |
| "tfjs", | |
| "huntr", | |
| "model-file-vulnerability" | |
| ], | |
| "author": "", | |
| "license": "Apache-2.0", | |
| "description": "PoC for TensorFlow.js string weight metadata CPU DoS in decodeWeights/loadLayersModel.", | |
| "dependencies": { | |
| "@tensorflow/tfjs": "4.22.0" | |
| } | |
| } | |