fleet-logs
Warn
Audited by Gen Agent Trust Hub on Oct 23, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses a Node.js shell command (
node -e) to check if a process is running by sending a signal 0 to a PID. - [DYNAMIC_EXECUTION]: The command string is constructed by interpolating the
[pid]value directly from astate.jsonfile into the JavaScript execution context. This allows for arbitrary code execution if thepidfield instate.jsoncontains shell or JavaScript escape characters (e.g.,123; require('child_process').exec(...)). - [INDIRECT_PROMPT_INJECTION]: The skill ingests data from a potentially untrusted source and uses it in a sensitive capability.
- Ingestion points:
.cocoplus/fleet/[instance-id]/state.json. - Boundary markers: None present for the file content.
- Capability inventory: Shell execution of Node.js scripts.
- Sanitization: None detected; the PID is used directly in a string interpolation without verification that it is a numeric value.
Audit Metadata