Repository navigation
Releases
Releases · luminariadev/raksa-hostguard
v0.2.0
Added
- Linux Host CIS Auditor (
audit-host&audit-workspace): Audits kernel network sysctl hardening (HOST-301), memory/ptrace/dumpable protections (HOST-302), file permission/SUID/SGID/sensitive key exposures (HOST-303), and unrestrictedNOPASSWD/!authenticatesudoers rules (HOST-304), plus recursive single-commandaudit-workspacetriage across SSH, Docker, sysctl, and sudoers configs. - Enterprise Signed & Parallel FIM (
fim init,fim check,fim watch): Added pure safe Rust RFC 2104/4231 HMAC-SHA256 baseline signing (--sign-key-env, detecting forged or unsigned baselines asHOST-005), multi-threaded hashing/verification workers (--workers), and deduplicated polling watch mode (fim watch). - Deeper SSH & Container Hardening Rules: Added
Includedrop-in resolution (<= 2depth with cycle guard), weak SSH ciphers/MACs/Kex detection (HOST-105), forwarding/env/ClientAliveIntervalchecks (HOST-106), Composeno-new-privileges(HOST-207),cap_drop: [ALL]and sensitive host path mount guards (HOST-208), and unconfined Seccomp/AppArmor or wildcard sensitive port exposure detection (HOST-209). - Suppression Policy Engine (
--policy): Added YAML/JSON.hostguard.ymlsuppression support with mandatory audit reasons,target_containsscoping,min_severityfiltering, and fail-closedexpires_onexpiration dates (examples/hostguard-policy.yml). - MCP v0.2.0 Expansion: Added
hostguard_audit_hostandhostguard_audit_workspace(7 total tools) plus optionalsign_key_env,workers, andpolicy_pathparameters on FIM/host tools.
v0.1.0
Added
- Streaming SHA-256 File Integrity Monitoring (
fim init,fim check) with bounded memory reads (64 KiB stream chunks), 50 MiB default single-file guard, exclusion filters, and drift classification (HOST-001throughHOST-004). - Hardened OpenSSH configuration auditor (
audit-ssh) coveringPermitRootLogin,PasswordAuthentication,PermitEmptyPasswords,X11Forwarding,AllowAgentForwarding,AllowTcpForwarding, andMaxAuthTries(HOST-101throughHOST-104). - Multi-stage Dockerfile and
docker-composeYAML auditor (audit-docker) covering final-stage non-root enforcement,privileged: true/docker.sockexposure, host namespace sharing / dangerous capabilities, unpinned:latestimages, hardcoded credential redaction, and unverified remote fetch patterns (HOST-201throughHOST-206). - Unified Raksa Finding Schema v1 (
tablewith ANSI/control-sequence sanitization,json, and SARIF2.1.0with sorted rule descriptors and line/service locations) plus CI severity gating (--fail-on, exit code2). - Native
stdioJSON-RPC 2.0 MCP server (raksa-hostguard mcp) exposing 5 defensive tools (hostguard_list_rules,hostguard_fim_snapshot,hostguard_fim_check,hostguard_audit_ssh,hostguard_audit_docker) with bounded 1 MiB inline payloads. - Pure safe Rust codebase (
#![forbid(unsafe_code)]), unit and CLI integration test suite (22 tests), throughput benchmarks (cargo bench), multi-stage distroless container (gcr.io/distroless/static-debian12:nonroot), and hardened CI + 3-OS release workflows.