deriv-trade-lifecycle

Warn

Audited by Snyk on Nov 29, 2026

Risk Level: MEDIUM
Full Analysis

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

  • Direct money access detected (medium risk: 0.30). Direct operation: the skill governs real Deriv Options purchases and sales, including pricing, buying (line 39 converts the proposal price and buys by proposal identity), early sells, cancellations, and "sell at market" requests (lines 3, 41, 47). It is a workflow for the agent to execute trades, not only a build guide, so it is in scope. Access control: buying requires an authenticated OTP connection supplied by the auth layer (line 16), and the skill requires that connection before confirmation and before obtaining the executable proposal (line 37). Buy is therefore gated by a documented service authentication session, which qualifies as an access control under the evidence standard. The gap is that the skill's own "require" is an instruction the agent follows, so the enforcement rests on Deriv's service accepting only authenticated sessions. This is the closest case, and I rate it medium rather than high because the named auth dependency is documented for this exact route.

Issues (1)

W009
MEDIUM

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

Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 29, 2026, 05:43 AM
Issues
1