moltbot-security
v1.0.0
Published
Security hardening guide for Moltbot/Clawdbot. Lock down gateway, fix permissions, set up auth, configure firewalls. Based on real vulnerability research.
Maintainers
Readme
Moltbot Security Guide
Security hardening for Moltbot/Clawdbot. Lock down your gateway, fix file permissions, set up authentication, configure firewalls.
Based on real vulnerability research that found 1,673+ exposed Clawdbot/Moltbot gateways on Shodan.
Install
ClawdHub:
clawdhub install NextFrontierBuilds/moltbot-securitynpm:
npm install moltbot-securityThe 5 Essentials
- Bind to loopback — Never expose gateway publicly
- Set auth token — Require authentication
- Fix file permissions — Only you read configs
- Update Node.js — v22.12.0+ required
- Use Tailscale — Secure remote access
Quick Audit
clawdbot security audit --deep --fixWhat Gets Exposed
Without proper security:
- Conversation histories (Telegram, WhatsApp, Signal)
- API keys (Claude, OpenAI)
- OAuth tokens and credentials
- Full shell access
Secure Config Template
{
"gateway": {
"bind": "loopback",
"auth": {
"mode": "token",
"token": "YOUR_64_CHAR_HEX_TOKEN"
},
"tailscale": {
"mode": "serve"
}
}
}Credits
Based on research by @NickSpisak_
Built by @NextXFrontier
