Real-time security monitoring dashboard for OpenClaw and Linux server infrastructure. Monitors gateway status, network security, public exposure, system updates, SSH access, TLS certificates, and resource usage.
数据来源:ClawHub。 在 ClawSkills 查看
选择你使用的 Agent
方法一:命令行安装(推荐)
推荐(无需提前安装 clawhub)
npx clawhub@latest --dir ~/.claude/skills install security-dashboard或使用 clawhub CLI(需提前安装)
clawhub --dir ~/.claude/skills install security-dashboard⚠️ 需要 Node.js 18+,没有 Node?请使用下方方法二直接下载 ZIP。 安装 Node.js →
方法二:手动下载安装(无需 Node)
下载 ZIP,解压后将文件夹放到以下路径,重启 Agent 即可:
安装路径
~/.claude/skills/security-dashboard/💡解压后将文件夹放到上方路径,重启 Agent 即可生效
--- name: security-dashboard description: Real-time security monitoring dashboard for OpenClaw and Linux server infrastructure. Monitors gateway status, network security, public exposure, system updates, SSH access, TLS certificates, and resource usage. ---
Real-time security monitoring dashboard for OpenClaw and Linux server infrastructure.
cd /root/clawd/skills/security-dashboard
sudo ./scripts/install.sh
This will:
openclaw-dashboard user with limited sudo privileges (if non-root)Security Note: Running as a dedicated user with limited sudo is recommended. The dashboard only needs sudo for security checks (fail2ban, firewall, systemctl status) - not full root access.
Localhost only (secure by default):
Via SSH port forwarding:
ssh -L 18791:localhost:18791 root@YOUR_SERVER_IP
Then visit: http://localhost:18791
sudo systemctl start security-dashboard
sudo systemctl stop security-dashboard
sudo systemctl restart security-dashboard
sudo systemctl status security-dashboard
sudo journalctl -u security-dashboard -f
Get raw security metrics:
curl http://localhost:18791/api/security | jq
The dashboard follows security best practices to minimize attack surface:
The install script creates a openclaw-dashboard user with limited sudo privileges:
/bin/false)Service runs with security restrictions:
NoNewPrivileges=true # Cannot escalate privileges
PrivateTmp=true # Isolated tmp directory
ProtectSystem=strict # Read-only filesystem except skill dir
ProtectHome=true # No access to /home
ReadWritePaths=... # Only skill directory is writable
Restart=on-failure # Restart only on crashes (not always)
127.0.0.1 (localhost only)If you choose root during install:
Use the dedicated user option for production deployments.
Edit /root/clawd/skills/security-dashboard/server.js:
const PORT = 18791; // Change this
Then restart:
sudo systemctl restart security-dashboard
Default: 127.0.0.1 (localhost only - secure) Alternative: 0.0.0.0 (all interfaces - only with Tailscale!)
Edit server.js line 445:
server.listen(PORT, '127.0.0.1', () => {
// Change '127.0.0.1' to '0.0.0.0' if needed
});
⚠️ Security Warning: Only bind to 0.0.0.0 if behind Tailscale or firewall!
Add custom checks in server.js:
getOpenClawMetrics() - OpenClaw-specific metricsgetNetworkMetrics() - Network securitygetSystemMetrics() - System-level checksgetPublicExposure() - Port/binding analysisDashboard generates real-time alerts:
Critical (Red):
Warning (Yellow):
Info (Blue):
Add security status to morning report:
curl -s http://localhost:18791/api/security | jq '.status'
Monitor for critical alerts:
curl -s http://localhost:18791/api/security | \
jq '.alerts[] | select(.level == "critical")'
Pipe alerts to notification systems:
./scripts/check-alerts.sh | xargs -I {} notify-send "Security Alert" "{}"
Backend: Node.js HTTP server Frontend: Vanilla JavaScript (no frameworks) Port: 18791 (configurable) Binding: 127.0.0.1 (localhost only) Service: systemd unit
Files:
server.js - Main backend (metrics collection + API)public/index.html - Dashboard UIlib/ - Shared utilities (if needed)systemctl - Service managementss - Socket statisticsufw or firewalld - Firewall checktailscale - VPN status (optional)fail2ban - Ban tracking (optional)openclaw - Gateway monitoringAll dependencies are standard Linux utilities except OpenClaw.
```bash sudo systemctl status security-dashboard ```
```bash sudo journalctl -u security-dashboard -n 50 ```
```bash ss -tlnp | grep 18791 ```
```bash curl http://localhost:18791/api/security ```
```bash pgrep -f openclaw-gateway ```
```bash cat ~/.openclaw/openclaw.json ```
sudo systemctl stop security-dashboard
sudo systemctl disable security-dashboard
sudo rm /etc/systemd/system/security-dashboard.service
sudo systemctl daemon-reload
...
安装 Security Dashboard 后,可以对 AI 说这些话来触发它
Help me get started with Security Dashboard
Explains what Security Dashboard does, walks through the setup, and runs a quick demo based on your current project
Use Security Dashboard to real-time security monitoring dashboard for OpenClaw and Linux serv...
Invokes Security Dashboard with the right parameters and returns the result directly in the conversation
What can I do with Security Dashboard in my developer & devops workflow?
Lists the top use cases for Security Dashboard, with example commands for each scenario
将技能文件夹放到 ~/.claude/skills/security-dashboard/ 目录(个人级,所有项目可用),或 .claude/skills/security-dashboard/(项目级)。重启 AI 客户端后,用 /security-dashboard 主动调用,或让 AI 根据上下文自动发现并使用。
Security Dashboard 支持 Claude、Cursor、OpenClaw,可与这些 AI 平台无缝集成,扩展其能力。
Security Dashboard 可免费安装使用。请查阅仓库了解许可证信息。
Real-time security monitoring dashboard for OpenClaw and Linux server infrastructure. Monitors gateway status, network security, public exposure, system updates, SSH access, TLS certificates, and resource usage.
Security Dashboard 属于「Developer & DevOps」分类,该分类的技能帮助 AI 智能体在此领域执行专业任务。
Automate my developer & devops tasks using Security Dashboard
Identifies repetitive steps in your workflow and sets up Security Dashboard to handle them automatically