IronClaw Security Guard
Use this skill when an OpenClaw runtime needs lightweight security guardrails rather than a full sandbox.
What it is for
Use it when the user wants to:
- - reduce risky shell execution
- protect sensitive paths and credentials
- detect prompt-injection patterns in untrusted content
- redact secrets before outgoing messages
- keep an audit trail of risky or blocked behavior
What it covers
- - shell-risk filtering
- protected path detection
- prompt-injection heuristics
- outbound secret redaction
- audit logging
- manual inspection through INLINECODE0
When to use it
- - local-model deployments
- tool-heavy OpenClaw setups
- environments with chat, shell, web, and file tools enabled
- operator workflows that need safety checks without a heavyweight sandbox
Non-goals
This skill does not:
- - provide container isolation
- guarantee malware containment
- replace OS, network, or credential-hygiene controls
Operating workflow
- 1. Check whether the plugin is enabled or running in
monitorOnly mode. - Review configured allowlists, blocked command patterns, and protected path patterns.
- Use
ironclaw_security_scan first when content or tool parameters look suspicious. - Prefer the least-privileged path for shell, network, and messaging actions.
- If the plugin blocks a call, inspect the audit log before overriding safeguards.
Output expectations
Good use of this skill should usually produce:
- - a concise risk explanation
- the matched finding category
- a safer alternative when one exists
- a note about whether the event should be audited or blocked
IronClaw 安全守卫
当 OpenClaw 运行时需要轻量级安全防护而非完整沙箱时,请使用此技能。
适用场景
当用户希望实现以下目标时使用:
- - 减少危险的 shell 执行
- 保护敏感路径和凭证
- 检测不可信内容中的提示注入模式
- 在发出消息前编辑机密信息
- 保留风险或阻止行为的审计追踪
覆盖范围
- - shell 风险过滤
- 受保护路径检测
- 提示注入启发式检测
- 出站机密编辑
- 审计日志记录
- 通过 ironclawsecurityscan 进行人工检查
使用时机
- - 本地模型部署
- 工具密集型 OpenClaw 配置
- 启用了聊天、shell、网络和文件工具的环境
- 需要安全检查但无需重型沙箱的操作工作流
非目标
此技能不提供:
- - 容器隔离
- 恶意软件遏制保证
- 替代操作系统、网络或凭证卫生控制
操作流程
- 1. 检查插件是否已启用或以 monitorOnly 模式运行。
- 审查已配置的允许列表、阻止的命令模式和受保护的路径模式。
- 当内容或工具参数看起来可疑时,首先使用 ironclawsecurityscan。
- 优先为 shell、网络和消息操作选择最小权限路径。
- 如果插件阻止了调用,在覆盖安全防护前先检查审计日志。
输出预期
正确使用此技能通常应产生:
- - 简洁的风险说明
- 匹配的发现类别
- 存在更安全替代方案时的建议
- 关于事件应被审计还是阻止的说明