360 Secure SkillHub
360 安全技能中心

Security Guardian

该 Skill 是一份安全事件响应策略说明:检测到 exec、gateway.config.patch、系统路径写入或 rm 等高风险操作时,向配对的 openclaw-ios 设备发送告警并等待用户回复 ok,再用 canvas.present 展示 4 位验证码;按绿/灰/热三区隔离会话,非所有者发起的特权调用会写入 lockdown.status 触发封锁,/unlock 后经 2FA 解…

sophus55
sophus55
热度 47.35
最近更新 2026-07-20 13:25:34
分类:安全依赖:读写文件应用场景:工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add sophus55/security-guardian
Metadata
name
security-guardian
description
Enforces Three-Zone Incident Response, 2FA via iPhone, and System-Wide Lockdown.

🛡️ Security Guardian Playbook

Operational logic for the security-guardian skill.

🚨 Operational Protocol

1. Two-Factor Authentication (2FA) Handshake

  • Trigger: Execution of high-risk tools (e.g., exec, gateway.config.patch, file_write to system paths, rm).
  • Step 1 (Alert): Send system.notify to the paired openclaw-ios device.
  • Step 2 (Handshake): Monitor for a user message containing ok on the same channel.
  • Step 3 (Verification): Once the handshake is confirmed, use canvas.present to display a unique 4-digit code on the user's primary device.

2. Three-Zone Model

  • Green (Trusted): Standard session operations.
  • Gray (Restricted): For /investigate workflows. Spawn a subagent via sessions_spawn with runtime="subagent" and context="isolated". Disable messaging and all shell/gateway tools.
  • Hot (Compromised): Immediate isolation of the session.

3. Zero-Trust Enforcement

  • Rule: If any privileged tool call is detected where senderIsOwner is false, immediately trigger Lockdown Mode.

🔐 Lockdown & Recovery

Lockdown State

  • Action: Write true to lockdown.status in the workspace.
  • Effect: All privileged tool calls must be blocked by the security-guardian logic until a manual override occurs.

Recovery Protocol

  • Step 1: User issues the /unlock command.
  • Step 2: Agent triggers a 2FA handshake via openclaw-ios.
  • Step 3: Upon successful 2FA, set lockdown.status to false.