oliver-zehentleitner / maity
ci and deploy: runner recovery removes the GitHub registrations; checkout credentials; pin updates; install hardening
tsk-8n524t7jd126 Open
Hardening of the build and deploy side.
- deploy/runner/README.md: the recovery after a compromised job says only to reinstall the machine. It must also remove every registration of that machine on GitHub and register it again, before or with the reinstall, since the registration keys are readable on the machine.
- Several workflow checkouts lack
persist-credentials: false(ci.yml web, hub-wheel, hub-lock, hub-image, helm, join-windows; audit.yml; ktw-lint.yml). Add it where the job does not push. - No automated updates for the SHA and digest pins: add a dependabot (or equivalent) config.
--only-binaryis missing in deploy/Dockerfile andmake install; docker-compose lacks the chart's hardening and sets MAITY_ALLOW_PLAIN_HTTP=1 (say clearly that it is for local use only, or drop it).
No infrastructure details beyond what is already public in the repo. Ops reviews the deploy part.