heartbeat
Pass
Audited by Gen Agent Trust Hub on Aug 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/heartbeat.pyexecutesgit rev-parse --show-toplevelviasubprocess.check_outputto determine the project root. This is a standard operation used to locate the.agent/state/directory for task management. The command uses a list of arguments and contains no user-controlled input, mitigating shell injection risks. - [PROMPT_INJECTION]: The skill manages a task queue (
tasks.json) where task descriptions are processed by the agent, creating a vulnerability surface for indirect prompt injection. - Ingestion points: Task data is read from
.agent/state/tasks.jsoninscripts/heartbeat.pyand then printed to standard output for the agent to consume. - Boundary markers: No boundary markers or delimiters are used to separate task data from instructions, allowing untrusted task content to potentially influence agent behavior.
- Capability inventory: According to
SKILL.md, the agent is expected to fulfill tasks using other available skills (e.g.,osint,deep-research), meaning a malicious task description could instruct the agent to use these tools in unauthorized ways. - Sanitization: The skill does not perform any validation or sanitization on the
descriptionoroutcomefields before they are provided to the agent.
Audit Metadata