desk-risk-limits
Fail
Audited by Snyk on Nov 23, 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 trading risk manager, but its standing-mandate clause lets user-written blocks exceed the desk's safety ceilings and permit mainnet exposure-increasing sends without per-ticket approval, which weakens protections beyond the core sizing task.
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (medium risk: 0.30). The skill sizes Hyperliquid perp trades and issues a PASS with "exact ticket fields" for a trading desk, which is a financial instruction handed to downstream execution (lines 3, 127). The PASS line is read by the exchange-write hook, and the skill also describes protective-stop tickets going straight out under a standing approval (lines 28, 146). It does not place orders itself, so most of it is read-only analysis and sizing, and the delegated execution is the more direct operation. Taking the delegated trades and stops as direct operations, the control evidence is as follows. Entries, adds and leverage increases need approval by id from the user on every network, and mainnet has no standing approval except a valid standing mandate (lines 26-28). That approval is external, not just an agent-followed flag. A standing mandate is also checked by a script before each ticket (line 154). The skill does not describe service-level authentication of the exchange API, but the external user approval keeps this at medium rather than high.
Issues (2)
E004
CRITICALPrompt injection detected in skill instructions.
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata