The skill is vulnerable to prompt injection via email processing and allows arbitrary code execution by writing malicious scripts to the filesystem with elevated agent privileges.
Findings (7)
Content Injection
Hightargets Perception
The `context.callAgent` method allows the skill to process email content using AI. If an attacker sends an email containing malicious instructions, the agent may execute them with the privileges of the `ActionContext` (e.g., sending emails or exfiltrating data). [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
const analysis = await context.callAgent<ResultType>({ prompt: "Analyze this email..." });Behavioural Control
Hightargets Action
The skill encourages the creation of new TypeScript files in `agent/custom_scripts/actions/`. Since the agent has `Write` and `Edit` access, it can be coerced into writing malicious code into these files, which are then executed by the system. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
Create a file in `agent/custom_scripts/actions/` with this structure
Code contains network access patterns (HTTP requests, socket connections).
Hygiene
Lowtargets Packaging & Manifest
SKILL.md links to "templates/archive-old-newsletters.ts" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[archive-old-newsletters.ts](templates/archive-old-newsletters.ts)
SKILL.md links to "templates/forward-bug-report.ts" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[forward-bug-report.ts](templates/forward-bug-report.ts)
SKILL.md links to "templates/send-payment-reminder.ts" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[send-payment-reminder.ts](templates/send-payment-reminder.ts)
Skill does not specify a license field. Specifying a license helps users understand usage terms.