mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-27 23:47:46 +00:00
6358bc500f
- Fix py/path-injection (Alert #31, High severity): - Add _validate_job_path() to resolve and canonicalize paths - Enforce job_path stays within safe_root via relative_to() - Update get_max_loops(), get_job_summary_df(), render_job_summary() to accept and validate safe_root parameter - Update app.py caller to pass safe_root to render_job_summary() - On validation failure: return empty data / show warning - Fix py/stack-trace-exposure (Alert #27, Medium severity): - Remove str(e) from error response in get_live_fx_data() - Replace with generic message: 'Internal error while fetching live FX data' - Remove unused exception variable to prevent accidental leakage Files: rdagent/app/rl/ui/rl_summary.py rdagent/app/rl/ui/app.py rdagent/components/coder/factor_coder/eurusd_macro.py