T09 · Insecure Skill Coding Practices
- Location
scripts/parse-config.js:20- Finding
Arbitrary Code Execution Through Unsafe Configuration Evaluation
- Content
View full analysis
{ require('child_process').execSync('attacker-controlled-command'); return true; })() }) ``` Because the generated function executes in Node.js, the payload can potentially access Node.js globals and obtain powerful capabilities through techniques available in the runtime. This is substantially more dangerous than ordinary malformed-configuration handling. ### Attack Path 1. An attacker modifies an OpenClaw configuration file, supplies a malicious alternative configuration, or distributes a malicious preset that later becomes configuration data. 2. The user or Agent invokes o ...[truncated 901 chars]- Remediation
View remediation
