responding-to-incidents

responding-to-incidents is a skill for Claude Code, Codex from EvilFreelancer/secs. It costs 74 tokens per session (3,870 once invoked), scanned D, a copy of responding-to-incidents, Apache-2.0.

A process for investigating a suspected or confirmed digital compromise. Digital forensics examines devices, memory, and logs to determine what happened, when it happened, and how far the attacker reached.

In plain words
What is it for?
Use it to analyze disk or memory images and logs, reconstruct attacker activity, measure the affected area, guide containment and removal, and write postmortems or incident reports.
Why use it?
During an incident, teams need to know whether an attacker is still present and which systems or accounts were affected. Structured evidence collection and timeline building support containment, recovery, and clear reporting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

Good fit Use it to analyze disk or memory images and logs, reconstruct attacker activity, measure the affected area, guide containment and removal, and write postmortems or incident reports.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/evilfreelancer/secs/responding-to-incidents
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add EvilFreelancer/secs --skill responding-to-incidents
Clone the repo
git clone --depth 1 https://github.com/EvilFreelancer/secs

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for responding-to-incidents

README.md
[![agentmods](https://agentmods.dev/badge/skills/evilfreelancer/secs/responding-to-incidents/github.svg)](https://agentmods.dev/skills/evilfreelancer/secs/responding-to-incidents)
Your own site
<a href="https://agentmods.dev/skills/evilfreelancer/secs/responding-to-incidents"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/responding-to-incidents/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for responding-to-incidents

Your own site · 80×15
<a href="https://agentmods.dev/skills/evilfreelancer/secs/responding-to-incidents"><img src="https://agentmods.dev/badge/skills/evilfreelancer/secs/responding-to-incidents.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 74 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,870 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00074 $0.03870
Opus 5 $0.00037 $0.01935
Sonnet 5 $0.00015 $0.00774
Haiku 4.5 $0.00007 $0.00387

Measured 10d ago against content hash c80d6e814a2c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade D, and why

responding-to-incidents scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

sudo ./avml mem.lime # or LiME

Reaches for credential fileshighPrivilege escalation

SSH keys, cloud credentials, git-credentials, .npmrc, /etc/shadow: reading these is how a config file becomes a credential leak.

| Lateral movement? | 4624 type 3/10, 4648, 4672, RDP logs, SMB shares | `auth.log`, `wtmp`, `.ssh/authorized_keys`, known_hosts | Same as Linux plus ARD logs |
Origin

This is a copy

100% identical to responding-to-incidents — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agents/skills/responding-to-incidents/SKILL.md · 331 lines

How it starts

The opening of the file, as written. The whole thing — 331 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Responding to Incidents

Two questions drive every incident: how far did they get, and are they still here. Everything else — the malware, the CVE, the root cause — is supporting detail. Answer those two in order and the response follows.

When to Use

  • Suspected or confirmed compromise of a host, account, or cloud tenant
  • Forensic analysis of a disk image, memory capture, or log set
  • Reconstructing what an attacker did and when
  • Scoping blast radius and deciding containment
  • Writing a postmortem or a regulator/customer-facing incident narrative

When NOT to Use

  • Deep analysis of a recovered sample — use analyzing-malware
  • Proactive searching with no known incident — use hunting-threats
  • Deciding whether an alert is even an incident yet — use triaging-security-alerts; response begins once triage confirms a true positive
  • Building the detections that would have caught it — use engineering-detections
  • The incident is in AWS (exposed keys, CloudTrail/GuardDuty) — use investigating-aws-incidents; in Microsoft 365 / Entra — use investigating-m365-entra
  • You have a packet capture to work through — use analyzing-network-traffic
  • Service outages with no security dimension — this is a security IR skill

Route to a Depth Skill

Specific evidence types have their own procedure skill. This skill sets scope and order; reach for these when a single artifact type becomes the focus.

Artifact / focus Skill
A RAM capture to work through with Volatility (injected code, in-memory creds, dead-process connections) analyzing-memory-images
A Microsoft 365 / Entra ID compromise: no disk or memory, only cloud logs (UAL, sign-ins, OAuth grants) investigating-m365-entra
Finding how an attacker persisted on a Linux host — the systematic sweep across every init path hunting-threats

The Order That Matters

Preparation → Detection & Analysis → Containment → Eradication → Recovery → Lessons Learned
                      ↑__________________|
                    (re-scope after every new finding)

Read the full file on GitHub · 331 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 331 lines · 74 tokens per session scan D c80d6e814a2c

Subscribe to this mod's changes

responding-to-incidents is a skill published in the GitHub repository EvilFreelancer/secs (10 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 74 tokens to every session and 3,870 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, reaches for credential files). It is 100% identical to responding-to-incidents, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

analyzing-slack-space-and-file-system-artifacts

Examine file system slack space, MFT entries, USN journal, and alternate data streams to recover hidden data and reconstruct file activity on NTFS volumes.

26zl/cybersec-toolkit · 44 tokens

analyzing-supply-chain-malware-artifacts

Investigate supply chain attack artifacts including trojanized software updates, compromised build pipelines, and sideloaded dependencies to identify intrusion vectors and scope of compromise.

26zl/cybersec-toolkit · 42 tokens

ctf-pwn

Use when solving binary exploitation / pwn CTF challenges — buffer overflows, ROP, format strings, heap, kernel pwn. Provides a decision tree, exploit primitive catalog, and uses pwntools via the runscript(venv="pwntools") MCP path. Triggers on "ctf pwn", "binary exploit", "rop", "buffer overflow", "format string"…

26zl/cybersec-toolkit · 90 tokens

ctf-rev

Use when solving a CTF reverse engineering challenge — stripped binaries, packed binaries, anti-debug, custom VMs, .NET/Java decomp, Android dex, obfuscated JS, ELF/PE/Mach-O analysis. Provides workflow and tool ordering from the reversing module. Triggers on "ctf rev", "reversing", "reverse engineer", "decompile"…

26zl/cybersec-toolkit · 86 tokens

deobfuscating-powershell-obfuscated-malware

Systematically deobfuscate multi-layer PowerShell malware using AST analysis, dynamic tracing, and tools like PSDecode and PowerDecode to reveal hidden payloads and C2 infrastructure.

26zl/cybersec-toolkit · 48 tokens

analyzing-linux-elf-malware

Analyzes malicious Linux ELF (Executable and Linkable Format) binaries including botnets, cryptominers, ransomware, and rootkits targeting Linux servers, containers, and cloud infrastructure. Covers static analysis, dynamic tracing, and reverse engineering of x8664 and ARM ELF samples. Activates for requests involving…

26zl/cybersec-toolkit · 88 tokens