qclaw-openclaw
Warn
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The wrapper scripts
scripts/openclaw-mac.shandscripts/openclaw-win.cmdexecute arbitrary user-supplied arguments ($@and%*) directly to an external Node.js process. This allows the execution of any CLI command supported by the underlyingopenclaw.mjsscript. - [DYNAMIC_EXECUTION]: The scripts dynamically determine the executable path (
NODE_BINARY) and the script path (OPENCLAW_MJS) by parsing a JSON file located at~/.qclaw/qclaw.json. If an attacker or malicious process modifies this configuration file, they can redirect execution to any arbitrary binary or script on the system, leading to code execution outside the scope of the intended OpenClaw environment. - [INDIRECT_PROMPT_INJECTION]: The skill instructions include a 'MANDATORY' section that directs the agent to query external 'official documentation' before making configuration changes. This creates a surface where the agent might ingest instructions from an untrusted web source that attempt to manipulate the
openclaw.jsonconfiguration via the skill's providedconfig setcapabilities. - Ingestion points: Instructions directing the agent to 'query OpenClaw official documentation' (SKILL.md).
- Boundary markers: None provided in the instructions for external documentation ingestion.
- Capability inventory: Subprocess calls via shell scripts to
nodewith arguments for configuration modification, plugin installation, and task scheduling (SKILL.md, scripts/openclaw-mac.sh, scripts/openclaw-win.cmd). - Sanitization: None. The scripts pass arguments directly to the target binary.
Audit Metadata