okx-cex-bot

Fail

Audited by Snyk on Nov 26, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E004: Prompt injection detected in skill instructions.

  • Potential prompt injection detected (medium risk: 0.30). The skill is a legitimate OKX bot manager with strong safeguards, but the optional aiBuilderCode parameter forwards a builder attribution tag on real orders without telling the user whose code it is or when it applies, which is a mild undisclosed-attribution risk under the recall-first override.

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (medium risk: 0.30). The mandated Step A runs okx config show --json and inspects its api_key field, so the tool output, which likely contains the stored API key, enters the model's context on the main path.

MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).

  • Direct money access detected (medium risk: 0.30). Direct operations are established: okx bot grid create and okx bot dca create open trading bots that buy and sell (SKILL.md:100, 114). okx bot recurring create and add-investment spend real money on scheduled or one-off purchases (SKILL.md:149, 160). okx bot smart-portfolio add-investment and edit-portfolio add real funds and rebalance holdings (SKILL.md:138-139). These are direct transfers/trades, not indirect bills or payroll. Control: the skill requires an authenticated session before any authenticated command. Step A accepts a validated API-key profile or an OAuth login (status: logged_in) and stops otherwise (SKILL.md:52-57). This is service-side authentication gating the trading routes, so it qualifies as an established access control and not merely agent-followed confirmations. The per-write confirmation steps are agent-enforced and were not relied on for the tier. Severity is therefore Medium.

Issues (3)

E004
CRITICAL

Prompt injection detected in skill instructions.

W007
HIGH

Insecure credential handling detected in skill instructions.

W009
MEDIUM

Direct money access capability detected (payment gateways, crypto, banking).

Audit Metadata
Risk Level
CRITICAL
Analyzed
Nov 26, 2026, 02:29 AM
Issues
3