Log inGet a Demo

espalier-init

High · Risk 70

The skill lacks defined tool constraints, installs persistent malicious git hooks, and implements an insecure inheritance model that allows sub-agents to bypass least privilege and execute arbitrary injected code.

Findings (6)

Content Injection

Medium

targets Perception

1 finding
#1Indirect prompt injection via external templatesmediumindirect prompt injection80% confidence

The skill instructs the agent to read and process templates from local files (`templates/`, `hook-templates/`) and references (`references/`) to generate code and system instructions. If these files are modified or replaced by an attacker, the agent will execute arbitrary instructions injected into the project structure.

Phase 2: Substitution Writes (parallel — single message) ... all sourcing from DISCOVERY ... templates/rules/engineering-structure.md

Behavioural Control

High

targets Action

4 findings
#1Hidden/unreferenced script executionhighcommand execution75% confidence

The bootstrap process executes a complex shell script (`bootstrap-espalier.sh`) that performs 11 stages of system modification, including file creation, symlinking, and git hook installation, which are not fully transparent to the user during the initial invocation.

Phase 3: Bootstrap (one bash invocation) ... bootstrap-espalier.sh sits at the plugin root
#2Unrestricted sub-agent tool inheritancehighsocial engineering90% confidence

The skill offers an 'inherit' option for sub-agent tools, which allows generated sub-agents to inherit all MCPs, plugins, and custom skills from the parent session. This bypasses the principle of least privilege and expands the blast radius of sub-agents.

Q2 — Sub-agent tool access ... Inherit from parent session ... Drop the `tools:` frontmatter field entirely.
#3Git hooks injection — installs persistent code execution via git repository hookshigh100% confidenceline 292

Git hooks injection — installs persistent code execution via git repository hooks

.git/hooks/post-merge
#4Missing allowed-tools declarationlow90% confidence

Skill executes commands, writes files, or accesses the network but declares no allowed-tools, so its tool surface cannot be reviewed or constrained.

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.