About security-monitor
security-monitor is a background security monitoring skill for Clawdbot deployments. It detects intrusion indicators and unusual activity, reporting through console output, JSON logs, and configurable Telegram alerts.
Key features
- 01Detect failed logins and brute-force attacks
- 02Identify port scans and unusual processes
- 03Monitor file changes and Docker health
- 04Write JSON logs and send alerts
Use cases
- 01Continuously monitor a Clawdbot deployment
- 02Investigate suspicious logins and port activity
- 03Spot unauthorized file changes or container issues
Install
Copy the command and run it in a terminal.
$
npx skills add https:/ / github.com/ aaaaqwq/ agi-super-team --skill security-monitorAfter installing, type/security-monitorin Claude Code to confirm it loaded.
Bundled files
References and scripts installed along with SKILL.md.
_meta.json.clawhub/origin.jsonscripts/monitor.cjsDetails
From the project READMESecurity Monitor Skill
When to use
Run continuous security monitoring to detect breaches, intrusions, and unusual activity on your Clawdbot deployment.
Setup
No external dependencies required. Runs as a background process.
How to
Start real-time monitoring
node skills/security-monitor/scripts/monitor.cjs --interval 60
Run in daemon mode (background)
node skills/security-monitor/scripts/monitor.cjs --daemon --interval 60
Monitor for specific threats
node skills/security-monitor/scripts/monitor.cjs --threats=credentials,ports,api-calls
What It Monitors
| Threat | Detection | Response |
|---|---|---|
| Brute force attacks | Failed login detection | Alert + IP tracking |
| Port scanning | Rapid connection attempts | Alert |
| Process anomalies | Unexpected processes | Alert |
| File changes | Unauthorized modifications | Alert |
| Container health | Docker issues | Alert |
Output
- Console output (stdout)
- JSON logs at
/root/clawd/clawdbot-security/logs/alerts.log - Telegram alerts (configurable)
Daemon Mode
Use systemd or PM2 to keep monitoring active:
# With PM2
pm2 start monitor.cjs --name "clawdbot-security" -- --daemon --interval 60
Combined with Security Audit
Run audit first, then monitor continuously:
# One-time audit
node skills/security-audit/scripts/audit.cjs --full
# Continuous monitoring
node skills/security-monitor/scripts/monitor.cjs --daemon
Related skills
security-audit- One-time security scan (install separately)
Comments
Markdown supported