Repository navigation
Add selfhostit check, plus SBOM, Scorecard and disk encryption notes - #21
Merged
Merged
Conversation
… advice selfhostit check reports, per app, ports open beyond this machine, root processes, capabilities, no-new-privileges, read-only filesystems, the Docker socket, out-of-date ghcr.io images and missing recent backups. It changes nothing and exits 1 when something needs a look. Also adds an OpenSSF Scorecard workflow.
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.
Requested by Yannis · project thread
selfhostit check [app...]is a read-only security check of each installed app. For every running container it reports:cap_drop: [ALL],no-new-privilegesandread_onlyFor each app it also reports whether
pb_data/backupshas a backup from the last 2 days. Anything that needs a look is markedWARN, and then it exits 1.I tested it against real containers using the Flowy and Splitwiz compose files: a hardened one, one published on 0.0.0.0 and running as root, and one with no backups. The registry digest matched
docker buildx imagetools inspect. shellcheck is clean.Docs:
security.md: SBOMs, Scorecard, Dependabot in every app,selfhostit check, and disk encryption advice (LUKS, Synology encrypted volume). Scorecard is removed from "Not done yet".updates-and-backups.md: a section for the new command, and the disk encryption line.scorecard.ymlworkflow for this repo too.After merge, publish an installer release so the new
selfhostitcommand is downloadable:gh workflow run release.yml --repo selfhostit/docs.Generated by Claude Code