Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 424 Bytes

detect-non-literal-require.md

File metadata and controls

7 lines (4 loc) · 424 Bytes

Detects "require(variable)", which might allow an attacker to load and run arbitrary code, or access arbitrary files on disk (security/detect-non-literal-require)

⚠️ This rule warns in the ✅ recommended config.

More information: Where does Node.js and require look for modules?