secopsai
Conversational SecOps for OpenClaw audit logs. Run the live detection pipeline, inspect findings, triage incidents, and get mitigation guidance — all from chat.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Conversational SecOps for OpenClaw audit logs. Run the live detection pipeline, inspect findings, triage incidents, and get mitigation guidance — all from chat.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | secopsai |
| description | Conversational SecOps for OpenClaw audit logs. Run the live detection pipeline, inspect findings, triage incidents, and get mitigation guidance — all from chat. |
This skill lets an OpenClaw agent:
secopsai is installed at ~/secopsai (via curl -fsSL https://secopsai.dev/setup.sh | sh).~/.openclaw/logs/.exec tool to run shell commands.User phrases:
Exec command:
cd "$HOME/secopsai" && source .venv/bin/activate && python soc_store.py list
Agent behaviour:
Parse each OCF-... line into ID, severity, status, disposition, title. Reply with:
User phrases:
Exec command:
cd "$HOME/secopsai" && source .venv/bin/activate && python run_openclaw_live.py --skip-export && python soc_store.py list
Agent behaviour:
Example reply:
Daily SecOps summary: 3 findings (2 HIGH, 1 MEDIUM).
- HIGH: OCF-C9D2523C770B6731 — OpenClaw Dangerous Exec / Tool Burst
- HIGH: OCF-62FA8D1D3578BF6E — OpenClaw Sensitive Config Reply
triage OCF-...to mark as reviewed, ormitigate OCF-...for remediation steps.
User phrases:
triage OCF-<ID>triage OCF-<ID> note "your note here"Exec command pattern:
cd "$HOME/secopsai" && source .venv/bin/activate && \
python soc_store.py set-disposition OCF-<ID> true_positive && \
python soc_store.py set-status OCF-<ID> triaged && \
python soc_store.py add-note OCF-<ID> analyst "<note text or 'validated via chat'>"
Agent behaviour:
Run all three commands in sequence. Confirm back:
Triage complete: OCF- → disposition=true_positive, status=triaged.
User phrases:
show OCF-<ID>details OCF-<ID>Exec command:
cd "$HOME/secopsai" && source .venv/bin/activate && python openclaw_plugin.py show OCF-<ID>
Agent behaviour:
Parse and summarise the JSON: title, severity, status, disposition, rule IDs, event count, first/last seen.
User phrases:
Exec command pattern:
cd "$HOME/secopsai" && source .venv/bin/activate && python openclaw_plugin.py check --type <malware|exfil|both> --severity medium
Agent behaviour:
Parse the JSON (matched_count, high_or_above, top_matches) and reply with a compact summary:
Malware check: 2 matching findings (1 HIGH). Top: OCF-C9D2523C770B6731, HIGH — OpenClaw Dangerous Exec / Policy Denials.
User phrases:
mitigate OCF-<ID>show mitigation OCF-<ID>what should I do for OCF-<ID>Exec command:
cd "$HOME/secopsai" && source .venv/bin/activate && python openclaw_plugin.py mitigate OCF-<ID>
Expected JSON fields: finding_id, title, severity, recommended_actions (list of strings).
Agent behaviour:
Reply with a numbered list of the recommended_actions. Example:
Mitigation steps for OCF-C9D2523C770B6731 (HIGH — OpenClaw Dangerous Exec / Tool Burst):
- Identify which agent or skill issued the dangerous execs and confirm business justification.
- If unauthorized, disable or restrict that skill/tool configuration in OpenClaw.
- Rotate any secrets used in the commands (tokens, SSH keys, API keys).
- Add stricter policy/approval requirements for high-risk exec operations.
If recommended_actions is empty or missing:
No curated mitigation steps are available yet for this finding. Recommended next steps: review the associated events, confirm if the behaviour is expected, and restrict any over-permissive skills or credentials used.
Configure an OpenClaw cron job:
30 7 * * * (07:30 local)[SECOPSAI_DAILY_SUMMARY] Run: cd "$HOME/secopsai" && source .venv/bin/activate && python run_openclaw_live.py --skip-export && python soc_store.py list. Then summarise new/HIGH findings and send here.
When this fires the agent should:
exec.soc_store.py list output.triage OCF-... or mitigate OCF-... any flagged item.