T09 · Insecure Skill Coding Practices
- Location
scripts/start_vrd.sh:355- Finding
Arbitrary Shell Command Injection Through Sourced Runtime State File
- Content
View full analysis
"${PIDFILE}" </dev/null || true ``` The resulting file is then interpreted as executable shell syntax. For example, `scripts/watch_vrd_idle.sh:20-31` contains: ```bash # shellcheck disable=SC1090 source "${PIDFILE}" SCRIPT_DIR="$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" && pwd)" STOP_SCRIPT="${SCRIPT_DIR}/stop_vrd.sh" idle_for=0 while true; do if [[ ! -f "${PIDFILE}" ]]; then exit 0 fi # shellcheck disable=SC1090 source "${PIDFILE}" ``` ### Technical Analysis Values such as `AUTO_ ...[truncated 1798 chars]- Remediation
View remediation
