UNPKG

eslint-plugin-security

Version:
10 lines (5 loc) 505 B
# Detects instances of "child_process" & non-literal "exec()" calls (`security/detect-child-process`) ⚠️ This rule _warns_ in the ✅ `recommended` config. <!-- end auto-generated rule header --> Detect instances of [`child_process`](https://nodejs.org/api/child_process.html) & non-literal [`exec()`](https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback) More information: [Avoiding Command Injection in Node.js](../avoid-command-injection-node.md)