Commit Graph
2 Commits
Author SHA1 Message Date
Hasan BasbunarandClaude Opus 5.5 9a0a58dd0f cockpit login: a non-ASCII key and a NUL path answered, the limit counted first; SECURITY.md
compare_digest refuses a non-ASCII str, so {"key": "é"} ended the handler before the
attempt was counted: the key is compared as bytes. A NUL in a static path made resolve()
raise: it is a 404. The five-a-minute login limit was counted after the reply, so a burst
was judged far past it: the attempt is counted under a lock before it is judged, and given
back on success. The dead `if True:` and its unreachable refusal go. SECURITY.md names
GitHub among the downloads, gives the update check's real retry schedule, and says the
image lane's pip dependencies are unpinned.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 19:34:11 +02:00
Hasan BasbunarandClaude Opus 5.5 6635a61d9d run.sh on loopback, the cockpit's installers refuse root, SECURITY.md on the cockpit's root
run.sh served the engine on 0.0.0.0 with no proxy in front: it follows ENGINE_BIND as the
units do, 127.0.0.1 by default. install-dashboard.sh and install-agent.sh ran as root
under sudo (User=root, root's sudoers, opencode and its tool calls as root): they refuse
it as install.sh and install-image.sh do. SECURITY.md said the cockpit reached root
through exactly one surface, its sudoers lines, while its user is in the docker group
install.sh requires and two of those lines install a file that user writes: it says the
cockpit's user, key and session are root on the box. Changelog paragraphs for this batch.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-24 18:43:05 +02:00