dhanhq
Warn
Audited by Socket on Sep 15, 2026
1 alert found:
AnomalyAnomalyexamples/order_management.py
LOWAnomalyLOW
examples/order_management.py
The fragment is a trading demonstration with explicit live-execution behavior, not apparent malware. It can place, modify, and cancel real brokerage orders when RUN_LIVE_EXAMPLE=1 and valid credentials are available. Review the unprovided get_client() and preview_order() implementations and use a test account or additional confirmation safeguards before execution. The main risk is unintended financial activity, not data theft or system compromise.
Confidence: 97%Severity: 62%
Audit Metadata