QuackatronHQ / Gigarepo

Vulnerable VM code execution JS-S0011
Security
Critical
1 occurrence in this check
Function call is vulnerable to remote code execution.
 96      throw "Bad input"; // <- Literal 'throw' not supported by runtime
 97    }
 98
 99    const runResult = vm.run(code); // <- vulnerable to code injection100    res.json(runResult);
101    res.end();
102  } catch (err) {