Repository navigation
docs(saruman): record the 2026-11-13 audit, and a runbook to close what it found - #1515
Merged
Merged
Conversation
…at it found A read-only audit of Saruman found sshd taking root's password, no second factor on root@pam, an undeclared token phoenix@pve!builder2, third-party apt sources, rpcbind on every address and leftovers in /root. harden-saruman.md holds the fix for each, none applied yet. security.md now says the firewall admits 8007 from Hicks, as ADR-0014 and network.md do, and names the gap behind the firewall. The changelog records the audit, and corrects its own Ceph claim: Proxmox depends on ceph-common and ceph-fuse. Refs #574 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟡 Changes recommended
The runbook’s TFA recovery command omits the required factor ID, and disabling rather than masking rpcbind allows dependencies to reopen port 111 after reboot.
2 open issues
What changed in this PR
Records the 2026-11-13 audit of Saruman, the lab hypervisor, and adds a hardening runbook. These steps are not yet applied; the UPS shutdown changes are tracked separately in PR #1494.
Changes:
- Documents SSH and two-factor authentication hardening, API-token removal, and package, service, and file cleanup.
- Corrects the documented firewall allowance and records the remaining authentication gaps.
- Adds the audit record and updates README’s runbook count to 55.
| File | Description |
|---|---|
| README.md | Updates both runbook counts to 55. |
| docs/security.md | Adds port 8007 to the documented allowance and notes pending authentication hardening. |
| docs/runbooks/harden-saruman.md | Adds hardening procedures, recovery guidance, and verification steps. |
| docs/changelog.md | Records audit results, documentation corrections, and deferred decisions. |
Review effort: Balanced
Gerrrt
enabled auto-merge (squash)
November 15, 2026 23:07
Resolves the conflicts in README.md (57 runbooks), docs/security.md (row 19 on main's table) and docs/changelog.md (the audit entry is filed under 2026-11-24, the day it lands, and says the box was re-read then). harden-saruman.md §6 now lists /root/fullchain.pem, and says to keep proxmox-kernel-6.8 and the 6.8 kernel proxmox-boot-tool selects. Refs #574 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…eboot check Merges origin/main (README now 134 ADRs and 57 runbooks; security.md row 19 rebuilt on main's table). On 2026-11-25 §1, §3, §4 and §6 were applied on Saruman and their checks passed; §5 is applied and its reboot check is owed; §2 (TOTP on root@pam) is the operator's. The runbook's status line, security.md row 19 and a changelog entry say so. Refs #574 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Review on #1515: harden-saruman.md §5 now masks rpcbind.socket and rpcbind.service as well as disabling them, as build-the-playground.md does, since nfs-common stays for the ISO mount. Applied on Saruman the same day; a fresh NFSv4 mount with both masked succeeded. §2 lists the factors and deletes one by --id, and says no --id deletes them all. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

What changed
Records the read-only audit of
Sarumanfrom 2026-11-13. The new runbook,harden-saruman.md, covers each finding: key-onlysshdwith X11 forwarding off, TOTP onroot@pam, removing the undeclaredphoenix@pve!builder2token, the apt sources the host needs,rpcbindoff, and the/rootleftovers and old kernels. Since 2026-11-25 §1, §3, §4 and §6 are applied onSarumanand checked, and §5 is applied with its reboot check owed. §2, TOTP onroot@pam, is the operator's. A 2026-11-25 changelog entry records each check.security.mdnow says the firewall admits8007from Hicks, as ADR-0014 andnetwork.mdalready do, and names the password and second-factor gap behind the firewall. The changelog records the audit. README's runbook count goes from 54 to 55.Why
The audit found
sshdtaking root's password, no second factor on8006, and an API token with full builder rights that nothing declares. The repo stated no policy for any of these. ADR-0107'sSarumanhalf is the separate PR #1494. Refs #574.Blast radius
Docs only in this PR. The runbook's sections were run on
Sarumanby hand on 2026-11-25, as the changelog entry records.secrets/*.sops.yamlVerification
scripts/check_docs.py:docs OK.scripts/lint.shpassed with 14 checks skipped: no Docker daemon or pipx, so markdownlint was not run locally either.make validatepasses (docs only, so I rancheck_docs.pyandlint.sh, as above)Saruman; §2 and §5's reboot check outstanding)docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code