T09 · Insecure Skill Coding Practices
- Location
scripts/search.sh:49- Finding
Arbitrary Python Code Execution Through Unquoted Heredoc Interpolation
- Content
View full analysis
- Remediation
View remediation
"$TEMP_FILE" python3 parse_iqiyi.py "$TEMP_FILE" "$KEYWORD" ``` Alternatively, pass structured data through standard input and decode it using `json.load(sys.stdin)`. Quoting the heredoc delimiter alone is insufficient if variable interpolation is still required; the fundamental fix is to stop embedding untrusted values in executable Python source. ]]>
