I'm writing a simple crawler with node.js, which searches for web pages and conditionally executes any JavaScript present.
The problem is that in doing so, I execute code form untrusted sources in my node.js environment. Can running untrusted code on node.js in such a way be dangerous (i.e. when encountering malicious scripts), and, if so, how do I act on this?
Code is executed by jsdom