Agent skill · AI & Agents

alibabacloud-ecs-sec-inspect

Linux 服务器安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。50+ 安全分析器,10 个数据采集器,103+ MITRE ATT&CK 技术映射,支持 3 种部署模式。 当用户询问服务器安全、入侵检测、系统审计、恶意软件检测、安全事件响应时使用。 每当需要判断服务器是否被入侵、检查后门木马、分析安全事件时,优先使用此技能。 务必在发现安全异常时主动调用此技能,即使用户没有明确要求安全检查。

aliyungithub.com/aliyunGitHub ↗
claude-coderead-onlyships scriptsApache-2.0
Install
npx skills add aliyun/alibabacloud-ecs-troubleshoot-skills --skill alibabacloud-ecs-sec-inspect --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 363
SKILL.md size: 10 KB
Bundled scripts: yes
Version: 1.4.1 # Keep in sync with VERSION file
Allowed tools: -terminal(sudorequiredforfullscan)-file-read-file-write
Path: skills/alibabacloud-ecs-sec-inspect/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 160
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# sec-inspect > **Linux 服务器安全入侵检测与取证工具 | Linux Server Security Intrusion Detection & Forensics Tool** --- ## First Run Setup | 首次运行 **AI Agent 首次使用本 Skill 时,MUST 执行以下权限申请(一次性,后续无需重复):** ```bash cd /data/sec-inspect && sudo python3 scripts/setup_permissions.py --auto ``` 这将自动: 1. 检测系统已安装的 AI 工具(Claude Code, Qoder, OpenCode, Windsurf, Cursor, Gemini CLI, Trae) 2. 配置最小权限集(sudo, read all, write workspace) 3. 备份已有配置 4. 验证权限生效 配置完成后重启 AI 工具即可永久生效。验证权限: ```bash cd /data/sec-inspect && python3 scripts/setup_permissions.py --verify ``` --- ## Quick Start | 快速开始 **完整流程: 权限申请 → 环境初始化 → 执行扫描 → 反思验证 → 输出结果** ### Step 1: 环境初始化(首次) ```bash cd /data/sec-inspect && sudo bash scripts/setup.sh ``` 自动完成:检测/安装 Python >= 3.11、创建 workspace、安装 Skill 到 AI 工具目录。 ### Step 2: 执行扫描 ```bash # 推荐(源码模式) cd /data/sec-inspect && sudo python3 -m scripts.main --output-dir /data/sec-inspect/workspace # 编译版(需 Python 3.11 精确匹配) cd /data/sec-inspect && sudo python3 scripts/main.pyz --output-dir /data/sec-inspect/workspace ``` > **pyz 失败处理**:若出现 `bad magic number` 错误,详见 [references/python-runtime.md](references/python-runtime.md) ### Step 3: 查看报告 报告输出到 `/data/sec-inspect/workspace/{YYYY-MM-DD}/report/`: | 文件 | 格式 | 用途 | |

What's inside
Steps it walks through
  1. First Run Setup | 首次运行
  2. Quick Start | 快速开始
  3. Step 1: 环境初始化(首次)
  4. Step 2: 执行扫描
  5. Step 3: 查看报告
  6. Step 4: Post-Scan Reflection(MANDATORY)
  7. What Can It Do? | 能做什么?
  8. Detection Capabilities | 检测能力
  9. Key Features | 核心特性
  10. Prerequisites | 前置条件
  11. Security Model | 安全模型
  12. Required Permissions | 最小权限集
  13. Command Line | 命令行参考
  14. Core Parameters | 核心参数
Ships with 24 files
  • CONTRIBUTOR.md
  • VERSION
  • __init__.py
  • assets-origin/ioc/domain.b64
  • assets-origin/ioc/hash.b64
  • assets-origin/ioc/ip_port.b64
  • assets-origin/ioc/manifest.json
  • assets-origin/ioc/url.b64
  • assets-origin/whitelist/analyzer_rules.b64
  • assets-origin/whitelist/domain.b64
  • assets-origin/whitelist/hash.b64
  • assets-origin/whitelist/ip_port.b64
  • assets-origin/whitelist/manifest.json
  • assets-origin/whitelist/url.b64
  • assets/ioc/.gitkeep
  • assets/whitelist/.gitkeep
  • configs/analyzer.yaml
  • configs/collector.yaml
  • configs/sec-inspect.yaml
  • deploy/docker/Dockerfile
  • deploy/docker/README.md
  • deploy/docker/docker-compose.yml
  • deploy/k8s/configmap.yaml
  • deploy/k8s/cronjob.yaml
first 24 of 363
Commands it runs
cd /data/sec-inspect && sudo python3 scripts/setup_permissions.py --auto
cd /data/sec-inspect && python3 scripts/setup_permissions.py --verify
cd /data/sec-inspect && sudo bash scripts/setup.sh
cd /data/sec-inspect && sudo python3 -m scripts.main --output-dir /data/sec-inspect/workspace
cd /data/sec-inspect && sudo python3 scripts/main.pyz --output-dir /data/sec-inspect/workspace
cd /data/sec-inspect && sudo python3 -m scripts.main --format both
cd /data/sec-inspect && sudo python3 -m scripts.main --full-report
cd /data/sec-inspect && sudo python3 -m scripts.main --force
cd /data/sec-inspect && python3 -m scripts.main --list-analyzers
cd /data/sec-inspect && python3 -m scripts.main --show-assets all
More from alibabacloud-ecs-troubleshoot-skills
All skills →
About this skill
What does the alibabacloud-ecs-sec-inspect skill do?

Linux 服务器安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。50+ 安全分析器,10 个数据采集器,103+ MITRE ATT&CK 技术映射,支持 3 种部署模式。 当用户询问服务器安全、入侵检测、系统审计、恶意软件检测、安全事件响应时使用。 每当需要判断服务器是否被入侵、检查后门木马、分析安全事件时,优先使用此技能。 务必在发现安全异常时主动调用此技能,即使用户没有明确要求安全检查。

How do I install it?

Run `npx skills add aliyun/alibabacloud-ecs-troubleshoot-skills --skill alibabacloud-ecs-sec-inspect --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From aliyun/alibabacloud-ecs-troubleshoot-skills, a repository with 160 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going