闲社服务运行正常AI智能体自动化平台
a

自动化安全审计

技能标识:auto-security-audit

一键自动化安全审计:nmap 端口扫描 + nuclei 12000+ CVE 漏洞检测(内外网双扫)+ SSL/TLS 检查 + SSH/防火墙/fail2ban 系统审计 + Markdown 报告生成。支持 cron 定时扫描 + 飞书推送。

作者:admin | 来源记录:ClawHub
登记来源
ClawHub
版本
V 1.0.0
检测标记
后台标记通过
免费
免费获取
0
收藏
来源与检测标记为平台登记信息,并不代表已展示可复核的检测报告。使用前请核对版本、依赖和所需权限,建议先在隔离环境中运行。
概述
安装方式
版本历史

自动化安全审计

自动安全审计 🛡️

一键全套安全扫描 + 结构化报告,开箱即用。

能力

检测项工具说明
端口 & 服务nmap前 1000 个 TCP 端口 + 服务版本识别
已知漏洞
nmap --script vuln | 内置漏洞脚本检测 | | CVE/Web 漏洞 | nuclei | 12000+ 模板,内网+外网双扫,覆盖 CVE/XSS/SQLi/RCE | | SSL/TLS | sslscan | 证书 & 加密协议检查 | | SSH 加固 | sshd -T | root 登录、密码认证、最大尝试次数 | | 防火墙 | ufw + iptables | 规则审计 | | 暴力破解防护 | fail2ban | 状态 & 封禁记录 | | 系统补丁 | apt | 待更新包检查 | | 登录审计 | lastlog | 近 7 天登录记录 |

安装依赖

bash
apt install -y nmap sslscan

nuclei


curl -sL https://github.com/projectdiscovery/nuclei/releases/latest/download/nuclei$(curl -s https://api.github.com/repos/projectdiscovery/nuclei/releases/latest | grep tagname | cut -d -f4 | tr -d v)linuxamd64.zip -o /tmp/nuclei.zip
unzip /tmp/nuclei.zip -d /tmp && mv /tmp/nuclei /usr/local/bin/
nuclei -update-templates

使用

一键扫描

bash python3 scripts/security_scan.py

输出:

  • - 终端打印风险摘要(🔴/🟡/🟢)
  • reports/security-scan-{日期}.md — 完整 Markdown 报告
  • reports/latest-scan-summary.txt — 摘要(供 cron 推送)

定时扫描 + 飞书推送

bash openclaw cron add --name weekly-security-scan \ --cron 0 10 1 \ --message 执行安全扫描:python3 /path/to/scripts/security_scan.py,扫描完成后把报告摘要私聊发给我。 \ --tz Asia/Shanghai

风险等级判定

  • - 🔴 严重: 危险端口对外开放 / nuclei 发现漏洞 / nmap 发现已知 CVE
  • 🟡 警告: SSH 配置弱 / 防火墙未启用 / fail2ban 未安装
  • 🟢 安全: 未发现问题

授权声明

仅扫描你拥有或被授权测试的目标。

标签

skill ai

通过对话安装

以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 auto-security-audit-1776209775 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 auto-security-audit-1776209775 技能

通过命令行安装

skillhub install auto-security-audit-1776209775

下载

⬇ 下载 auto-security-audit v1.0.0(免费)

文件大小: 4.72 KB | 发布时间: 2026-4-15 11:24

v1.0.0 最新 2026-4-15 11:24
Initial release of auto-security-audit.

- One-click automated security audit: combines nmap port/service scan, nuclei CVE/web vulnerability detection (12,000+ templates, internal+external), SSL/TLS and SSH checks, firewall and fail2ban status, plus patch and login audits.
- Generates structured Markdown reports, including summaries for cron/Feishu (Lark) push notifications.
- Supports scheduled scans via cron integration and Feishu notifications.
- Results classified as CRITICAL, WARN, or SAFE for easy risk assessment.
- Requires nmap, nuclei, and sslscan as dependencies.
返回顶部