跳到正文
Skillpedia
安全5.1k · #15162

omh-security-event-response

它能做什么

该技能指导处理已经上线的代码中的安全事件,例如存在漏洞的软件包,或被推送到代码仓库中的密钥。适合处理事件的开发者和安全人员。

适用场景

  • ✓当某个安全公告涉及你的项目所使用的软件包时。
  • ✓当密钥或 API 密钥被意外提交到代码仓库时。
  • ✓当关于某个软件包的许可证问题出现,需要明确答复时。

技能链接

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-security-event-response/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-security-event-response/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我们使用的一个软件包刚刚发布了 CVE。请帮我检查我们是否受影响,以及应先做什么。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体对事件进行分类,检查代码的暴露程度,并排列遏制步骤的顺序。在观察到密钥轮换或修复完成之前,它不会关闭该问题。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Security Event Response

This is an OMH security-event-response workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

security-event-response exists because an event had no owner: security-safety-review and application-threat-model review a design before it ships, and a CVE, a committed secret, or a license question was answered by onboarding, review, or an achievements lane with no containment order at all.

First Steps

  • Classify the event and state its exposure window before proposing any step.
  • For a leaked secret, order the rotation and its observed rejection before any history rewrite.

Do Not Use When

  • Nothing has happened yet and the ask is a review of prompts, tools, or permissions before execution; use omh-security-safety-review, which also owns a planned rotation with no exposure.
  • The subject is a design's assets, trust boundaries, and attack scenarios; use omh-application-threat-model.
  • A dependency moves to a new version as routine maintenance with no advisory or leak attached, such as a dependabot bump; use omh-refactor-plan.
  • The question is a contract, a privacy obligation, or legal advice beyond a dependency's declared terms; use omh-legal-compliance-review.
  • Production is down or degraded right now and the ask is command of the incident; use omh-live-incident-response.

Examples

Good example:

  • Prompt: we committed a secret, what now
  • Expected behavior: Record the credential type, scope, and exposure window, then prepare containment_plan/v1: revoke and replace, observe the old credential rejected, audit its use in the window, and only then rewrite history; the closure verdict stays open until the rotation is observed.
  • Why: A rewritten history does not revoke a secret that was already cloned or scraped.

Bad example:

  • Prompt: just force-push the history without the key and we are done
  • Expected behavior: Refuse to close: rotate first, observe the old key rejected, then rewrite, and name what is still unobserved.
  • Why: Rewriting history first leaves a live credential in every clone and cache made before the push.

Completion Checklist

  • The event kind, source, and exposure window are stated.
  • Every severity call cites the reachable path or its observed absence.
  • A leaked secret's rotation precedes any history rewrite in the plan.
  • The closure verdict is closed only when the rotation or fixed version is observed.
  • No secret value appears anywhere, and OMH scanned, contacted, or rotated nothing.

Recovery Notes

  • If the exposure window is unknown, treat the secret as exposed from its first push and say so.
  • If no reachability evidence is available, keep the advisory's own severity and mark the adjustment unverified.

When to Use

Use when a security event has already happened to code that exists: a CVE or advisory in a dependency, a secret or credential committed or pushed, a dependency whose license may not fit the product, or an advisory that forces a major version. The output is reachability, a severity call, containment steps in order, and what must be observed before the event closes; OMH never scans, never contacts a registry, and rotates nothing.

Strong routing signals: `security-event-response`, `security event response`, `cve`, `triage this cve`, `cve in our dependency`, `cve in a dependency`, `security advisory`, `dependabot alert`, `dependabot security`, `vulnerable dependency`, `vulnerability in our dependency`, `reachability analysis`, `npm audit`, `committed a secret`, `committed an api key`, `leaked secret`, `leaked a secret`, `leaked credential`, `leaked api key`, `leaked an api key`, `leaked aws key`, `leaked an aws key`, `secret in git history`, `secret in the history`, `dependency license`, `dependency's license`, `license ok`, `license compatibility`, `license compatible`, `gpl dependency`, `agpl dependency`

Catalog Metadata

Category: review Phase: security-event-response Quality tier: event-closure-gated Reasoning demand: standard

Quality bar:

  • Classify the event first; each kind has its own containment order.
  • Load references/event-containment-order.md for the per-event containment order, the severity adjustment, and the license obligation table instead of recalling them.
  • Adjust severity by reachability: a critical advisory on a function nothing calls is not the same event as one on the request path.
  • Keep prepared, observ
常见问题

如果密钥泄露,我应该先做什么?

该技能会先安排密钥轮换,然后进行任何历史清理,并等待证据表明旧密钥已被拒绝。

它会自动修复我的依赖吗?

不会。它引导你完成各个步骤,改动由你或你的团队完成。

这适用于常规更新吗?

不适用。没有安全公告的常规更新,更适合作为普通的维护工作处理。

详情

作者的原始描述

[omh] Security event on the code already shipped -- a CVE in a dependency, a secret committed to the repo, a license question, an advisory: triage reachability and severity, contain in order, and never close a leaked secret before its rotation is observed. Use when the user says: security-event-response, security event response, cve, triage this cve, cve in our dependency, cve in a dependency, security advisory, dependabot alert.

repo: rlaope/oh-my-hermes

热度

GitHub 星标
5.1k
排名
#15162
许可证
MIT
更新时间
2026/11/2

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能