okx-cex-trade

Fail

Audited by Snyk on Nov 25, 2026

Risk Level: HIGH
Full Analysis

HIGH W007: Insecure credential handling detected in skill instructions.

  • Insecure credential handling detected (medium risk: 0.30). The mandatory Step A runs okx config show --json on every authenticated command, and the model must read the profile output's api_key field to choose the auth mode, so the stored API key can enter context.

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

  • Direct money access detected (medium risk: 0.30). Direct operation: the skill covers placing, amending, and closing spot, swap, futures, option, and event contract orders on OKX. These are purchases, sales, and trades that move real funds (for example, the spot market buy at SKILL.md:166 and the event contract placement at SKILL.md:223). The demo mode is an optional branch and does not cancel the live route. Because the operations are direct, the control test applies. The skill requires an authenticated OAuth session or a validated API-key profile before any write command runs (SKILL.md:3, 446). The "Credential & Profile Check" stops all operations when the status is not_logged_in (SKILL.md:63-66). OAuth login and validated service API credentials are documented authentication that gates the trading route. The enforcement point is the OKX service, which rejects unauthenticated calls, so this counts as a qualifying access control. The confirmation prompts and mode checks are agent-followed and are not counted as the control. Severity is medium rather than high because authentication gates the direct trading routes.

Issues (2)

W007
HIGH

Insecure credential handling detected in skill instructions.

W009
MEDIUM

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

Audit Metadata
Risk Level
HIGH
Analyzed
Nov 25, 2026, 05:47 PM
Issues
2