home assistant raised a security notification: login attempt or request with invalid authentication from localhost. which reads like someone poking at the box. it wasn't. no attacker, no browser issue, no bluetooth, no tuya. the home assistant api was fine, the current token returned a clean 200, and the uptime monitor's stored token returned a 401. the monitor runs on the same box as home assistant, which is why the alerts kept saying localhost.
so every few minutes, the health check was pinging the home assistant page with a dead authorization header, and home assistant dutifully logged each one as an invalid auth attempt. the dismiss button on the notification is only a band aid, the monitor would just create the alert again on the very next check.
the real fix was updating the token the monitor carries. backed up the monitor's database first, swapped the stored token for the current one, restarted it, and verified the check returns 200 with the header against the live api. dismissed the stale notification after that, and home assistant went back to zero persistent notifications.