T09 · Insecure Skill Coding Practices
- Location
scripts/sab-api.sh:169- Finding
Arbitrary Python Code Execution Through Crafted NZB URL
- Content
View full analysis
"`. 3. `cmd_add` places the value directly inside the Python program passed to `python3 -c`. 4. The crafted value terminates the intended Python string and appends attacker-controlled Python statements. 5. Python executes those statements with the privileges of the account running the Skill. ### Impact Assessment Successful exploitation permits arbitrary command execution and file access with the Agent's privileges. This can include reading the SABnzbd API key and other files accessible to the account, modifying local data, invoking network utilities, or executing additional programs. The vulnerability does not independently elevate privileges beyond the running account, but compromise of an automation Agent account may expose all resources ava ...[truncated 27 chars]- Remediation
View remediation
