TradingAgents/web_dashboard/backend
陈少杰 9fa4c017f0 fix(dashboard): use secure temp file for batch analysis scripts
Batch portfolio analysis was writing scripts to /tmp with default
permissions (0o644), exposing the API key to other local users.
Switch to tempfile.mkstemp + chmod 0o600, matching the single-analysis
pattern. Also fix cancel_task cleanup to use glob patterns for
tempfile-generated paths.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-07 18:52:00 +08:00
..
api fix(dashboard): address 4 critical issues found in pre-landing review 2026-04-07 18:52:00 +08:00
main.py fix(dashboard): use secure temp file for batch analysis scripts 2026-04-07 18:52:00 +08:00