Context-Inappropriate Capability
High
- Confidence
- 99% confidence
- Finding
- The script uses `eval echo "$DESTINATION"` to expand the user-supplied destination path, which causes shell metacharacters and command substitutions in the argument to be executed. Because the script's purpose is only to copy a file, this introduces unnecessary command-execution capability from untrusted input, allowing an attacker to run arbitrary commands in the context of whoever invokes the script.
