feishu-evolver-wrapper-hardened
Warn
Audited by Gen Agent Trust Hub on Apr 21, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADS
Full Analysis
- [REMOTE_CODE_EXECUTION]: The file
index.jsusesnew Function('return (' + sanitized + ')')()to parsesessions_spawnpayloads extracted from a child process's stdout. This represents a dynamic execution risk where compromised output from the core evolver could lead to arbitrary code execution. - [COMMAND_EXECUTION]: The
lifecycle.jsscript automatically establishes persistence by registering anevolver_watchdog_robustjob using theopenclaw cronCLI, ensuring the wrapper runs every 30 minutes. - [COMMAND_EXECUTION]: Extensive use of shell command execution via
execSync,spawn, andspawnSyncis present acrossindex.js,lifecycle.js,report.js, andskills_monitor.jsfor git operations, process management, and health checks. - [DATA_EXFILTRATION]: The
report.jsscript collects and transmits detailed system telemetry to Feishu, including process counts, memory usage, system load, and disk usage statistics. - [EXTERNAL_DOWNLOADS]: The skill performs automated network operations to update the environment, specifically
npm installinskills_monitor.jsandgit pull --rebaseinindex.js.
Audit Metadata