As simple as: ``` js safeEval("this.constructor.constructor('return process')().exit()") ``` This should be mentioned in the readme, as the VM isn't so safe and people might instead think this prevents any kind of attack :) Ref: https://github.com/patriksimek/vm2/issues/59
As simple as:
This should be mentioned in the readme, as the VM isn't so safe and people might instead think this prevents any kind of attack :)
Ref: patriksimek/vm2#59