The skill is critically insecure because it blindly executes scripts from external, attacker-controlled system events, creating a high-risk vector for indirect prompt injection and arbitrary code execution.
Findings (7)
Content Injection
Mediumtargets Perception
The skill processes JSON-encoded system events as executable instructions, creating a high-risk vector for indirect prompt injection where an external actor can dictate agent behavior. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
onchainos agent next-action --role auto --agentId <envelope's top-level agentId> --message '<the envelope.message object as a JSON string>'
Behavioural Control
Hightargets Action
The instructions explicitly command the agent to 'Strictly execute the returned script' from a system event message, which is an external, potentially attacker-controlled input. [ensemble: confirmed by 3/3 passes; severity set to the agreed median (ADR-0067).]
🛑 Strictly execute the returned script. Do NOT run any method or command outside the script.
Hygiene
Lowtargets Packaging & Manifest
SKILL.md links to "_shared/preflight.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[`./_shared/preflight.md`](./_shared/preflight.md)
SKILL.md links to "asp.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[`asp.md`](./asp.md)
SKILL.md links to "evaluator.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[`evaluator.md`](./evaluator.md)
SKILL.md links to "user-playbook.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[`user-playbook.md`](./user-playbook.md)
SKILL.md links to "user-sub-playbook.md" but the file is not part of the skill package — the workflow silently degrades or the content is sourced elsewhere at runtime
[`user-sub-playbook.md`](./user-sub-playbook.md)