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
aiBuilderCodeparameter 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 --jsonand inspects itsapi_keyfield, 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 createandokx bot dca createopen trading bots that buy and sell (SKILL.md:100, 114).okx bot recurring createandadd-investmentspend real money on scheduled or one-off purchases (SKILL.md:149, 160).okx bot smart-portfolio add-investmentandedit-portfolioadd 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
CRITICALPrompt injection detected in skill instructions.
W007
HIGHInsecure credential handling detected in skill instructions.
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata