This release includes 2 security fixes for security teams reviewing exposed deployments.
Topics
+10 more
Affected surfaces
Summary
AI summaryAdded bulk rollback, doctor auto‑fix, fix scheduling, SSH ControlMaster and custom profiles; promoted several security tiers.
Full changelog
v1.17.0 — Fix Advanced + Doctor Integration
Added
- Bulk rollback —
kastell fix --rollback-alland--rollback-to <fix-id>for batch fix reversal - Doctor auto-fix —
kastell doctor --auto-fixdiagnose-then-fix pipeline with--dry-runand--forceoptions - Fix scheduling —
kastell schedule fix|auditinstalls local cron for automated fix/audit runs - SSH ControlMaster — connection multiplexing prevents sshd MaxStartups exhaustion during bulk operations
- Interactive menu full CLI parity — all CLI flags now accessible from interactive menu (schedule, audit extras, fix extras, fleet/doctor/evidence/backup options)
- WAF bot detection checks — NGX-WAF-BOT-DETECT and NGX-WAF-CHALLENGE-MODE audit checks
- Custom fix profiles — user-defined profiles from
~/.kastell/profiles/ --no-interactiveflag for automated fix runs
Fixed
- SSH lockout prevention — NET-HOSTS-DENY moved to GUARDED tier
- Sysctl SSH breakage — all sysctl fixes promoted to GUARDED with SSH probe + rollback
- Session-terminating commands — restart/halt promoted to GUARDED tier
- MCP SAFE_MODE guards — serverLock/Guard/Secure enforce isSafeMode()
- SSH ControlMaster Windows — socket path, stale cleanup, fork detection
Changed
- TOCTOU elimination, KASTELL_DIR consolidation, severityChalk utility
- 9,871 tests across 219 suites (up from 9,611 / 215)
Security
- Tier promotion system — dangerous fixes auto-promoted SAFE to GUARDED
- MCP fail-closed SAFE_MODE default
Full Changelog: https://github.com/kastelldev/kastell/compare/v1.16.0...v1.17.0
Security Fixes
- Tier promotion system automatically moves dangerous fixes from SAFE to GUARDED tier
- MCP fail‑closed default to SAFE_MODE enhances security posture
Weekly OSS security release digest.
The CVE patches and breaking changes that affected production tools this week. One email, every Sunday.
No spam, unsubscribe anytime.
Share this release
About kastelldev/kastell
Server security auditing and hardening toolkit. 413 security checks across 29 categories (SSH, Firewall, Docker, TLS, HTTP Headers), CIS/PCI-DSS/HIPAA compliance mapping, 19-step production hardening, fleet management, and forensic evidence collection. Supports Hetzner, DigitalOcean, Vultr, and Linode. 13 MCP tools.
Related context
Related tools
Beta — feedback welcome: [email protected]