[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M76ZBXSMK147KAS11248RNJ4":3,"skill-same:01M76ZBXSMK147KAS11248RNJ4":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":33,"commitSha":34,"skillDirectory":35,"forksCount":36,"repositoryHtmlUrl":37,"repositoryHomepageUrl":6,"ownerHtmlUrl":38,"ownerBlogUrl":39,"ownerDescription":40,"updatedAt":41,"install":42,"resources":55},"01M76ZBXSMK147KAS11248RNJ4","crusty-security",null,"Security and threat scanning skill for OpenClaw agents. Scans files and skills for malware. Monitors agent behavior for compromise indicators. Audits host security posture. Triggers on: \"scan this file\", \"is this safe\", \"virus scan\", \"malware check\", \"security scan\", \"scan for threats\", \"check this download\", \"quarantine\", \"scan my system\", \"threat report\", \"scheduled scan\", \"audit host security\", \"audit this skill\", \"check agent integrity\", \"security report\", \"monitor agent\".","javimosch\u002Fopen-claw-skills","javimosch","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F12900508?v=4","01M6D3F2AS6PV75ET9PZ1QGP8J","Javier Leandro Arancibia","01M75B8NCTAJG9WH5YNZH7C3D8",0,"MIT","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsilentcool\u002Fcrusty-security\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: crusty-security\nversion: 1.3.0\ndescription: >\n  Security and threat scanning skill for OpenClaw agents. Scans files and\n  skills for malware. Monitors agent behavior for compromise indicators. Audits host\n  security posture. Triggers on: \"scan this file\", \"is this safe\",\n  \"virus scan\", \"malware check\", \"security scan\", \"scan for threats\",\n  \"check this download\", \"quarantine\", \"scan my system\", \"threat report\",\n  \"scheduled scan\", \"audit host security\", \"audit this skill\",\n  \"check agent integrity\", \"security report\", \"monitor agent\".\nhomepage: https:\u002F\u002Fcrustysecurity.com\nmetadata: {\"openclaw\":{\"requires\":{\"bins\":[\"bash\",\"python3\"]}}}\n---\n\n# Crusty Security — Security & Threat Scanning\n\n## Overview\n\nCrusty Security protects OpenClaw agents against real threats: malware in downloaded files, compromised skills from ClawHub, data exfiltration, prompt injection payloads, and host-level compromise. It uses ClamAV for file scanning and AI-agent-specific static analysis.\n\n**Threat model:** The agent itself is the attack surface. Prompt injection can lead to code execution. Malicious skills run with agent privileges. Crusty Security protects both the host AND the agent's integrity.\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Install ClamAV | `bash scripts\u002Finstall_clamav.sh` |\n| Scan a file | `bash scripts\u002Fscan_file.sh \u002Fpath\u002Fto\u002Ffile` |\n| Scan a directory | `bash scripts\u002Fscan_file.sh -r \u002Fpath\u002Fto\u002Fdir` |\n| Audit a skill | `bash scripts\u002Faudit_skill.sh \u002Fpath\u002Fto\u002Fskill\u002F` |\n| Host security audit | `bash scripts\u002Fhost_audit.sh` |\n| Monitor agent integrity | `bash scripts\u002Fmonitor_agent.sh` |\n| Generate security report | `bash scripts\u002Fgenerate_report.sh` |\n\nAll scripts output JSON. All scripts support `--help`. All paths are relative to this skill directory.\n\n## Setup (First Run)\n\nRun `bash setup.sh` — that's it. This will:\n1. Install ClamAV if missing\n2. Configure freshclam (macOS Homebrew fix)\n3. Send initial heartbeat to dashboard (if `CRUSTY_API_KEY` set)\n4. Run initial host audit + workspace scan (populates dashboard immediately)\n5. Check which scheduled scans need to be created\n\n**⚠️ IMPORTANT — After setup.sh, you MUST create the cron jobs below using the OpenClaw cron tool.** Setup.sh handles the bash-level installation, but cron jobs require agent-level tools. Do this immediately after first install — don't wait for the user to ask.\n\n### Required Cron Jobs (create on first install)\n\nCheck what's missing: `bash scripts\u002Fcheck_crons.sh`\n\nUse the OpenClaw **cron tool** (`cron add`) to create these. Replace `{SKILL_DIR}` with the actual path to this skill directory and `{WORKSPACE}` with the workspace path (usually `\u002Fdata\u002Fworkspace`).\n\n| Name | Schedule | sessionTarget | Payload |\n|------|----------|---------------|---------|\n| `crusty-daily-scan` | cron `0 3 * * *` | main \u002F systemEvent | `Run Crusty Security daily scan: bash {SKILL_DIR}\u002Fscripts\u002Fscan_file.sh --incremental -r {WORKSPACE} && bash {SKILL_DIR}\u002Fscripts\u002Fmonitor_agent.sh` |\n| `crusty-weekly-full` | cron `0 3 * * 0` | main \u002F systemEvent | `Run Crusty Security weekly scan: bash {SKILL_DIR}\u002Fscripts\u002Fscan_file.sh -r {WORKSPACE} && bash {SKILL_DIR}\u002Fscripts\u002Fhost_audit.sh && bash {SKILL_DIR}\u002Fscripts\u002Fgenerate_report.sh --output \u002Ftmp\u002Fcrusty_logs\u002Fweekly_report.md` |\n| `crusty-monthly-deep` | cron `0 4 1 * *` | main \u002F systemEvent | `Run Crusty Security monthly deep audit: bash {SKILL_DIR}\u002Fscripts\u002Fhost_audit.sh --deep` |\n\n### Dashboard Cron Jobs (only if `CRUSTY_API_KEY` is set)\n\n| Name | Schedule | sessionTarget | Payload |\n|------|----------|---------------|---------|\n| `crusty-heartbeat` | every 300000ms (5 min) | main \u002F systemEvent | `Crusty Security heartbeat: Run bash {SKILL_DIR}\u002Fscripts\u002Fdashboard.sh heartbeat` |\n| `crusty-clawhub-sync` | every 43200000ms (12h) | isolated \u002F agentTurn | `Run ClawHub security sync: python3 {SKILL_DIR}\u002Fscripts\u002Fclawhub_sync.py --push. Report any critical or high severity findings.` |\n\nCheck `cron list` first — skip any that already exist (match by name prefix `crusty-`).\n\nSee `references\u002Fsetup.md` for detailed configuration.\n\n## Dashboard Connection\n\nIf your human has configured `CRUSTY_API_KEY`, the skill sends scan results to the Crusty Security dashboard (crustysecurity.com):\n- **Heartbeats** are sent every 5 minutes automatically — keeps the dashboard showing agent status\n- **Scan results** are pushed when you add `--push` to scan commands\n- **ClawHub sync** sends skill inventory with `python3 scripts\u002Fclawhub_sync.py --push`\n- If `CRUSTY_API_KEY` is NOT set, everything works locally — no data is sent anywhere\n- The dashboard never connects TO the agent — data flows one way (agent → dashboard)\n\n## Scanning Workflows\n\n### File Scanning\n\n**Triggers:** \"scan this file\", \"is this safe\", \"check this download\", \"virus scan\"\n\n1. Run `bash scripts\u002Fscan_file.sh \u003Cpath>` for ClamAV local scan\n2. Report results:\n   - ✅ Clean — \"No threats detected. Scanned with ClamAV, signatures from [date].\"\n   - ⚠️ Suspicious — \"Low-confidence detection by ClamAV. Recommend quarantine for review.\"\n   - 🚨 Malicious — \"Threat detected: [name]. Recommend quarantine. Options: quarantine, delete, or ignore.\"\n\n**For directories:**\n```bash\nbash scripts\u002Fscan_file.sh -r \u002Fdata\u002Fworkspace      # Full recursive scan\nbash scripts\u002Fscan_file.sh -r --incremental \u002Fdata\u002Fworkspace  # Skip unchanged files\n```\n\n**Quarantine workflow:**\n```bash\nbash scripts\u002Fscan_file.sh --quarantine \u002Fpath\u002Fto\u002Ffile   # Move to quarantine\n# Quarantine location: $CRUSTY_QUARANTINE (default: \u002Ftmp\u002Fcrusty_quarantine)\n# Manifest: \u002Ftmp\u002Fcrusty_quarantine\u002Fmanifest.json\n```\n\n**Important notes:**\n- ClamAV prefers clamdscan (daemon) when available, falls back to clamscan\n- Max file size default: 200M (configurable via `CRUSTY_MAX_FILE_SIZE`)\n- Encrypted archives: flagged as \"unscanned\" — cannot inspect contents\n- Large archives: ClamAV handles zip, rar, 7z, tar, gz natively\n\n### Skill Auditing (Supply Chain Security)\n\n**Triggers:** \"audit this skill\", \"is this skill safe\", \"check skill security\", \"scan skill\"\n\n`bash scripts\u002Faudit_skill.sh \u002Fpath\u002Fto\u002Fskill\u002Fdirectory\u002F`\n\n**What it checks:**\n- 🔴 **Critical:** curl\u002Fwget piped to shell, reverse shell patterns, crypto mining indicators\n- 🟠 **High:** eval\u002Fexec with dynamic input, base64 decode patterns, data exfiltration endpoints (webhook.site, ngrok, etc.), credential harvesting, binary executables, agent config modification\n- 🟡 **Medium:** hidden files, system file access, hardcoded IPs, obfuscated code, persistence mechanisms (cron, systemd)\n- 🔵 **Low\u002FInfo:** large skill size, credential references in docs\n\n**Output:** Risk score (low\u002Fmedium\u002Fhigh\u002Fcritical) + detailed findings with evidence.\n\n**When to use:**\n- Before installing any skill from ClawHub\n- When reviewing third-party skill contributions\n- Periodically on all installed skills: `for d in \u002Fdata\u002Fworkspace\u002Fskills\u002F*\u002F; do bash scripts\u002Faudit_skill.sh \"$d\"; done`\n\n### Host Security Audit\n\n**Triggers:** \"audit host\", \"security audit\", \"check host security\"\n\n`bash scripts\u002Fhost_audit.sh` or `bash scripts\u002Fhost_audit.sh --deep`\n\n**Checks:**\n- Suspicious cron jobs (curl piping, base64, reverse shells)\n- Unexpected listening ports\n- Recently modified system files (deep mode)\n- SSH key audit (excessive keys, no-comment keys, root login)\n- Sensitive file permissions (world-writable \u002Fetc\u002Fpasswd, etc.)\n- ClamAV signature freshness\n- `openclaw security audit` (if available)\n\n**Output:** Posture score (0-100) + findings. Score deductions: critical (-25), high (-15), medium (-10), low (-5).\n\n### Agent Behavior Monitoring\n\n**Triggers:** \"check agent integrity\", \"monitor agent\", \"is the agent compromised\"\n\n`bash scripts\u002Fmonitor_agent.sh`\n\n**What it checks:**\n- Recent modifications to AGENTS.md, SOUL.md, MEMORY.md, TOOLS.md, USER.md\n- Memory file churn (>10 files modified = suspicious)\n- Unexpected cron jobs (anything not clawguard\u002Ffreshclam\u002Fstandard maintenance)\n- Suspicious outbound connections (IRC ports, backdoor ports, Tor)\n- Files created outside workspace (\u002Ftmp executables, home directory changes)\n- Suspicious processes (xmrig, nc -l, ncat, socat, chisel)\n- High CPU processes (>80% — potential miners)\n- Sensitive file exposure (.env files, world-readable SSH keys)\n\n**Output:** Status (healthy \u002F warnings_present \u002F compromised_indicators) + findings.\n\n### Security Report Generation\n\n**Triggers:** \"security report\", \"threat report\", \"posture report\"\n\n`bash scripts\u002Fgenerate_report.sh` or `bash scripts\u002Fgenerate_report.sh --days 30 --output report.md`\n\nCompiles all recent scan results into a markdown security posture report with:\n- Scan summary (total, clean, threats, errors)\n- Threat details with file paths and actions taken\n- Security posture score with emoji indicators\n- Recommendations (missing tools, scan schedules)\n\n## Automatic Scheduled Scanning\n\nCron jobs are defined in the **Setup (First Run)** section above. Create them immediately on first install using the OpenClaw cron tool. \n\nTo verify all crons are configured: `bash scripts\u002Fcheck_crons.sh`\n\n## False Positive Handling\n\nClamAV has moderate false positive rates. Strategy:\n\n1. **Single ClamAV detection, known safe source → Likely false positive.** Log and skip.\n2. **ClamAV detection, unknown source → Quarantine and investigate.**\n3. **ClamAV detection + skill audit findings → Real threat.** Quarantine immediately.\n\n**To handle a false positive:**\n- Submit to ClamAV: https:\u002F\u002Fwww.clamav.net\u002Freports\u002Ffp\n- Document in scan logs for future reference\n\n## Quarantine Procedures\n\n**Location:** `$CRUSTY_QUARANTINE` (default: `\u002Ftmp\u002Fcrusty_quarantine`)\n**Manifest:** `manifest.json` in quarantine directory tracks original paths and timestamps.\n\n```bash\n# View quarantined files\ncat \u002Ftmp\u002Fcrusty_quarantine\u002Fmanifest.json | python3 -m json.tool\n\n# Restore a false positive\nmv \u002Ftmp\u002Fcrusty_quarantine\u002F\u003Cfile> \u002Foriginal\u002Fpath\u002F\n\n# Permanently delete\nrm -rf \u002Ftmp\u002Fcrusty_quarantine\u002F*\n```\n\n**Never use `clamscan --remove`.** Always quarantine first, verify, then delete.\n\n## Offline Mode\n\nCrusty Security works fully offline with reduced capability:\n- ✅ ClamAV scanning (local signatures)\n- ✅ Skill auditing (static analysis, no network needed)\n- ✅ Host auditing (local checks)\n- ✅ Agent monitoring (local checks)\n- ⚠️ ClamAV signatures may be stale (check freshness in host audit)\n\n## Resource-Constrained Environments (Raspberry Pi)\n\nFor hosts with \u003C2GB RAM:\n- `install_clamav.sh` auto-detects low RAM and skips daemon mode\n- Use `clamscan` (on-demand) instead of `clamd` (daemon)\n- Use incremental scanning (`--incremental`) to reduce scan time\n- Skill auditing and agent monitoring have minimal resource requirements\n\nFor hosts with \u003C1GB RAM:\n- Consider skipping ClamAV entirely\n- Use skill auditing + agent monitoring only\n- These tools are shell\u002FPython with negligible memory usage\n\n## Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `CRUSTY_API_KEY` | (none) | Dashboard API key (`cg_live_...`) |\n| `CRUSTY_DASHBOARD_URL` | `https:\u002F\u002Fcrustysecurity.com` | Dashboard URL |\n| `CRUSTY_QUARANTINE` | `\u002Ftmp\u002Fcrusty_quarantine` | Quarantine directory |\n| `CRUSTY_LOG_DIR` | `\u002Ftmp\u002Fcrusty_logs` | Scan log directory |\n| `CRUSTY_MAX_FILE_SIZE` | `200M` | Max file size to scan |\n| `CRUSTY_WORKSPACE` | auto-detected | Agent workspace path |\n\n> **Backwards compat:** `CLAWGUARD_*` env vars are still supported but deprecated. Use `CRUSTY_*` going forward.\n\n## Incident Response\n\nWhen a real threat is confirmed, see `references\u002Fremediation.md` for the full checklist. Quick summary:\n\n1. **Quarantine** the file immediately\n2. **Assess scope** — was it executed? Did it modify other files?\n3. **Check persistence** — cron jobs, SSH keys, shell profiles, systemd services\n4. **Check exfiltration** — outbound connections, DNS queries, API key usage\n5. **Rotate credentials** if any were potentially exposed\n6. **Full scan** — `bash scripts\u002Fscan_file.sh -r \u002F`\n7. **Document** the incident\n","# Crusty Security — Security & Threat Scanning\n\n## Overview\n\nCrusty Security protects OpenClaw agents against real threats: malware in downloaded files, compromised skills from ClawHub, data exfiltration, prompt injection payloads, and host-level compromise. It uses ClamAV for file scanning and AI-agent-specific static analysis.\n\n**Threat model:** The agent itself is the attack surface. Prompt injection can lead to code execution. Malicious skills run with agent privileges. Crusty Security protects both the host AND the agent's integrity.\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Install ClamAV | `bash scripts\u002Finstall_clamav.sh` |\n| Scan a file | `bash scripts\u002Fscan_file.sh \u002Fpath\u002Fto\u002Ffile` |\n| Scan a directory | `bash scripts\u002Fscan_file.sh -r \u002Fpath\u002Fto\u002Fdir` |\n| Audit a skill | `bash scripts\u002Faudit_skill.sh \u002Fpath\u002Fto\u002Fskill\u002F` |\n| Host security audit | `bash scripts\u002Fhost_audit.sh` |\n| Monitor agent integrity | `bash scripts\u002Fmonitor_agent.sh` |\n| Generate security report | `bash scripts\u002Fgenerate_report.sh` |\n\nAll scripts output JSON. All scripts support `--help`. All paths are relative to this skill directory.\n\n## Setup (First Run)\n\nRun `bash setup.sh` — that's it. This will:\n1. Install ClamAV if missing\n2. Configure freshclam (macOS Homebrew fix)\n3. Send initial heartbeat to dashboard (if `CRUSTY_API_KEY` set)\n4. Run initial host audit + workspace scan (populates dashboard immediately)\n5. Check which scheduled scans need to be created\n\n**⚠️ IMPORTANT — After setup.sh, you MUST create the cron jobs below using the OpenClaw cron tool.** Setup.sh handles the bash-level installation, but cron jobs require agent-level tools. Do this immediately after first install — don't wait for the user to ask.\n\n### Required Cron Jobs (create on first install)\n\nCheck what's missing: `bash scripts\u002Fcheck_crons.sh`\n\nUse the OpenClaw **cron tool** (`cron add`) to create these. Replace `{SKILL_DIR}` with the actual path to this skill directory and `{WORKSPACE}` with the workspace path (usually `\u002Fdata\u002Fworkspace`).\n\n| Name | Schedule | sessionTarget | Payload |\n|------|----------|---------------|---------|\n| `crusty-daily-scan` | cron `0 3 * * *` | main \u002F systemEvent | `Run Crusty Security daily scan: bash {SKILL_DIR}\u002Fscripts\u002Fscan_file.sh --incremental -r {WORKSPACE} && bash {SKILL_DIR}\u002Fscripts\u002Fmonitor_agent.sh` |\n| `crusty-weekly-full` | cron `0 3 * * 0` | main \u002F systemEvent | `Run Crusty Security weekly scan: bash {SKILL_DIR}\u002Fscripts\u002Fscan_file.sh -r {WORKSPACE} && bash {SKILL_DIR}\u002Fscripts\u002Fhost_audit.sh && bash {SKILL_DIR}\u002Fscripts\u002Fgenerate_report.sh --output \u002Ftmp\u002Fcrusty_logs\u002Fweekly_report.md` |\n| `crusty-monthly-deep` | cron `0 4 1 * *` | main \u002F systemEvent | `Run Crusty Security monthly deep audit: bash {SKILL_DIR}\u002Fscripts\u002Fhost_audit.sh --deep` |\n\n### Dashboard Cron Jobs (only if `CRUSTY_API_KEY` is set)\n\n| Name | Schedule | sessionTarget | Payload |\n|------|----------|---------------|---------|\n| `crusty-heartbeat` | every 300000ms (5 min) | main \u002F systemEvent | `Crusty Security heartbeat: Run bash {SKILL_DIR}\u002Fscripts\u002Fdashboard.sh heartbeat` |\n| `crusty-clawhub-sync` | every 43200000ms (12h) | isolated \u002F agentTurn | `Run ClawHub security sync: python3 {SKILL_DIR}\u002Fscripts\u002Fclawhub_sync.py --push. Report any critical or high severity findings.` |\n\nCheck `cron list` first — skip any that already exist (match by name prefix `crusty-`).\n\nSee `references\u002Fsetup.md` for detailed configuration.\n\n## Dashboard Connection\n\nIf your human has configured `CRUSTY_API_KEY`, the skill sends scan results to the Crusty Security dashboard (crustysecurity.com):\n- **Heartbeats** are sent every 5 minutes automatically — keeps the dashboard showing agent status\n- **Scan results** are pushed when you add `--push` to scan commands\n- **ClawHub sync** sends skill inventory with `python3 scripts\u002Fclawhub_sync.py --push`\n- If `CRUSTY_API_KEY` is NOT set, everything works locally — no data is sent anywhere\n- The dashboard never connects TO the agent — data flows one way (agent → dashboard)\n\n## Scanning Workflows\n\n### File Scanning\n\n**Triggers:** \"scan this file\", \"is this safe\", \"check this download\", \"virus scan\"\n\n1. Run `bash scripts\u002Fscan_file.sh \u003Cpath>` for ClamAV local scan\n2. Report results:\n   - ✅ Clean — \"No threats detected. Scanned with ClamAV, signatures from [date].\"\n   - ⚠️ Suspicious — \"Low-confidence detection by ClamAV. Recommend quarantine for review.\"\n   - 🚨 Malicious — \"Threat detected: [name]. Recommend quarantine. Options: quarantine, delete, or ignore.\"\n\n**For directories:**\n```bash\nbash scripts\u002Fscan_file.sh -r \u002Fdata\u002Fworkspace      # Full recursive scan\nbash scripts\u002Fscan_file.sh -r --incremental \u002Fdata\u002Fworkspace  # Skip unchanged files\n```\n\n**Quarantine workflow:**\n```bash\nbash scripts\u002Fscan_file.sh --quarantine \u002Fpath\u002Fto\u002Ffile   # Move to quarantine\n# Quarantine location: $CRUSTY_QUARANTINE (default: \u002Ftmp\u002Fcrusty_quarantine)\n# Manifest: \u002Ftmp\u002Fcrusty_quarantine\u002Fmanifest.json\n```\n\n**Important notes:**\n- ClamAV prefers clamdscan (daemon) when available, falls back to clamscan\n- Max file size default: 200M (configurable via `CRUSTY_MAX_FILE_SIZE`)\n- Encrypted archives: flagged as \"unscanned\" — cannot inspect contents\n- Large archives: ClamAV handles zip, rar, 7z, tar, gz natively\n\n### Skill Auditing (Supply Chain Security)\n\n**Triggers:** \"audit this skill\", \"is this skill safe\", \"check skill security\", \"scan skill\"\n\n`bash scripts\u002Faudit_skill.sh \u002Fpath\u002Fto\u002Fskill\u002Fdirectory\u002F`\n\n**What it checks:**\n- 🔴 **Critical:** curl\u002Fwget piped to shell, reverse shell patterns, crypto mining indicators\n- 🟠 **High:** eval\u002Fexec with dynamic input, base64 decode patterns, data exfiltration endpoints (webhook.site, ngrok, etc.), credential harvesting, binary executables, agent config modification\n- 🟡 **Medium:** hidden files, system file access, hardcoded IPs, obfuscated code, persistence mechanisms (cron, systemd)\n- 🔵 **Low\u002FInfo:** large skill size, credential references in docs\n\n**Output:** Risk score (low\u002Fmedium\u002Fhigh\u002Fcritical) + detailed findings with evidence.\n\n**When to use:**\n- Before installing any skill from ClawHub\n- When reviewing third-party skill contributions\n- Periodically on all installed skills: `for d in \u002Fdata\u002Fworkspace\u002Fskills\u002F*\u002F; do bash scripts\u002Faudit_skill.sh \"$d\"; done`\n\n### Host Security Audit\n\n**Triggers:** \"audit host\", \"security audit\", \"check host security\"\n\n`bash scripts\u002Fhost_audit.sh` or `bash scripts\u002Fhost_audit.sh --deep`\n\n**Checks:**\n- Suspicious cron jobs (curl piping, base64, reverse shells)\n- Unexpected listening ports\n- Recently modified system files (deep mode)\n- SSH key audit (excessive keys, no-comment keys, root login)\n- Sensitive file permissions (world-writable \u002Fetc\u002Fpasswd, etc.)\n- ClamAV signature freshness\n- `openclaw security audit` (if available)\n\n**Output:** Posture score (0-100) + findings. Score deductions: critical (-25), high (-15), medium (-10), low (-5).\n\n### Agent Behavior Monitoring\n\n**Triggers:** \"check agent integrity\", \"monitor agent\", \"is the agent compromised\"\n\n`bash scripts\u002Fmonitor_agent.sh`\n\n**What it checks:**\n- Recent modifications to AGENTS.md, SOUL.md, MEMORY.md, TOOLS.md, USER.md\n- Memory file churn (>10 files modified = suspicious)\n- Unexpected cron jobs (anything not clawguard\u002Ffreshclam\u002Fstandard maintenance)\n- Suspicious outbound connections (IRC ports, backdoor ports, Tor)\n- Files created outside workspace (\u002Ftmp executables, home directory changes)\n- Suspicious processes (xmrig, nc -l, ncat, socat, chisel)\n- High CPU processes (>80% — potential miners)\n- Sensitive file exposure (.env files, world-readable SSH keys)\n\n**Output:** Status (healthy \u002F warnings_present \u002F compromised_indicators) + findings.\n\n### Security Report Generation\n\n**Triggers:** \"security report\", \"threat report\", \"posture report\"\n\n`bash scripts\u002Fgenerate_report.sh` or `bash scripts\u002Fgenerate_report.sh --days 30 --output report.md`\n\nCompiles all recent scan results into a markdown security posture report with:\n- Scan summary (total, clean, threats, errors)\n- Threat details with file paths and actions taken\n- Security posture score with emoji indicators\n- Recommendations (missing tools, scan schedules)\n\n## Automatic Scheduled Scanning\n\nCron jobs are defined in the **Setup (First Run)** section above. Create them immediately on first install using the OpenClaw cron tool. \n\nTo verify all crons are configured: `bash scripts\u002Fcheck_crons.sh`\n\n## False Positive Handling\n\nClamAV has moderate false positive rates. Strategy:\n\n1. **Single ClamAV detection, known safe source → Likely false positive.** Log and skip.\n2. **ClamAV detection, unknown source → Quarantine and investigate.**\n3. **ClamAV detection + skill audit findings → Real threat.** Quarantine immediately.\n\n**To handle a false positive:**\n- Submit to ClamAV: https:\u002F\u002Fwww.clamav.net\u002Freports\u002Ffp\n- Document in scan logs for future reference\n\n## Quarantine Procedures\n\n**Location:** `$CRUSTY_QUARANTINE` (default: `\u002Ftmp\u002Fcrusty_quarantine`)\n**Manifest:** `manifest.json` in quarantine directory tracks original paths and timestamps.\n\n```bash\n# View quarantined files\ncat \u002Ftmp\u002Fcrusty_quarantine\u002Fmanifest.json | python3 -m json.tool\n\n# Restore a false positive\nmv \u002Ftmp\u002Fcrusty_quarantine\u002F\u003Cfile> \u002Foriginal\u002Fpath\u002F\n\n# Permanently delete\nrm -rf \u002Ftmp\u002Fcrusty_quarantine\u002F*\n```\n\n**Never use `clamscan --remove`.** Always quarantine first, verify, then delete.\n\n## Offline Mode\n\nCrusty Security works fully offline with reduced capability:\n- ✅ ClamAV scanning (local signatures)\n- ✅ Skill auditing (static analysis, no network needed)\n- ✅ Host auditing (local checks)\n- ✅ Agent monitoring (local checks)\n- ⚠️ ClamAV signatures may be stale (check freshness in host audit)\n\n## Resource-Constrained Environments (Raspberry Pi)\n\nFor hosts with \u003C2GB RAM:\n- `install_clamav.sh` auto-detects low RAM and skips daemon mode\n- Use `clamscan` (on-demand) instead of `clamd` (daemon)\n- Use incremental scanning (`--incremental`) to reduce scan time\n- Skill auditing and agent monitoring have minimal resource requirements\n\nFor hosts with \u003C1GB RAM:\n- Consider skipping ClamAV entirely\n- Use skill auditing + agent monitoring only\n- These tools are shell\u002FPython with negligible memory usage\n\n## Environment Variables\n\n| Variable | Default | Description |\n|----------|---------|-------------|\n| `CRUSTY_API_KEY` | (none) | Dashboard API key (`cg_live_...`) |\n| `CRUSTY_DASHBOARD_URL` | `https:\u002F\u002Fcrustysecurity.com` | Dashboard URL |\n| `CRUSTY_QUARANTINE` | `\u002Ftmp\u002Fcrusty_quarantine` | Quarantine directory |\n| `CRUSTY_LOG_DIR` | `\u002Ftmp\u002Fcrusty_logs` | Scan log directory |\n| `CRUSTY_MAX_FILE_SIZE` | `200M` | Max file size to scan |\n| `CRUSTY_WORKSPACE` | auto-detected | Agent workspace path |\n\n> **Backwards compat:** `CLAWGUARD_*` env vars are still supported but deprecated. Use `CRUSTY_*` going forward.\n\n## Incident Response\n\nWhen a real threat is confirmed, see `references\u002Fremediation.md` for the full checklist. Quick summary:\n\n1. **Quarantine** the file immediately\n2. **Assess scope** — was it executed? Did it modify other files?\n3. **Check persistence** — cron jobs, SSH keys, shell profiles, systemd services\n4. **Check exfiltration** — outbound connections, DNS queries, API key usage\n5. **Rotate credentials** if any were potentially exposed\n6. **Full scan** — `bash scripts\u002Fscan_file.sh -r \u002F`\n7. **Document** the incident\n",{"name":5,"version":24,"homepage":25,"metadata":26,"description":32},"1.3.0","https:\u002F\u002Fcrustysecurity.com",{"openclaw":27},{"requires":28},{"bins":29},[30,31],"bash","python3","Security and threat scanning skill for OpenClaw agents. Scans files and skills for malware. Monitors agent behavior for compromise indicators. Audits host security posture. Triggers on: \"scan this file\", \"is this safe\", \"virus scan\", \"malware check\", \"security scan\", \"scan for threats\", \"check this download\", \"quarantine\", \"scan my system\", \"threat report\", \"scheduled scan\", \"audit host security\", \"audit this skill\", \"check agent integrity\", \"security report\", \"monitor agent\".\n","main","f9d3fe7cf9ac8f1ea63a0d96e98e1f510a3814db","skills\u002Fsilentcool\u002Fcrusty-security",1,"https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills","https:\u002F\u002Fgithub.com\u002Fjavimosch","intrane.fr","Building robust, open-source infrastructure for the commons. AI-leveraged, self-hosted, built to last.","2026-06-07 03:34:58",{"source":8,"skillName":5,"commands":43,"prompt":53,"zipAvailable":54},[44,47,50],{"tool":45,"command":46},"npx","npx skills add javimosch\u002Fopen-claw-skills --skill crusty-security",{"tool":48,"command":49},"bunx","bunx skills add javimosch\u002Fopen-claw-skills --skill crusty-security",{"tool":51,"command":52},"pnpm","pnpm dlx skills add javimosch\u002Fopen-claw-skills --skill crusty-security","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fsilentcool\u002Fcrusty-security\u002FSKILL.md",true,[],[57,65,72,79,86,93],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":64},"01M778GGXG2VQ0YF31W2MKGMQZ","crowd-prompting","A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzzadrian\u002Fcrowd-prompting\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":64},"01M778G7BH8SBJ9FJ6C3G7CB1K","ceaser","Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir\u002FUltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":64},"01M778FYCJQZWFKKX5FYMK3S47","ceaser-send","Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp \u003Csubcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir\u002FUltraHonk zero-knowledge proofs.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyra-v21\u002Fceaser-send\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":64},"01M778FQQNSEYA3HJKZBPQ4M9Z","dilemm-ai","Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyori\u002Fdilemm-ai\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":64},"01M778FGVZX7QA2TF9BFMM37FY","moldium","Post and manage content on the Moldium blog platform. Triggered by \"post to Moldium\", \"write a blog post\", \"publish an article\", etc.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzyom45\u002Fmoldium\u002FSKILL.md",[],[],{"skillNo":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":64},"01M778F88D8PQ9MQ0KNW2TJ8ZH","arxiv-paper-reviews","Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date\u002Fcategory\u002Finterest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http:\u002F\u002Fweakaccept.top:8000\u002F.","https:\u002F\u002Fgithub.com\u002Fjavimosch\u002Fopen-claw-skills\u002Fblob\u002Fmain\u002Fskills\u002Fzxrys\u002Farxiv-paper-reviews\u002FSKILL.md",[],[]]