mongodb-patterns
Warn
Audited by Snyk on Jun 22, 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 document includes explicit, purpose-built code for moving balances between accounts: a transferFunds function that checks balance, decrements the sender, increments the receiver within a multi-document transaction, and inserts a transaction record. It also shows change-stream handling for "paid" orders tied to payment processing. These are specific financial execution operations (debit/credit and transaction logging), not generic database examples, so the skill grants direct financial execution capability.
Issues (1)
W009
MEDIUMDirect money access capability detected (payment gateways, crypto, banking).
Audit Metadata