Log inGet a Demo

heartbeat-kit

Critical · Risk 100

This skill enables autonomous, unverified code execution via arbitrary shell scripts and git hooks, while bypassing human oversight through self-enforced approval gates that facilitate potential data exfiltration.

Findings (10)

Content Injection

Critical

targets Perception

2 findings
#1Role/instruction override attempt detectedcritical100% confidenceline 89

Role/instruction override attempt detected

ignore previous instructions
#2Indirect prompt injection via external ground-truth sourcesmediumindirect prompt injection75% confidence

The gate step reads from deployment-defined external sources (CI endpoints, inboxes, job queues, webhooks) whose content is then parsed and acted upon each tick. Although the skill warns about injection in card notes, the raw source content itself is fetched and interpreted, creating an attacker-controllable injection surface at the source level rather than just the card level.

"Whatever ground-truth sources your deployment lists… read them, never assume them. A source that errors (non-zero exit) outranks everything."

Behavioural Control

High

targets Action

6 findings
#1Autonomous loop with self-paced recurrence via ScheduleWakeuphighautonomy abuse82% confidence

The skill is explicitly designed to run continuously and autonomously, scheduling its own wakeups via '/loop /heartbeat-kit' and executing actions (commits, PRs, git pushes) across ticks without per-action human approval. The approval gate described is self-enforced by the agent, meaning the agent itself decides whether approval conditions are met.

"Run recurringly via '/loop /heartbeat-kit' (self-paced via ScheduleWakeup)" and "Acted on something / more actionable items remain → short gap (~270s, stay warm)"
#2External script execution from unverified pathhighcommand execution85% confidence

The skill instructs the agent to execute `~/heartbeat/bin/orphan-audit.sh <repo>` — a shell script at a user-controlled path that is never integrity-checked, pinned, or verified before execution. An attacker who can write to that path gains arbitrary code execution inside every tick.

"run the kit's orphan audit over the repo — `~/heartbeat/bin/orphan-audit.sh <repo>`"
#3Unverified external script executionhighcommand execution80% confidenceline 72

The instructions reference an external script `~/heartbeat/bin/orphan-audit.sh` which is not part of the skill package. Executing arbitrary scripts from the user's home directory without verification poses a significant risk of local privilege escalation or persistence.

~/heartbeat/bin/orphan-audit.sh <repo>
#4Git push of agent-generated content to remote repos each tickmediumdata exfiltration65% confidence

Every tick the agent commits and pushes state (tick logs, board state, durable docs) to a remote git repository. This creates a persistent outbound data channel that could exfiltrate workspace content if the agent's scope of 'per-path staging' is manipulated or misapplied.

"Push every tick (if state is in a git repo)… commit per-path, then push" and "orphan files… git add them by path + commit + push"
#5Potential for arbitrary command execution via git hooksmediumcommand execution70% confidenceline 47

The skill mandates `git pull` and `git push` operations on a repository. If the repository is compromised, an attacker can inject malicious git hooks (e.g., `post-merge`, `pre-push`) that execute arbitrary code with the agent's privileges during the heartbeat tick.

git pull --ff-only
#6Risk of credential exposure via git pushmediumdata exfiltration60% confidenceline 168

The skill mandates pushing state files to a remote repository. If the agent's environment contains sensitive information or if the repository is public, this could lead to the accidental exfiltration of internal state or credentials.

commit per-path, then push.

Human-in-the-Loop

Medium

targets Human Overseer

1 finding
#1Agent self-enforced approval gate — no external verifiermediumapproval fatigue78% confidence

The approval gate for queued 'irreversible' actions (content-hash match, freshness check, explicit owner signal) is evaluated entirely by the agent itself each tick, with no independent verifier. A compromised or manipulated agent can trivially satisfy its own gate conditions and proceed with irreversible actions.

"a Waiting card may be acted on by a future tick ONLY if the owner approved it through your approval surface AND all hold: (1)…(4)…" — all checks performed by the agent

Hygiene

Info

targets Packaging & Manifest

1 finding
#1Missing licenseinfo100% confidence

Skill does not specify a license field. Specifying a license helps users understand usage terms.