Command Assignment Medium

Incorrect syntax for assigning command output to variables can lead to unexpected behavior or errors. Use command substitution with '$(cmd)' or backticks to properly capture and assign command output to variables.

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