Logo Critical Vulnerability Emergency Response

Critical Vulnerability Emergency Response

Cộng đồng
selvarajmurugesan90
critical-vulnerability-emergency-response

Guides the accelerated, out-of-band response when a critical CVE is publicly disclosed in a widely-used dependency, library, or platform component — rapid exposure assessment across the fleet, patch or temporary mitigation, verification, and closeout. Use when the user says "a critical CVE just dropped in X", "we need to check if we're affected by CVE-YYYY-NNNNN", "log4shell-style emergency patching", "zero-day just disclosed in our dependency", or "run an emergency vulnerability response". Distinct from the steady-state finding-queue management in security-finding-backlog-triage — this is the fire-drill process for one urgent, time-critical disclosure.

Tổng quan

Nhà phát hànhselvarajmurugesan90
Kho mãops-engineering-skills
Tên kỹ năngcritical-vulnerability-emergency-response
Sao
44
Bản fork
18
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được selvarajmurugesan90 công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Critical Vulnerability Emergency Response trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/devsecops/skills/critical-vulnerability-emergency-response
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/selvarajmurugesan90/ops-engineering-skills.git /tmp/ops-engineering-skills
mkdir -p .claude/skills
cp -r /tmp/ops-engineering-skills/plugins/devsecops/skills/critical-vulnerability-emergency-response .claude/skills/critical-vulnerability-emergency-response
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Critical Vulnerability Emergency Response trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Critical Vulnerability Emergency Response ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Critical Vulnerability Emergency Response với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

Critical Vulnerability Emergency Response

Purpose

A handful of times a year, a critical vulnerability is disclosed in software so widely deployed that it demands an out-of-band response within hours, not the normal remediation SLA — the Log4Shell (CVE-2021-44228) disclosure in December 2021 is the canonical example: a trivially exploitable remote code execution in a logging library embedded, often transitively and invisibly, across an enormous share of Java software. This kind of event does not fit the steady-state finding triage process in security-finding-backlog-triage — by the time a routine scan cycle would surface it, active exploitation may already be underway, since public disclosure usually means attackers have a working exploit within hours to days. This skill covers the compressed, incident-response-style workflow specific to this scenario: rapidly determining fleet-wide exposure (not just "do we use this library" but "is the vulnerable code path reachable and unpatched anywhere we run"), applying a patch or a stop-gap mitigation faster than a normal release cycle allows, verifying the fix actually closed the exposure, and closing out with the same rigor as any other security incident.

When to use

  • A CVE with a high CVSS score (typically 9.0+, or explicitly flagged "actively exploited in the wild") is publicly disclosed in a dependency, runtime, base image, or platform component the organization uses anywhere.
  • A vendor or open-source project issues an emergency security advisory with a same-day or next-day patch, and the organization needs to determine and remediate its exposure before normal patch-cadence processes would catch it.
  • Threat intelligence (internal, a vendor feed, or public reporting) indicates active exploitation of a vulnerability class the organization may be exposed to, even before a specific internal finding has been logged.
  • The user needs a structured playbook to run during the emergency — not a retrospective on how it went (that's a standard incident postmortem, out of scope here).
  • Leadership or a customer/auditor asks "are we affected by [named vulnerability]" and needs a fast, defensible, fleet-wide answer.

Prerequisites & environment

  • An asset/software inventory or Software Bill of Materials (SBOM) covering the fleet — without one, "are we affected" starts with "we don't know what we run," which is the single biggest time sink in a real emergency. See supply-chain-security-slsa-sbom for SBOM generation if this doesn't exist yet; build it before the next emergency, not during one.
  • SCA/dependency-scanning tooling already in place (software-composition-analysis-sca) capable of an ad hoc, targeted scan against a specific CVE/package/ version — not only the scheduled scan cadence.
  • A defined incident-response process and severity classification the organization already uses for security incidents, since a fleet-wide critical CVE response should invoke it rather than operating as an entirely separate, undocumented process.
  • Emergency change-management authority — a pre-agreed, expedited path to deploy an out-of-band patch or mitigation outside the normal release cadence, agreed before an emergency (retrofitting emergency change approval mid-incident costs the exact hours that matter most).
  • A communication channel and named incident commander role, consistent with the organization's broader incident-response practice.
  • Read access to the actual vendor/CVE advisory, not just a headline — advisories frequently specify exact affected version ranges, configuration preconditions, and whether a workaround short of a full patch exists; acting on a summary alone risks either over- or under-reacting.

Step-by-step guidance

  1. Confirm the advisory and its actual scope before mobilizing — read the primary vendor/CVE advisory (NVD entry, GitHub Security Advisory, vendor bulletin), not just news coverage. Note: exact affected version range, whether exploitation requires a specific configuration or is unconditional, whether a patch or only a workaround/mitigation exists yet, and whether active exploitation is confirmed (materially raises urgency) or only theoretical.

  2. Declare the incident and assign an incident commander per the organization's existing incident-response process, scaled to severity — a confirmed actively-exploited RCE in a widely-deployed component warrants full incident-response mobilization; a high-severity CVE with no known exploit and a narrow precondition may warrant an accelerated-but-smaller response. Don't build a bespoke process mid-emergency; invoke the one that already exists.

  3. Run a fleet-wide exposure scan targeted at the specific package/version, not a wait for the next scheduled scan:

    bash
    # Trivy: point at a specific known-vulnerable identifier/package to confirm the exact match set
    trivy image --severity CRITICAL --scanners vuln \
      --vuln-type library myorg/myapp:latest
    
    # Grep an SBOM inventory for the affected package name/version range as
    # an immediate, scan-tool-independent cross-check
    grep -r "log4j-core" sbom-inventory/*.json

    Cross-reference against the SBOM/asset inventory to also catch instances a live scan might miss (an image not currently deployed but sitting in a registry, an offline/batch system not scanned on the normal schedule, a vendored/embedded copy not visible to a package-manager-aware scanner).

  4. Distinguish "present" from "exploitable" quickly, but don't let that distinction delay patching where it's ambiguous. Some critical-CVE advisories include a documented configuration precondition (e.g. a specific feature flag, a lookup mechanism only active under certain logging configurations). Confirm precisely against the advisory whether your configuration matches the vulnerable precondition — but when in doubt during an active emergency, treat "present" as sufficient reason to mitigate first and confirm exploitability detail afterward, given the cost asymmetry between over-mitigating and a real breach.

  5. Apply the fastest available safe mitigation first, the full fix second, if they differ. Log4Shell is again illustrative: the initial recommended mitigation was a JVM system property/environment variable disabling the vulnerable lookup feature (-Dlog4j2.formatMsgNoLookups=true / LOG4J_FORMAT_MSG_NO_LOOKUPS=true) — deployable via a config/restart in minutes — ahead of the fully patched library version, which required a dependency bump, rebuild, and full release pipeline. Where a vendor advisory offers a config-level mitigation alongside the eventual patch, deploy the mitigation immediately and track the full patch as the durable fix, rather than waiting for a complete rebuild-and-release cycle before doing anything.

    bash
    # Example emergency mitigation via environment variable, deployable
    # through existing config/secret pipelines without a full rebuild
    kubectl set env deployment/myapp LOG4J_FORMAT_MSG_NO_LOOKUPS=true -n prod
  6. Patch through an expedited, emergency change path, not the normal release cadence, once the actual dependency bump is ready:

    yaml
    # Example: emergency out-of-band CI run bypassing the normal release
    # train's batching/scheduling, while still running required tests
    name: emergency-patch
    on:
      workflow_dispatch:
        inputs:
          cve_ref: { description: "CVE being patched", required: true }
    jobs:
      patch-and-verify:
        runs-on: ubuntu-latest
        steps:
          - uses: actions/checkout@v4
          - run: ./scripts/bump_dependency.sh log4j-core 2.17.1
          - run: ./run_tests.sh
          - run: trivy fs --severity CRITICAL,HIGH --exit-code 1 .

    Warning: an emergency change path that skips required tests or review entirely to save time trades a known, disclosed vulnerability for an unknown, unreviewed regression risk. Keep automated tests and a scan gate in the expedited path — cut the scheduling delay (batching, staged rollout waiting periods), not the safety checks themselves.

  7. Verify the fix actually closed the exposure, against the same scan/detection used to find it, not just "the deploy succeeded":

    bash
    trivy image --severity CRITICAL myorg/myapp:patched
    # confirm the specific CVE no longer appears in the report

    For a config-level mitigation applied ahead of the full patch, confirm the mitigating configuration is actually active in the running process (check the effective environment/config of a live pod, not just that the manifest was updated) before considering that step complete.

  8. Check for signs of exploitation during the exposure window, not only whether the fix is now in place — review logs/WAF/IDS data covering the period between public disclosure and your patch deployment for indicators matching the vulnerability class (for Log4Shell, outbound JNDI/LDAP lookup attempts in access logs was a widely-published indicator). A confirmed exploitation attempt or success escalates this from a vulnerability response to an active incident with its own containment/forensics process.

  9. Close out with a written record: which systems were exposed, what mitigation/patch was applied and when, verification evidence, and any residual risk (a system that could not be patched immediately, and why) routed into security-gate-exception-management as a time-boxed exception if a full fix genuinely cannot land immediately everywhere — never left as a silent gap.

  10. Feed the response back into steady-state process — update the asset inventory/SBOM tooling if the emergency response revealed gaps in it, and log metrics (time to detect exposure, time to mitigate, time to fully patch) into security-posture-metrics-and-trend-analysis so the organization can measure whether its emergency-response speed is actually improving over successive events.

Best practices

  • Build the SBOM/asset inventory and pre-agree the emergency change-management path before the next critical CVE, not during it — every minute spent building "how do we even know what we run" or "who can approve an emergency deploy" during a live disclosure is a minute an attacker also has.
  • Deploy a documented config-level mitigation immediately if the advisory offers one, even while the full dependency-bump patch is still being built and tested — speed of the first response matters more than getting straight to the "complete" fix.
  • Keep automated tests and a scan gate in the expedited emergency change path; cut scheduling/batching delay, not verification.
  • Scan for the CVE across the entire fleet including non-production, batch, and rarely-deployed systems — a vulnerability response that only checks production-facing services and misses an internal system with the same vulnerable dependency leaves a real gap that later surfaces as a second incident.
  • Treat "we found no evidence of exploitation" as good news about the investigation's outcome, not as license to skip the investigation itself — check logs for indicators during the exposure window as a standard step, every time.
  • Run a short retrospective after the response closes (separate from the standard incident postmortem if one is triggered) specifically on detection-to-mitigation timing, and feed gaps found (a scanner that couldn't do a targeted ad hoc query, an inventory that was missing a system) back into tooling improvements.

Common pitfalls

  • Symptom: The team spends the first several hours of an emergency trying to determine what systems even run the affected component, because no SBOM or asset inventory exists. Fix: This is a symptom of a prerequisite gap, not something to solve mid-emergency — stand up SBOM generation (supply-chain-security-slsa-sbom) proactively so the next event starts with a query, not a fleet-wide archaeology exercise.

  • Symptom: The organization waits for the fully-tested, complete dependency-bump release before doing anything, while a documented config-level mitigation that could have been deployed in minutes sits unused. Fix: Check the advisory specifically for an interim mitigation (feature flag, environment variable, WAF rule) and deploy it immediately as a stop-gap; track the full patch as the durable follow-up, not the only acceptable first action.

  • Symptom: An emergency patch is rushed out with tests and review skipped entirely "because it's urgent," and it introduces a regression that causes its own outage. Fix: Keep the safety checks (automated tests, a scan gate confirming the CVE is actually resolved) in the expedited path; remove only the non-safety delay (release-train batching, staged rollout wait windows), which is usually the larger time cost anyway.

  • Symptom: After patching, nobody checks whether the vulnerability was actually exploited during the exposure window, and a since-established attacker foothold goes unnoticed for months. Fix: Make "review logs for exploitation indicators during the exposure window" a mandatory step in the playbook, every time, regardless of how quickly the patch was applied.

  • Symptom: One legacy system can't be patched immediately (a vendor dependency, a system slated for decommission), and it's quietly left vulnerable with no record, discovered by an auditor months later. Fix: Route any system that can't be immediately remediated through the formal, expiring exception process in security-gate-exception-management rather than an informal, undocumented "we'll get to it."

Worked example

Scenario (illustrative, modeled on the real Log4Shell pattern but using a placeholder CVE identifier): A critical, actively-exploited remote-code-execution vulnerability, CVE-2021-EXAMPLE-RCE, is disclosed in a widely-used logging library, with a vendor-published interim mitigation (an environment variable) and a patched version released the same day.

  1. Declare and scope (T+0 to T+1h): Incident commander assigned per standard incident process. Advisory reviewed: affects versions 2.0-2.14.x; interim mitigation available (env var); patched version 2.15.0 released.

  2. Fleet exposure scan (T+1h to T+3h):

    bash
    trivy image --severity CRITICAL --vuln-type library myorg/*:latest \
      2>&1 | grep -i "log4j"
    grep -rl "log4j-core" sbom-inventory/*.json

    Result: 14 services affected across production and staging; 2 of the 14 are internet-facing.

  3. Immediate mitigation (T+3h to T+5h): Deploy the environment variable mitigation to all 14 services via the existing config pipeline (no rebuild required):

    bash
    for svc in $(cat affected-services.txt); do
      kubectl set env deployment/"$svc" LOG4J_FORMAT_MSG_NO_LOOKUPS=true -n prod
    done

    Verified active on each running pod via kubectl exec ... -- env | grep LOG4J_FORMAT_MSG_NO_LOOKUPS.

  4. Full patch (T+5h to T+18h): Emergency CI run bumps log4j-core to 2.15.0 for all 14 services, runs full test suite, confirms via trivy image that the CVE no longer appears, and deploys through the expedited emergency-change path with the two internet-facing services prioritized first.

  5. Exploitation check (in parallel, T+3h onward): Access logs and WAF logs for the two internet-facing services are searched for known indicator patterns over the disclosure-to-mitigation window; no matches found, documented in the incident record.

  6. Closeout: Written incident record lists all 14 affected services, mitigation and patch timestamps per service, verification scan output, and confirmation of no exploitation evidence found. Time metrics (declare-to-mitigate: 5h; declare-to-full-patch: 18h) logged into security-posture-metrics-and-trend-analysis for trend tracking across future emergency events.

Cross-references

Câu hỏi thường gặp

Kỹ năng AI Critical Vulnerability Emergency Response làm được gì?

Guides the accelerated, out-of-band response when a critical CVE is publicly disclosed in a widely-used dependency, library, or platform component — rapid exposure assessment across the fleet, patch or temporary mitigation, verification, and closeout. Use when the user says "a critical CVE just dropped in X", "we need to check if we're affected by CVE-YYYY-NNNNN", "log4shell-style emergency patching", "zero-day just disclosed in our dependency", or "run an emergency vulnerability response". Distinct from the steady-state finding-queue management in security-finding-backlog-triage — this is...

Vì sao nên dùng Critical Vulnerability Emergency Response trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Critical Vulnerability Emergency Response là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Critical Vulnerability Emergency Response trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/selvarajmurugesan90/ops-engineering-skills/tree/main/plugins/devsecops/skills/critical-vulnerability-emergency-response. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Critical Vulnerability Emergency Response?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Critical Vulnerability Emergency Response với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Critical Vulnerability Emergency Response với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Critical Vulnerability Emergency Response có miễn phí không?

Có. Kỹ năng này được selvarajmurugesan90 phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇