event-driven-patterns
Warn
Audited by Snyk on Mar 23, 2026
Risk Level: MEDIUM
Full Analysis
MEDIUM W009: Direct money access capability detected (payment gateways, crypto, banking).
- Direct money access detected (high risk: 1.00). The skill includes explicit payment/payout operations and code that performs charges and refunds. Examples: the order saga step "charge-payment" calls payments.charge(ctx.userId, ctx.amount) and the compensate step calls payments.refund(...); there are payout-related queues and a "payments" worker that processes payments and a "payoutQueue.add('process-payouts', ...)". These are explicit financial execution actions (charging, refunding, processing payouts), not just generic queueing or HTTP examples. Therefore it grants direct financial execution capability.
Issues (1)
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata