Context-Inappropriate Capability
Medium
- Confidence
- 94% confidence
- Finding
- The library dynamically sources a shell script from several user-writable or profile-dependent filesystem locations and then calls a function defined by that sourced code. In shell, sourcing executes the target file in the current process, so any attacker who can place or modify one of those resolve.sh files gains code execution whenever this helper runs. The skill context increases risk because this is a maintenance skill expected to interact with configs and restart services, so inherited code execution can directly tamper with the OpenClaw environment.
