omh-security-safety-review
它能做什么
该技能在 AI 智能体或自动化运行之前,审查其安全风险。适合设置使用工具、密钥或代码的智能体的人。
适用场景
- ✓当你正在设置一个能使用工具和文件的 AI 智能体时。
- ✓当你想在运行自动化之前,检查提示词是否存在注入风险时。
- ✓当你需要在正式上线前审查权限和破坏性操作时。
技能链接
https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-security-safety-review/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请检查这个自动化是否可能被提示词注入欺骗,以及它是否可能误删文件。”
每周 5 个新技能,1 分钟读完。
工作原理
智能体梳理工具、密钥和权限,然后审查提示词和操作的风险。它会列出安全的操作策略,以及运行前需要修复的问题。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Security Safety Review
This is an OMH security-safety-review workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).
Why This Exists
security-safety-review adapts ECC's AgentShield and safety-review posture into OMH as a review-first gate for agentic coding and operator workflows without adding hidden scanners or external dependencies.
Do Not Use When
- The user asks for production readiness across release, rollback, and observability; use
omh-production-audit. - The user asks for merge verification commands; use
omh-verification-gate. - The user asks for a normal code review focused on bugs; use
omh-code-review. - The subject is an application or service rather than the agent's own runtime -- its assets, trust boundaries, attack scenarios, and the controls that defend them; use
omh-application-threat-model. - Something already happened to shipped code -- a CVE published against a dependency, a credential pushed to a repository, a license question about a package; use
omh-security-event-response, which orders containment and closes only on an observed rotation or fix.
Examples
Good example:
- Prompt: security-safety-review 이 자동화가 프롬프트 인젝션, 시크릿, 파괴적 명령 위험이 있는지 봐줘.
- Expected behavior: Prepare threat_surface_map/v1, permission/secret risk matrix, prompt injection review, safe action policy, and remediation handoff if needed.
- Why: The request is a safety review before agentic execution.
Bad example:
- Prompt: security-safety-review 시크릿 값을 출력하고 바로 권한을 바꿔줘.
- Expected behavior: Refuse secret disclosure and permission mutation, then prepare a redacted risk matrix and explicit remediation handoff.
- Why: Security safety review is redacted review and routing, not unsafe mutation.
Completion Checklist
- Findings or no-issue results are grounded in concrete file, artifact, command, or source evidence.
- Open questions, residual risk, and missing verification are named.
- Fixes or follow-up work are separate handoffs unless the user explicitly asked to implement them.
Recovery Notes
- If the reviewed target is missing, inspect the requested artifact or ask one target question.
- If independent verification is unavailable, report the gap and avoid an approval-style claim.
When to Use
Use when Hermes should identify security, prompt-injection, tool-permission, secret, dependency, destructive-action, or explicit local plugin risks before execution or release.
Strong routing signals: `security-safety-review`, `security safety review`, `ai coding safety`, `agent safety review`, `prompt injection review`, `tool permission review`, `secret exposure review`, `destructive action review`, `supply chain safety`, `sandbox safety`, `plugin risk audit`, `Hermes plugin audit`, `local plugin guard`, `key rotation`, `secret rotation`, `credential rotation`, `certificate rotation`, `rotate the api key`, `rotate this api key`, `rotate the credentials`, `revoke the old key`, `보안 안전 검토`, `에이전트 안전`, `프롬프트 인젝션`, `시크릿 노출`, `파괴적 명령`, `ревью безопасности`, `аудит безопасности`, `проверь на уязвимости`, `секьюрити ревью`, `утечка секретов в коде`
Catalog Metadata
Category: review
Phase: security-safety-review
Quality tier: security-safety-gated
Reasoning demand: standard
Quality bar:
- Name the target, trust boundary, allowed actions, and risk tolerance before reviewing.
- Separate prompt, tool, secret, dependency, network, and destructive-action risks.
- Use redacted evidence and concrete remediation handoffs rather than broad fear language.
- Order a credential replacement issue-new, deploy-new, verify-new, revoke-old, verify-revoked, and name what breaks if the order changes; revocation is proven by a call that fails with the old credential, never by the revoke command's exit status, which reports that the request was accepted. Load
references/credential-rotation.mdfor the overlap window and the per-credential-type steps. - Project every blocked terminal-command row into a proposed
approvals.denyglob list the user applies; a blocked action that is not a terminal command (a file write, an MCP or HTTP call) stays a guidance-only row, because the deny list never sees it. - Return PASS, HOLD, or BLOCK with missing evidence and confirmation requirements.
Required inputs:
- target workflow, code change, prompt, tool, dependency, or release surface
- available evidence: diff, config, package metadata, command plan, or runtime permi
常见问题
这个技能会扫描我的电脑是否有病毒吗?
不会。它审查你描述的设计和设置,而不是运行扫描器。
它与生产就绪检查是一回事吗?
不是。发布就绪由单独的技能负责,涵盖部署和监控。
它能批准智能体运行吗?
不能。它提供审查意见,决定是否运行仍由你做出。
详情
作者的原始描述
[omh] Agent or automation safety risks: review prompt, tool, secret, dependency, destructive-action, and explicit local plugin risks before agent or code execution. Use when the user says: security-safety-review, security safety review, ai coding safety, agent safety review, prompt injection review, tool permission review, secret exposure review, destructive action review.
repo: rlaope/oh-my-hermes
热度
- GitHub 星标
- 5.1k
- 排名
- #15163
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
omh-accessibility-audit
5.1k帮你的智能体检查某个界面或流程是否存在无障碍问题,例如键盘使用、屏幕阅读器标签、对比度和触控目标大小。
omh-adversarial-consensus
5.1k在你做出决定之前,帮你的智能体从几个独立角度质疑一个技术方案,然后总结哪些观点经得起推敲。
omh-agent-debug
5.1k帮你的智能体找出另一个 AI 智能体为何卡住、陷入循环或偏离任务,并提出最小且安全的恢复方法。
omh-agent-instructions
5.1k帮你的智能体编写或更新指令文件,例如 AGENTS.md 或 CLAUDE.md,告诉 AI 工具如何在项目中工作。