OpenClaw host healthcheck
Goal: assess host risk, run read-only checks, then propose staged hardening without breaking access.
Rules
- Ask before state-changing actions.
- Do not change SSH/firewall/remote access until access path is confirmed.
- Prefer reversible steps and rollback notes.
- Never claim OpenClaw manages OS firewall, SSH, or updates.
- If identity/role unknown, recommend only.
- User choices: numbered list.
- Never print secrets.
Context to infer first
- OS/version, container vs host.
- Privilege level.
- Access path: local, SSH, RDP, tailnet.
- Network exposure: public IP, reverse proxy, tunnel, LAN only.
- OpenClaw gateway status, bind, auth.
- Backup status.
- Disk encryption.
- Automatic security updates.
- Usage mode: personal workstation, local assistant box, remote server, other.
Ask only for missing facts. Simple phrasing preferred.
Read-only checks
Ask once for permission to run read-only checks. Then run relevant commands.
Common:
openclaw security audit --deep
openclaw gateway status --deep
openclaw doctor
macOS:
sw_vers
lsof -nP -iTCP -sTCP:LISTEN
/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate
pfctl -s info
tmutil status
fdesetup status
softwareupdate --schedule
Linux:
cat /etc/os-release
ss -ltnup || ss -ltnp
ufw status || firewall-cmd --state || nft list ruleset
systemctl status ssh sshd
lsblk -f
Windows:
systeminfo
Get-NetFirewallProfile
Get-BitLockerVolume
Risk profile
After context is known, ask desired posture:
- Convenience: local/private, minimal prompts.
- Balanced: secure defaults, low friction.
- Strict: remote/public/sensitive data, more lock-down.
Report shape
- Current posture: one paragraph.
- Findings: severity + evidence + why it matters.
- Recommended plan: staged, reversible.
- Commands: read-only first; write actions only after approval.
- Gaps: what could not be checked.
Hardening menu
Offer only relevant items:
- Bind gateway to loopback/LAN/tailnet intentionally.
- Require auth for remote access.
- Close public ports or restrict by firewall.
- Enable OS security updates.
- Enable disk encryption.
- Verify backups and restore path.
- Disable password SSH or require keys/MFA where appropriate.
- Add scheduled
openclaw security audit --deep.
Confirm exact action before applying.
1---2name: healthcheck3description: "Audit/harden OpenClaw hosts: SSH, firewall, updates, exposure, backups, disk encryption, gateway security."4metadata:5 source: https://skillmd.com/skills/aniruddhaadak80/healthcheck6---78# OpenClaw host healthcheck910Goal: assess host risk, run read-only checks, then propose staged hardening without breaking access.1112## Rules1314- Ask before state-changing actions.15- Do not change SSH/firewall/remote access until access path is confirmed.16- Prefer reversible steps and rollback notes.17- Never claim OpenClaw manages OS firewall, SSH, or updates.18- If identity/role unknown, recommend only.19- User choices: numbered list.20- Never print secrets.2122## Context to infer first2324- OS/version, container vs host.25- Privilege level.26- Access path: local, SSH, RDP, tailnet.27- Network exposure: public IP, reverse proxy, tunnel, LAN only.28- OpenClaw gateway status, bind, auth.29- Backup status.30- Disk encryption.31- Automatic security updates.32- Usage mode: personal workstation, local assistant box, remote server, other.3334Ask only for missing facts. Simple phrasing preferred.3536## Read-only checks3738Ask once for permission to run read-only checks. Then run relevant commands.3940Common:4142```bash43openclaw security audit --deep44openclaw gateway status --deep45openclaw doctor46```4748macOS:4950```bash51sw_vers52lsof -nP -iTCP -sTCP:LISTEN53/usr/libexec/ApplicationFirewall/socketfilterfw --getglobalstate54pfctl -s info55tmutil status56fdesetup status57softwareupdate --schedule58```5960Linux:6162```bash63cat /etc/os-release64ss -ltnup || ss -ltnp65ufw status || firewall-cmd --state || nft list ruleset66systemctl status ssh sshd67lsblk -f68```6970Windows:7172```powershell73systeminfo74Get-NetFirewallProfile75Get-BitLockerVolume76```7778## Risk profile7980After context is known, ask desired posture:81821. Convenience: local/private, minimal prompts.832. Balanced: secure defaults, low friction.843. Strict: remote/public/sensitive data, more lock-down.8586## Report shape8788- Current posture: one paragraph.89- Findings: severity + evidence + why it matters.90- Recommended plan: staged, reversible.91- Commands: read-only first; write actions only after approval.92- Gaps: what could not be checked.9394## Hardening menu9596Offer only relevant items:9798- Bind gateway to loopback/LAN/tailnet intentionally.99- Require auth for remote access.100- Close public ports or restrict by firewall.101- Enable OS security updates.102- Enable disk encryption.103- Verify backups and restore path.104- Disable password SSH or require keys/MFA where appropriate.105- Add scheduled `openclaw security audit --deep`.106107Confirm exact action before applying.