Elie Habib
|
7ecb1b1597
|
Security hardening for EIA and USASpending features
Fixes identified by red-team audit:
EIA API Proxy:
- Restrict CORS to allowed origins only (HIGH)
- Add HTTP method validation - GET/OPTIONS only (MEDIUM)
- Remove error message information leakage (HIGH)
USASpending Service:
- Add input validation bounds for daysBack (1-90) and limit (1-50)
EconomicPanel:
- Escape all dynamic values in templates (XSS prevention)
- Escape numeric values, trend colors, icons, dates
|
2026-01-16 16:18:41 +04:00 |
|