incident-response SKILL.md skillA

incident-response from perrylink/dsh-skill-pack-security is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add perrylink/dsh-skill-pack-security/incident-response@v2.2.25

Pins v2.2.25 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
perrylink/dsh-skill-pack-security
Path
skills/incident-response/SKILL.md
Versions recorded
13
Latest version
v2.2.25, committed Oct 31, 2026
First version recorded
Sep 7, 2026
Size
4,860 bytes
Repository stars
22
License
Apache-2.0

agent 环境安全事件响应:分类→控制蔓延→取证留痕→恢复→复盘的分步处置流程,覆盖密钥泄露、提示注入触发、依赖投毒、未授权操作四类事件,每条处置附命令证据。DSH/agent 环境出现疑似安全事件需要按流程处置与复盘时用;日常开发与例行维护不用。.

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# 事件响应(incident-response)

原则:**先控制,再取证,后恢复**。控制动作(轮换/撤销/停用)不依赖完整归因——疑似即执行;取证在控制之后做,避免"边查边扩散"。全程不写密钥明文,报告遵守 `secret-scan` 脱敏规范。

## 1. 确认与分类

先回答两个问题:发生了什么(类型),影响面多大(范围)。四类事件与初步证据:

| 事件类型 | 初步证据 | 立即动作(见第 2 节) |
|---|---|---|
| 密钥泄露 | 扫描告警、公开仓库出现 token | 轮换 + 撤销 |
| 提示注入触发 | 会话执行了上下文外指令(下载/外发/改配置) | 停用触发源 + 隔离 |
| 依赖投毒 | 新依赖出现异常 install 脚本/网络请求 | 回滚依赖 + 锁文件冻结 |
| 未授权操作 | 仓库/CI 出现非本人提交、非预期运行 | 撤销凭据 + 暂停自动化 |

```sh
git rev-parse HEAD
git log -1 --format='%H %cd' --date=iso-strict
```

预期输出样例:`a1b2c3d4...` 与提交时间。
判据:先记录当前 HEAD——后续所有证据命令都相对它复核;不确定类型时先按"密钥泄露"假设处置(轮换成本最低、最安全)。

## 2. 控制蔓延(疑似即执行,不等归因)

- 密钥类:按 `secret-scan` 第 6 节顺序——先轮换、再撤销;轮换完成判据 = 新值生效且旧值在厂商控制台已撤销。
- 注入/未授权操作类:停用触发源——下线相关 MCP/插件、暂停 agent 会话与相关 CI:

```sh
git ls-files -- 'cordis.yml' '**/cordis.yml' '.mcp.json' '.github/workflows/**'
dsh --profile <配置文件> --dump-config
```

样例输出:配置与工作流路径列表;dump 输出中能看到已挂载插件清单。
判据:dump 输出里逐个核对插件/MCP 是否受信;存疑的立即从配置移除(改配置 → 新会话生效)。控制完成判据 = 事件源已停用且 24 小时内无同类新动作。

## 3. 取证留痕(时间线 + 证据包)

```sh
git log --format='%H %cd %s' --date=iso-strict --since='<事发时间>' --all
# Windows:Get-ChildItem $env:DSH_HOME -Recurse -File | Sort-Object LastWriteTime -Descending | Select-Object -First 20
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add perrylink/dsh-skill-pack-security/incident-response@sha256:fa705afd615105f4

The line at the top of this page pins the label v2.2.25, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_fwvmrme65t4s2mxs.svg)](https://markdownregistry.com/a/art_fwvmrme65t4s2mxs)

3 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 13 versions of this file, between Sep 7, 2026 and Oct 31, 2026, about one every 5 days.

versioncommittedcommitsizeaudit
v2.2.25 latest2026-10-31 af6b35f 4,860 BA view · diff
v2.2.242026-10-10 0c1deb8 4,860 BA view · diff
v2.2.232026-10-10 a5f8d45 4,860 BA view · diff
v2.2.222026-10-05 008bf2e 4,860 BA view · diff
v2.2.202026-10-05 6b2adfe 4,860 BA view · diff
v2.2.192026-10-04 380880e 4,860 BA view · diff
v2.2.182026-10-04 8761f0d 4,860 BA view · diff
v2.2.172026-09-24 f926448 4,860 BA view · diff
v2.2.162026-09-12 8e74c4d 4,860 BA view · diff
v2.2.142026-09-10 d6120c8 4,860 BA view · diff
v2.2.132026-09-09 6ffdda7 4,860 BA view · diff
v2.2.122026-09-09 dd3da11 4,860 BA view · diff
v2.2.102026-09-07 4430c52 4,860 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (4860 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

perrylink/dsh-skill-pack-security · 22 stars · license Apache-2.0 · pushed 2026-11-01 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_fwvmrme65t4s2mxs
GET https://markdownregistry.com/api/v1/resolve?ref=perrylink/dsh-skill-pack-security/incident-response
GET https://markdownregistry.com/api/v1/blob/fa705afd615105f4844172586e1b55bfb9c2989dc031118e6bead5b50f5da9c6

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from perrylink/dsh-skill-pack-security

dependency-audit SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/dependency-audit/SKILL.md · Dependency supply-chain audit: reading pnpm/npm audit output and exit codes, a license and poisoning risk checklist…
v2.2.25 · audit A · 22 stars
incident-response SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/incident-response/SKILL.md · Security incident response for agent environments: a staged flow of classification, containment, evidence collection…
v2.2.25 · audit A · 22 stars
prompt-injection-review SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/prompt-injection-review/SKILL.md · Injection-surface review for agent projects: a checklist covering AGENTS.md, skill directories, tool descriptions, MCP…
v2.2.25 · audit C · 22 stars
secret-scan SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/secret-scan/SKILL.md · Credential/secret exposure audit: gitleaks and trivy full-history scan commands and arguments, false-positive alert…
v2.2.25 · audit A · 22 stars
security-audit SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/security-audit/SKILL.md · Repository/software security audit overview: a staged flow of scope definition, asset inventory, risk tiering…
v2.2.25 · audit A · 22 stars
supply-chain-review SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/supply-chain-review/SKILL.md · Quick PR/new-dependency supply-chain review: dangerous install/postinstall script checks, typosquat name-similarity…
v2.2.25 · audit A · 22 stars
threat-model SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/threat-model/SKILL.md · Lightweight threat modeling for new features/systems: fix the target, scope and trust boundaries, asset inventory…
v2.2.25 · audit A · 22 stars
vuln-intel SKILL.md skill
perrylink/dsh-skill-pack-security · skills-en/vuln-intel/SKILL.md · Vulnerability intelligence lookup and triage: query commands for the four authoritative sources NVD/CISA-KEV/GHSA/OSV…
v2.2.25 · audit A · 22 stars
dependency-audit SKILL.md skill
perrylink/dsh-skill-pack-security · skills/dependency-audit/SKILL.md · 依赖供应链审计:pnpm/npm audit 输出与退出码解读、license 与投毒风险检查清单、锁文件漂移检测命令。任务要求审计项目依赖的已知漏洞、许可证风险、可疑包或 lockfile…
v2.2.25 · audit A · 22 stars
prompt-injection-review SKILL.md skill
perrylink/dsh-skill-pack-security · skills/prompt-injection-review/SKILL.md · 面向 agent 项目的提示注入面审查:AGENTS.md、技能目录、工具描述、MCP 来源与网页抓取内容的注入面检查清单,含数据与指令的区分判据和缓解项。审查对象是会被注入模型上下文的内容且需评估注入风险时用;与模型上下文无关的代码或配置…
v2.2.25 · audit C · 22 stars
secret-scan SKILL.md skill
perrylink/dsh-skill-pack-security · skills/secret-scan/SKILL.md · 凭据/密钥暴露审计:gitleaks、trivy 全历史扫描命令与参数、告警误报分级判据、脱敏报告规范、按轮换→撤销→清除历史→CI 门禁排序的修复流程。任务涉及仓库内密钥/token/密码/私钥的检测、历史提交泄露排查、扫描告警真伪判定或…
v2.2.25 · audit A · 22 stars
security-audit SKILL.md skill
perrylink/dsh-skill-pack-security · skills/security-audit/SKILL.md · 仓库/软件安全审计总览:范围界定→资产清单→风险分级→逐项验证→报告模板的分阶段流程,按需转调 secret-scan、dependency-audit、supply-chain-review、prompt-injection-review…
v2.2.25 · audit A · 22 stars

Every file in perrylink/dsh-skill-pack-security

Other files named incident-response

incident-response SKILL.md skill
cbrock84/headcount · plugins/security/skills/incident-response/SKILL.md · Runs a security incident from detection to closure — triage, containment, investigation, communication, and the review…
git:20260916.0e7cd01 · audit A · 2,543 stars
incident-response SKILL.md skill
rampstackco/claude-skills · skills/incident-response/SKILL.md · Manage active production incidents through detection, triage, mitigation, communication, and resolution with structured…
git:20260810.e5bc675 · audit A · 1,013 stars
incident-response SKILL.md skill
hypnguyen1209/offensive-claude · skills/incident-response/SKILL.md · Use when responding to or forensically investigating an incident — triage acquisition (Velociraptor/KAPE), Volatility 3…
git:20260630.df7d895 · audit A · 405 stars
incident-response SKILL.md skill
harness/harness-skills · skills/observability-governance/incident-response/SKILL.md · Incident response and analysis via Harness MCP. Correlate incidents with recent deployments, assess blast radius and…
v1.0.0 · audit A · 129 stars
incident-response SKILL.md skill
miosa-osa/osa · priv/skills/incident-response/SKILL.md · Investigate suspected compromise, preserve incident evidence, build a timeline and plan containment, recovery and…
v1.0.200 · audit A · 78 stars
incident-response SKILL.md skill
stbenjam/skillsaw · tests/fixtures/apm/clean/.apm/skills/incident-response/SKILL.md · Triage and respond to production incidents. Use when handling an outage.
v1.2 · audit A · 69 stars
incident-response SKILL.md skill
nahid-sparktales/agent-dispatcher · skills/devops/incident-response/SKILL.md · Stabilize a system that is failing right now — name the signal that flagged it, size the blast radius in numbers, keep…
git:20260919.a0d4f55 · audit A · 58 stars
incident-response SKILL.md skill
drafthq/draft · skills/incident-response/SKILL.md · Incident management lifecycle — triage, communicate, mitigate, postmortem. Three modes — new (start incident), update…
git:20260819.fda278e · audit A · 40 stars

Browse by kind, by grade A, or by owner.