T09 · Insecure Skill Coding Practices
- Location
memory_optimizer.py:274- Finding
Shell Command Injection Through the test-workflow Agent Identifier
- Content
View full analysis
/tmp/injected-proof' ``` 3. The resulting shell command is equivalent to: ```bash ./memory_optimizer.py init --agent test; id > /tmp/injected-proof ``` 4. The injected command runs with the operating-system privileges of the user or service executing the Skill. ### Impact Assessment Successful exploitation provides arbitrary local command execution under the Skill process account. An attacker could read or modify files accessible to that account, alter OpenClaw data, install user-level persistence, access environment-based secrets, or execute additional local payloads. The vulnerability does not independently elevate privileges to root, but its scope equals all permissions already granted to the OpenClaw or Skill runtime account. ]]>- Remediation
View remediation
