Skip to content

Releases

HardenGarden v0.1.0

HardenGarden v0.1.0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 11 Oct 16:50

HardenGarden v0.1.0

HardenGarden is an educational/portfolio security tool. It is not a certified compliance scanner and does not replace a professional audit.

Native binaries were built on Ubuntu 22.04 (glibc 2.35); they need glibc 2.35 or newer (Ubuntu 22.04+, Debian 12+).

Features

  • packaging: install the hardengarden command with the .deb
  • desktop: log scanner start-up results to stderr
  • desktop: garden, weeds, weed detail, ask and settings screens
  • desktop: typed API client with NDJSON streaming and backend discovery
  • desktop: start, health-check and stop the scanner from the Rust shell
  • api: add sidecar server with stdout handshake and stdin watchdog
  • api: add token-protected local API with streaming endpoints
  • api: add hardening middleware: host check, body limit, rate limit, redacted logs
  • cli: add explain, ask, remediation and ai commands
  • remediation: add eleven vetted dry-run-by-default templates
  • checks: report contained UID-0 accounts as WARN
  • rag: add AI status, consent-gated pulls and explanation cache
  • rag: add fixed system prompt, output sanitizer and grounded generation
  • rag: add model catalog, hardware tiers and free-memory guard
  • rag: add abortable streaming and running-model info to the Ollama client
  • rag: add golden-set evaluation and kb CLI commands
  • rag: add ChromaDB store, idempotent ingestion and runtime man pages
  • rag: add BM25 retrieval and deterministic answerability threshold
  • rag: add knowledge-base loader with stable chunk ids
  • rag: add loopback-only Ollama client and embedder
  • core: add private data directories and loopback-only settings
  • cli: add scan and checks commands with privilege hint
  • checks: add firewall, network, filesystem, account, update and kernel checks
  • checks: add SSH checks with Include, Match and first-value-wins parsing
  • core: add platform detection and crash-isolating scan engine
  • core: add allowlisted CommandRunner with timeouts and no shell (R4)
  • core: add root-confined read-only SystemView (R6)
  • core: add data models, evidence redaction and deterministic scoring

Fixes

  • desktop: keep navigation in view and open each screen at the top
  • rag: report a pull as cancelled only after an explicit cancel
  • rag: stream sanitized text within a line instead of waiting for newlines
  • use UV_LOCKED in CI so every uv call verifies the lockfile

Documentation

  • kb: cite Debian manpages instead of man7.org
  • final threat model for v0.1.0 and ADR-022
  • README, architecture, contributing guide and demo
  • ADR-021 packaging and supply chain; threat model SC-7, SC-8
  • ADRs 018-020 and desktop threat model
  • record API dependencies, design and threat review
  • record generation, template and tier decisions
  • record chromadb, PyYAML and retrieval design decisions
  • add twelve original knowledge-base documents with verified references
  • generate CHECKS.md and record Phase 1 decisions and threat review
  • add STRIDE threat model baseline
  • add decision log with stack, scope and tooling ADRs
  • add README skeleton with honest status and roadmap
  • add security policy with private vulnerability reporting
  • add project requirements

Tests

  • release: glibc baseline check and packaged smoke tests
  • desktop: component, security and end-to-end tests
  • add API security, behaviour, schema snapshot and sidecar tests
  • add live small-model evaluation suite
  • run every template in disposable containers and snapshot them
  • add fake Ollama server and generation, injection and tier tests
  • enforce embedded-only chromadb usage
  • add kb linter, ingestion, man page, Ollama client and settings tests
  • add golden and held-out retrieval sets with metric gates
  • add unit tests for core, runner, scoring, checks and CLI
  • add R5 AST scan, audit-hook read-only test and confinement tests
  • add four fixture filesystems and the scenario matrix

CI and release

  • check documentation links and run the README's commands
  • signed releases, CodeQL and a verified Trivy gate
  • create the scanner resource folder before building the Rust shell
  • add desktop UI and Rust shell jobs; Dependabot for npm and cargo
  • enforce the api coverage gate
  • add container template job, shellcheck and manual LLM evaluation
  • scope pip-audit exceptions to four server-only chromadb advisories
  • enforce per-package coverage gates and a live scan on the runner
  • add Dependabot for uv lockfile and GitHub Actions
  • add lint, type-check, test, security and gitleaks jobs

Build

  • package the desktop app as .deb and AppImage around the scanner
  • freeze the scanner as a PyInstaller --onedir bundle

Maintenance

  • release: version 0.1.0, package metadata and a version consistency check
  • desktop: scaffold Tauri v2, React 18 and Vite with strict tooling
  • drop placeholder keep-file now that api/ has modules
  • drop placeholder keep-file now that core/ has modules
  • add pre-commit hooks for lint, types and secrets
  • set up uv project with ruff, mypy, pytest, bandit and pip-audit config
  • create repository skeleton (requirements section 4)
  • add Apache-2.0 license, gitignore and editorconfig

Verify this release

sha256sum -c SHA256SUMS --ignore-missing
cosign verify-blob SHA256SUMS --bundle SHA256SUMS.sigstore.json \
  --certificate-identity https://github.com/SaharHalili95/hardengarden/.github/workflows/release.yml@refs/tags/v0.1.0 \
  --certificate-oidc-issuer https://token.actions.githubusercontent.com