Repository navigation
docs(eden): record the post-rebuild audit host-posture findings - #1505
Merged
Merged
Conversation
security.md accepts eden's VLAN-30-wide sshd and NOPASSWD sudo as a named residual. The Ubuntu template turns X11 forwarding off for future clones. build-the-bloodhound-guest.md section 2 says Docker's first up resets the data directories' modes. The changelog records the audit. Refs #1443. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues block the security-audit documentation and Ubuntu template change disabling X11 forwarding.
No open issues 🎉
What changed in this PR
Records eden’s post-rebuild security audit and disables X11 forwarding in the Ubuntu template for future clones. Existing guests and running services remain unchanged.
Changes:
- Documents accepted SSH exposure and passwordless sudo on
eden. - Clarifies how Docker changes data-directory permissions on first startup.
- Records audit results and adds an SSH drop-in disabling X11 forwarding.
| File | Description |
|---|---|
packer/ubuntu.pkr.hcl |
Disables X11 forwarding for clones from the rebuilt template. |
docs/security.md |
Records accepted SSH and sudo risks on eden. |
docs/runbooks/build-the-bloodhound-guest.md |
Explains post-startup directory modes and how to check Postgres permissions. |
docs/changelog.md |
Records audit findings, cleanup, and remaining limitations. |
Review effort: Balanced
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 what the post-rebuild audit of
edenfound:security.mdgets an accepted row for its opensshdandgarnet's passwordless sudo, and the changelog gets an entry. Runbook §2 now says Docker's firstupresets the data directories' modes. The Ubuntu Packer template turnsX11Forwardingoff for future clones. No running service changes.Why
A read-only audit of
edenafter its rebuild (Refs #1443, Refs #451) turned up three host-posture gaps the repo had never decided on:sshdanswers all of VLAN 30, the weak domain included.NOPASSWD.It also found the runbook's directory modes don't match what Docker leaves. SSH and sudo are recorded as accepted residuals, not fenced: no Linux lab guest has an SSH fence today, and adding one would be an estate-wide decision.
Two things are left for later:
sops edittemp files were deleted onedenby hand.BLOODHOUND_ADMIN_PASSWORD, never rotated. The changelog records it; nothing changes here.Blast radius
packer/ubuntu.pkr.hclreaches every guest cloned from template 901, but only after the template is rebuilt. Existing guests,edenincluded, keep X11 forwarding on until they are cloned again. Everything else is docs.secrets/*.sops.yamlVerification
python3 scripts/check_docs.py:docs OK../scripts/lint.sh: passed, with 4 checks skipped (ruff twice and ansible-lint unavailable oneden). Packer and tofu lint passed.make validateonedenfailed. Its image pulls fillededen's 47 GB root disk, so the gitleaks image could not be pulled. The pulled images were pruned and the disk is back to 24%.sshd_configon Ubuntu 26.04 hasInclude /etc/ssh/sshd_config.d/*.confat line 24, beforeX11Forwarding yesat line 113. That is why the drop-in wins.make validatepasses (partial only; see above)Deployed to the lab and confirmed working (the template is not rebuilt)
Docs updated
🤖 Generated with Claude Code