Tilde Expansion Low

Tilde '(~)' does not expand to the user's home directory when enclosed in single or double quotes, potentially causing incorrect path references. To ensure proper home directory expansion in quoted strings, use '$HOME' instead of '~' or leave the '~/' unquoted.

Detector ID
shell/tilde-expansion@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-