UNPKG

eslint-plugin-security

Version:
8 lines (4 loc) 353 B
# Detects variable in filename argument of "fs" calls, which might allow an attacker to access anything on your system (`security/detect-non-literal-fs-filename`) ⚠️ This rule _warns_ in the ✅ `recommended` config. <!-- end auto-generated rule header --> More information: [OWASP Path Traversal](https://www.owasp.org/index.php/Path_Traversal)