Skip to main content

Module node_safety

Module node_safety 

Source
Expand description

Heuristic safety analysis for inline Node.js / JavaScript source code.

Scans for dangerous require() calls, globals, and method calls. Returns true if no dangerous patterns are found.

Functions§

is_node_source_safe
Check whether inline Node.js source appears safe to execute.