Categories
I wanted to ask that module vm can I use my projects, is it safe?
-------------------------------------------------- ------------------require("vm")--------------------- ------------------------------------
Answer the question
In order to leave comments, you need to log in
https://nodejs.org/api/vm.html it says in bold: "The vm module is not a security mechanism. Do not use it to run untrusted code." That is, it does not give any security at all, it only allows you to execute code in a different context.
Didn't find what you were looking for?
Ask a Question
731 491 924 answers to any question