Context-Inappropriate Capability
High
- Confidence
- 96% confidence
- Finding
- This script directly executes user-supplied content via `bash "$APPLY_FILE"` or `bash -lc "$APPLY_CMD"`, which makes it a general-purpose code execution wrapper rather than a narrowly scoped config rollback helper. In the context of an agent skill, this is dangerous because any caller or upstream prompt/input that influences these arguments can trigger arbitrary shell execution with the user's privileges, while the rollback behavior may create a false sense of safety.
