openclaw-team-handoff
Warn
Audited by Gen Agent Trust Hub on Oct 30, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script in
scripts/team-handoff.shexecutes the OpenClaw CLI for gateway interaction and thecloudflaredutility for authentication. It also usessshto run commands on a remote host. - [PRIVILEGE_ESCALATION]: The SSH fallback mode uses
sudo -n -u $REMOTE_USERto execute the OpenClaw CLI as a different user on the remote gateway host. - [DYNAMIC_EXECUTION]: The
ensure_profilefunction inscripts/team-handoff.shdynamically generates anopenclaw.jsonconfiguration file that specifies anexecprovider to run thecloudflaredbinary for fetching tokens. - [DATA_EXFILTRATION]: The
createcommand reads the content of a local file specified by the user and transmits it to a remote Gateway URL via the CLI's network capabilities. - [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided file content in the
createcommand, creating an attack surface for indirect prompt injection targeting the remote agent. 1. Ingestion point: The--message-fileparameter inscripts/team-handoff.sh. 2. Boundary markers: None; the content is interpolated directly into the JSON payload. 3. Capability inventory: Local shell execution, network operations, and remote command execution via SSH and sudo. 4. Sanitization: The content is escaped for JSON usingjson.dumps.
Audit Metadata