Security hardening

From wulaosiji/skills · View interactive version

Security hardening is an AI agent skill from the GitHub repository wulaosiji/skills. AI Agent一键安全加固系统,部署输入过滤器、命令拦截器、模型锁、持久防护和审计日志,防御prompt注入、社会工程学、危险命令执行和信息泄露。 Use when: "安全加固", "agent安全防护", "prompt注入防御", "security hardening", "protect my agent", "部署安全过滤器", "防止信息泄露", "secure my agent". 默认拒绝安全姿态,所有敏感操作需管理员验证,审计日志记录每次安全相关动作。Cross-references: skill-security-audit, secure-key-manager, s

How to use this skill

Skill file

Security Hardening

一键安全加固 - One-click security hardening for AI agents.

When to Use

Use this skill when:

Do NOT use this skill if:

Typical triggers:

Workflow

遵循六步推进法(探查→约束→证据→执行→验证→交付)完成操作。

  1. 探查 (Probe)

完整读取环境状态,确认加固前的检查项:

  1. 约束 (Constrain)

验证管理员ID所有权,设定默认拒绝(default-deny)安全姿态和不可降级的防护标准。受阻时换通道,不降级交付物。

  1. 证据 (Evidence)

记录加固前的环境状态作为基线证据,包括当前权限配置、已安装组件和开放端口。每个配置变更必须有明确的安全理由。

  1. 执行 (Execute)

运行加固脚本,先给影响与结论,再给行动和必要证据。

# Auto (recommended)
node skills/security-hardening/install.js \
  --admin=ou_xxx \
  --workspace=~/.openclaw/workspace \
  --models=kimi-coding/k2p5

# Interactive
node skills/security-hardening/install.js --interactive
  1. 验证 (Verify)

用不同于生成路径的方式回读——运行验证脚本确认所有组件已部署,防护等级为High。

node skills/security-hardening/verify.js

Expected: all components ✅ and protection level 🟢 High.

手动测试注入/危险命令场景,确认防护生效。

  1. 交付 (Deliver)

返回加固结果和验证报告,设置定期维护:

Output

返回加固结果,包含:

Guardrails

以下约束确保安全、可靠地使用本技能。

Anti-patterns

Output Constraints

Safety Rules

Related Skills

About UniqueClub

This skill is part of the UniqueClub security toolkit.

🌐 https://uniqueclub.ai

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.