Skip to content

changes from steflsd - feat: Rename clawdbot to openclaw - #5

Open
sandy-wang wants to merge 10 commits into
sandy-wang:mainfrom
lsdcapital:rename-to-openclaw
Open

changes from steflsd - feat: Rename clawdbot to openclaw#5
sandy-wang wants to merge 10 commits into
sandy-wang:mainfrom
lsdcapital:rename-to-openclaw

Conversation

@sandy-wang

Copy link
Copy Markdown
Owner

No description provided.

Xyz3R and others added 10 commits January 13, 2026 14:57
…to-updates

Security improvements:

1. CRITICAL: Scope sudo access for clawdbot user
   - Changed from 'ALL=(ALL) NOPASSWD: ALL' to specific commands only
   - Now limited to: systemctl for clawdbot service, tailscale, journalctl
   - Prevents full root compromise if application is exploited

2. CRITICAL: Fix hardcoded UID in systemd template
   - Changed XDG_RUNTIME_DIR from /run/user/1000 to dynamic
   - Uses clawdbot_uid_value variable with fallback

3. Add fail2ban for SSH brute-force protection
   - 5 failed attempts = 1 hour ban
   - Protects against automated attacks on exposed SSH

4. Add unattended-upgrades for automatic security updates
   - Security-only updates enabled by default
   - Automatic reboots disabled (manual control)

5. Update documentation
   - security.md: Document all 8 security layers
   - README.md: Add security features to list
   - AGENTS.md: Document security rationale and known limitations

Known limitations documented:
- macOS support incomplete (no launchd/pf)
- IPv6 disabled in Docker
- curl|bash pattern inherent risks

Signed-off-by: Andrew Lauppe <andy@t5tele.com>
Add Homebrew to path (linux) broken due to cleared env
Simplified condition from `is_linux and not is_macos` to `is_linux`
since these are mutually exclusive (is_linux checks for Debian family).

Co-Authored-By: Jayakorn Karikan <jayakornk@users.noreply.github.com>
Co-Authored-By: Andy Lauppe <andy@lauppe.org>
Install ACL package for privilege escalation on Linux systems
- Add documentation to sudoers explaining security rationale
- Include instructions for operators to expand permissions if needed
- Scope tailscale to: status, up, down, ip, version, ping, whois
- Add note about up/down allowing flags like --advertise-exit-node
- Document daemon-reload affecting all units
- Remove redundant fail2ban config (logpath, duplicate maxretry/bantime)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
fix(security): harden installation with scoped sudo, fail2ban, and auto-updates
@steflsd
steflsd force-pushed the rename-to-openclaw branch from 7077120 to bb3ef76 Compare February 9, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants