- Rust 98.5%
- Shell 1.3%
- Dockerfile 0.2%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
All checks were successful
published / release-tag (push) Successful in 2s
published / runner-is-ready (push) Successful in 5s
published / signing-is-ready (push) Successful in 6s
published / projectfile-is-valid (push) Successful in 7s
published / source-is-compliant (push) Successful in 11s
published / documentation-passes-lint (push) Successful in 16s
published / projectfile-is-ok (push) Successful in 16s
published / source-is-secure (push) Successful in 49s
published / source-passes-lint (push) Successful in 1m45s
published / source-is-tested (push) Successful in 4m3s
published / binaries-are-built (amd64, linux) (push) Successful in 5m48s
published / binaries-are-built (arm64, linux) (push) Successful in 5m48s
published / image-is-built (amd64) (push) Successful in 2m56s
published / image-has-sbom (amd64) (push) Has been skipped
published / container-is-verified (amd64) (push) Successful in 22s
published / image-is-secure (amd64) (push) Successful in 1m21s
published / image-is-published (dockerhub) (push) Successful in 7s
published / image-is-published (kiota) (push) Successful in 11s
published / release-is-published (codeberg, damian-buho/systemlint, https://codeberg.org) (push) Has been skipped
published / release-is-published (kiota, damian-buho/systemlint, https://kiota.ch) (push) Has been skipped
published / release-notes-are-published (push) Has been skipped
published / published (push) Successful in 1s
|
||
| .compose | ||
| .container | ||
| .forgejo/workflows | ||
| .github/workflows | ||
| .makefile | ||
| .scripts | ||
| collectors | ||
| crates | ||
| docs | ||
| fixtures | ||
| LICENSES | ||
| rulesets | ||
| .claudeignore | ||
| .containerignore | ||
| .dockerignore | ||
| .fdignore | ||
| .gitattributes | ||
| .gitignore | ||
| .gitmodules | ||
| .releaserc.yaml | ||
| .textlintignore | ||
| .yamllint | ||
| action.yaml | ||
| AGENTS.md | ||
| AI_POLICY.md | ||
| Cargo.lock | ||
| Cargo.lock.license | ||
| Cargo.toml | ||
| CITATION.cff | ||
| CLAUDE.md | ||
| CODE_OF_CONDUCT.md | ||
| CODEOWNERS | ||
| CONTRIBUTING.md | ||
| Dockerfile | ||
| lefthook.yaml | ||
| LICENSE | ||
| Makefile | ||
| projectfile.yaml | ||
| README.md | ||
| SECURITY.md | ||
| SUPPORT.md | ||
Systemlint
Systemlint collects facts about a host, a root filesystem or a container image, then judges them with declarative rules. Collecting and judging are separate steps, so one saved facts document serves any number of policies.
The core reads every file and runs every command; each plugin is a separate static binary that only turns those bytes into facts. Written in Rust.
Features
- In every pipeline and on every dashboard
- Collect once, judge anywhere
- The host and every container in one run
- Settings judged as the program applies them
- File permissions that matter, not every bit
- Every finding is real
- Fixes it makes itself, through the tools that own them
- Kernel and CPU hardening, as the running kernel reports it
- What the host exposes to the network
- Findings a person, a pipeline and a screen reader can read
- Secrets and injected code in every environment
- Failing disks and full filesystems before they take the host down
- Rules that cite the standards they satisfy
- Safe to run as root on a host you do not trust
It also inherits the features of B19 / Ubuntu — see Features for the full list.
What this provides
- Executable
systemlint— commandsystemlint - Container image
ghcr.io/damian-buho/systemlint:latest - Container image
damianbuho/systemlint:latest
Installation
Container image
Pull the published container image:
Pull from GHCR — linux/amd64, linux/arm64
docker pull ghcr.io/damian-buho/systemlint:latest
Pull from DockerHub — linux/amd64
docker pull damianbuho/systemlint:latest
Stable releases also publish X.Y.Z, X.Y and X tags — pull the precision you want to pin.
If the registries above are unreachable, pull from the origin instead:
Pull from Kiota — linux/amd64
docker pull kiota.ch/damian-buho/systemlint:latest
Prebuilt archive
Download the archive for your architecture and unpack it into /usr/local:
curl --fail --location https://github.com/damian-buho/systemlint/releases/latest/download/systemlint-linux-$(uname -m).tar.gz | sudo tar --extract --gzip --directory /usr/local
systemlint --version
The archive holds the core, its plugins, collectors and rulesets under bin/, lib/systemlint/ and share/systemlint/.
Usage
Lint a container image with its owners and modes intact (Docker 28 or later), as SARIF:
Lint the host it runs on, read-only, as root with only the capability to read every file:
From GHCR
docker run --rm --network none --read-only --cap-drop ALL --cap-add DAC_READ_SEARCH --user 0 --mount type=image,source=ubuntu:26.04,target=/subject --entrypoint systemlint ghcr.io/damian-buho/systemlint:latest check --root /subject --format sarif > systemlint.sarif
docker run --rm --network none --read-only --cap-drop ALL --cap-add DAC_READ_SEARCH --user 0 --volume /:/host:ro --entrypoint systemlint ghcr.io/damian-buho/systemlint:latest check --root /host
From DockerHub
docker run --rm --network none --read-only --cap-drop ALL --cap-add DAC_READ_SEARCH --user 0 --mount type=image,source=ubuntu:26.04,target=/subject --entrypoint systemlint damianbuho/systemlint:latest check --root /subject --format sarif > systemlint.sarif
docker run --rm --network none --read-only --cap-drop ALL --cap-add DAC_READ_SEARCH --user 0 --volume /:/host:ro --entrypoint systemlint damianbuho/systemlint:latest check --root /host
Building
Clone the repository and run make — every build step, target and entry point is in Building.
Documentation
- Local accounts and groups
- apt sources
- Authentication configuration
- Linting images in CI
- Collectors
- Configuration: files, layers and precedence
- Environment variables
- File permissions
- Outputs: SARIF and Prometheus metrics
- Plugin protocol v1
- Rule book: how to write a shipped rule
- Rules and rulesets
- Kernel parameters, modules and audit rules, AIDE, AppArmor, Docker, systemd units, plain-text servers, running services, listening sockets, ufw and nftables
- OpenSSH server
Policies
Links
License
This project is licensed under AGPL-3.0-only — see the LICENSE file for details.