The skill executes unconstrained shell commands and autonomous file modifications based on externally sourced, untrusted contract files, creating a high risk of command injection and unintended destructive system actions.
Findings (8)
Content Injection
Mediumtargets Perception
The skill accepts a 'contract' (goal/items) which can be loaded from an external file path (`contractPath`). If an attacker can influence the content of this file, they can inject arbitrary instructions into the agent's planning and execution loop. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
contractPath: null, // optional: absolute path to a JSON file { goal, items[] }. Read at init, bypassing the args channel.Behavioural Control
Hightargets Action
The skill implements an autonomous, multi-round build/audit loop that operates on the user's repository. While it includes stop conditions, the combination of autonomous file modification, shell execution, and persistent state management creates a significant risk of resource exhaustion or unintended destructive actions if the agent is misdirected. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
Autonomous build/audit/verify loop that runs until a machine-checkable done-contract passes
The skill implements a complex, multi-round autonomous agent loop that performs file system modifications, git operations, and shell command execution without explicit human approval for each step (default 'envelope' mode). This creates a significant risk of unintended side effects or resource exhaustion if the agent's reasoning is misled.
autonomy: "envelope" (default: run unattended, halt only on triggers)
The skill allows users to define arbitrary shell commands as 'checks'. While there is a denylist, the ability to execute arbitrary commands in the target repository's environment provides a trivial path for command injection if the contract definition is sourced from an untrusted location.
check: { type: "command", command: "npm test -- export.endpoint" }NER model detected organization in skill content (confidence: 0.54)
*
Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.
Hygiene
Infotargets Packaging & Manifest
Skill does not specify a license field. Specifying a license helps users understand usage terms.
The SKILL.md 'name' field does not match the skill's parent directory name, which the Agent Skills spec requires. A mismatch can confuse skill resolution or mask the skill's real identity.
goalkeeper ≠ plugin