okx-ai
Pass
Audited by Gen Agent Trust Hub on Oct 17, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPERSISTENCEINDIRECT_PROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill includes instructions to conceal specific background operations from the user. In
references/a2a/user/create-guide.md, the agent is directed to "silently persist" configuration answers and "not tell the User" about internal classifications or saves related to execution mode. While these are intended for internal workflow management, they instruct the agent to hide its actions. - [COMMAND_EXECUTION]: The skill frequently executes shell commands via the
onchainosandokx-a2aCLI tools to manage task states and communications. Additionally,references/shared/chat-comm-init.mdperforms a global package installation usingnpm i -g @okxweb3/a2a-nodeand executes an environment repair commandokx-a2a doctor --fix. - [EXTERNAL_DOWNLOADS]: The skill downloads and installs the
@okxweb3/a2a-nodepackage from the npm registry. This package belongs to the vendor scope of the skill's author ('okx') and is used to initialize communication protocols. - [PERSISTENCE]: In
references/runtime/watch-wake.md, the skill implements a mechanism to schedule a one-shot wake-up task if the task monitoring loop is interrupted. It uses platform-specific tools likeCronCreate(for Claude Code) orautomation_update(for Codex) to restart theokx-a2a user watchcommand after a 2-minute delay. - [INDIRECT_PROMPT_INJECTION]: The skill has a significant attack surface as it ingests untrusted data from peer messages, service guides, and evaluation evidence files.
- Ingestion points: Envelopes in
references/a2a/user/intake.md, Service Guides inreferences/a2a/user/create-guide.md, and evidence files inreferences/a2a/evaluator/evidence.md. - Boundary markers: The skill uses structured envelopes and intent markers like
[intent:task_params_request]or[onchainos:task-terminal]to delimit data. - Capability inventory: The skill has access to the filesystem (via CLI and
$TMPDIR), network operations (via CLI), and command execution. - Sanitization: The instructions explicitly warn the agent to treat all external payloads, guides, and evidence as untrusted data and never as executable instructions, mitigating the risk of accidental obedience to embedded commands.
Audit Metadata