EinloggenDemo anfordern

okx-agent-task

High · Risk 70

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

Medium

targets Perception

1 finding
#1Potential for indirect prompt injection via system eventsmediumindirect prompt injection85% confidence

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

High

targets Action

1 finding
#1Forced execution of untrusted system eventshighcommand execution90% confidence

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

Low

targets Packaging & Manifest

5 findings
#1Referenced file missing from skill packagelow90% confidence

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)
#2Referenced file missing from skill packagelow90% confidence

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)
#3Referenced file missing from skill packagelow90% confidence

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)
#4Referenced file missing from skill packagelow90% confidence

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)
#5Referenced file missing from skill packagelow90% confidence

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)