- Modified `scripts/web_dashboard.py` to log exceptions and return generic error messages. - Added `scripts/test_web_dashboard_security.py` to verify the security fix.