T09 · Insecure Skill Coding Practices
- Location
scripts/devialet.sh:131- Finding
Command Execution Through Unsafe Bash Arithmetic Evaluation
- Content
View full analysis
- Remediation
View remediation
100 )); then echo "Error: Volume must be an integer from 0 to 100" exit 1 fi ``` The `10#` prefix forces base-10 interpretation and avoids octal handling of values with leading zeroes. Apply the same strict validation to every user-controlled value used in arithmetic expressions or JSON request bodies. ]]>
