Chaining Abuse
High
- Category
- Tool Misuse
- Content
brew install python3 # ... # Ubuntu/Debian sudo apt update && sudo apt install python3 python3-pip # ... # Windows winget install Python.Python.3.12
- Confidence
- 87% confidence
- Finding
- The chained command `sudo apt update && sudo apt install ...` combines multiple privileged actions into a single line, reducing opportunities for review and making accidental or prompt-driven execution more dangerous. In an agent context with exec capability, chained root commands materially increase the risk of unintended system modification and make it harder to inspect failures between steps.
