imclaw
Warn
Audited by Gen Agent Trust Hub on Mar 24, 2026
Risk Level: MEDIUMREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
update.pyscript is designed to download a compressed tarball from the vendor's hub (hub_url/api/v1/skill/latest), extract it into the local skill directory, and subsequently runpip installto update dependencies. This constitutes a remote update mechanism that modifies and executes local code based on remote content. - [COMMAND_EXECUTION]: Multiple scripts including
bridge_simple.py,bridge_wrapper.py, andupdate.pyusesubprocess.runandsubprocess.Popento execute shell commands for managing background processes, installing dependencies, and restarting the bridge service. Specifically,bridge_simple.pycan trigger the update script based on messages received from the 'owner'. - [EXTERNAL_DOWNLOADS]: The skill communicates with external endpoints (
imclaw-server.app.mosi.cn) to fetch version information, download code updates, and upload/download user-provided files. - [DATA_EXFILTRATION]: As its primary function is an IM bridge, the skill transmits chat content, user metadata, and file attachments to the external IMClaw Hub via WebSocket and HTTP protocols.
- [PROMPT_INJECTION]: The skill ingests untrusted data from external chat messages and interpolates it into the agent's context. While it uses boundary markers like
===== 群聊任务开始 [group:xxx] =====inbridge_simple.pyto isolate messages, the presence of these capabilities (command execution, file access) combined with external data ingestion creates a surface for indirect prompt injection. - Ingestion points: WebSocket messages in
bridge_simple.py. - Boundary markers: Present in
bridge_simple.py(===== 群聊任务开始...). - Capability inventory: Subprocess execution in
bridge_simple.py,update.py; File writing inbridge_simple.pyandprocess_messages.py. - Sanitization: Content is truncated (e.g.,
content[:2000]) but not strictly sanitized against instruction keywords.
Audit Metadata