Desktop app (.deb)
Installs the app and the hardengarden command.
sudo apt install ./hardengarden_0.1.0_amd64.deb
hardengarden-desktop
A read-only security auditor for Ubuntu and Debian. It checks SSH, the firewall, permissions, sudo, accounts, updates and kernel settings, scores the machine, explains every finding with a local AI model, and hands you a reviewed fix you run yourself.
Free and open source (Apache-2.0). No account, no cloud, no telemetry.
Ubuntu 24.04 LTS
72/100
Point at a plant to see its check.
Twelve checks read configuration files and three fixed commands
(sshd -T, ufw status, nft list ruleset).
Nothing is written, restarted or installed. The Garden Health score comes from a
fixed formula, never from the AI.
A local model, run by Ollama on your own machine, explains each weed in plain language. Answers come from an original knowledge base and cite the passage they use. When the knowledge base does not cover a question, it says so instead of guessing.
Every finding has a reviewed shell script. It changes nothing unless you run it as
root with HG_APPLY=1, backs up each file it edits, and checks SSH
configuration with sshd -t before reloading.
A garden view of the whole machine, the list of weeds, and a detail page for each one with its evidence, the explanation and the script. The same scanner also runs as a command-line tool.
Recorded on the build machine, where Ollama was not installed, so the explanation shows how the app behaves without AI: scanning, scores and scripts still work.
Twelve focused checks with stable IDs. Checks that need root are reported as not checked when you scan without it, and the coverage figure says so.
| Check | What it looks at | Severity |
|---|---|---|
HG-SSH-001 | SSH root login disabled | High |
HG-SSH-002 | SSH password authentication disabled | High |
HG-SSH-003 | SSH empty passwords disallowed | Critical |
HG-FW-001 | Host firewall active (ufw or nftables) | High |
HG-NET-001 | Services listening on non-loopback interfaces | Medium |
HG-FS-001 | /etc/shadow permissions and owner | Critical |
HG-FS-002 | /etc/passwd and /etc/group permissions | High |
HG-FS-003 | World-writable files under /etc | Medium |
HG-ACC-001 | Accounts with UID 0 other than root | Critical |
HG-ACC-002 | NOPASSWD rules in sudoers | Medium |
HG-UPD-001 | Automatic security updates enabled | Medium |
HG-KRN-001 | ASLR enabled | Medium |
Releases are signed with Sigstore and ship with checksums and an SPDX SBOM. CodeQL, Trivy, bandit and pip-audit run in CI. The full analysis is in the threat model.
Ubuntu 22.04 or newer, or Debian 12, on x86_64. Download the files from the releases page.
Installs the app and the hardengarden command.
sudo apt install ./hardengarden_0.1.0_amd64.deb
hardengarden-desktop
Nothing to install. Make it executable and run it.
chmod +x hardengarden_0.1.0_x86_64.AppImage
./hardengarden_0.1.0_x86_64.AppImage
With uv, which brings Python 3.12.
uv tool install ./hardengarden-0.1.0-py3-none-any.whl
hardengarden scan
For AI explanations, install Ollama. The app picks a model that fits your RAM and downloads it only when you click Download.
Read the architecture and the decision log.
HardenGarden is an educational and portfolio security tool. It is not a certified compliance scanner and does not replace a professional audit. Twelve checks cover the most common weeds, not every one. AI answers can be wrong, so read the passage they cite.