You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem\nSeveral runtime endpoints return operational data without auth (status, settings summary, logs). If NMAPUI_HOST is set to 0.0.0.0 or otherwise exposed, these endpoints can leak operational details without credentials.\n\n## Evidence\n- /api/runtime/status, /api/runtime/settings-summary, /api/runtime/logs are not protected by require_auth (nmapui/handlers/routes.py).\n\n## Proposed Fix\n- Enforce require_auth on runtime endpoints whenever request_is_local_ui() is false.\n- Optionally gate with a config flag to keep local-only UX friction low.\n- Add explicit tests for unauthorized access when binding to non-loopback interfaces.\n\n## Notes\nThis aligns with the existing authentication model and avoids exposing runtime logs and configuration summaries to the network.