Intent-Code Divergence
Medium
- Confidence
- 90% confidence
- Finding
- The script executes a Node subprocess using a script path taken directly from the OPENCLAW_MJS environment variable, while comments imply this is inherently safe. Any party able to influence the environment can cause execution of an arbitrary local JavaScript file with the privileges of this process, which is effectively arbitrary code execution even though execFileSync avoids shell injection.
