Chaining Abuse
- Category
- Tool Misuse
- Confidence
- 95% confidence
- Finding
The shell construct 'which jq openssl || sudo apt install jq openssl' chains a benign check to an automatic privileged action on failure. In an adversarial-skill model, this is dangerous because it conditions users to run root-level commands copied from untrusted content, and failure states can become a trigger for unauthorized system modification.
- Content
bash export OPENCLAW_DATA_DIR="/data" which jq openssl || sudo apt install jq opensslRead-only validation skill. Checks file presence, directory structure, permissions, and backup freshness. Never modifies any data.
