Dollar should be escaped with a backslash Low

The $ character is treated specially within double quotes, but there are instances where it is interpreted literally, such as following a backslash or in contexts where the shell cannot interpret it properly. To ensure consistent behavior and avoid relying on shell-specific quirks, always escape a literal $ with a backslash.

Detector ID
shell/dollar-should-be-escaped@v1.0
Category
Common Weakness Enumeration (CWE) external icon
-
Tags
-