Skip to content
Development
Skill

/preserve-security-evidence

Preserve security evidence before analysis, containment, or remediation changes it. Use for artifacts, volatile host state, vulnerability validation, records, logs, screenshots, commands, hashes, timelines, and reproducible handoffs.

From plugin
socket
7200 skills5 MCP
Install
$ npx -y skills add gaelic-ghost/socket --skill preserve-security-evidence --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/preserve-security-evidence

Context preview

The summary Claude sees to decide when to auto-load this skill.

Preserve security evidence before analysis, containment, or remediation changes it. Use for artifacts, volatile host state, vulnerability validation, records, logs, screenshots, commands, hashes, timelines, and reproducible handoffs.

SKILL.md

preserve-security-evidence.SKILL.md
name: preserve-security-evidence
description: Preserve security evidence before analysis, containment, or remediation changes it. Use for artifacts, volatile host state, vulnerability validation, records, logs, screenshots, commands, hashes, timelines, and reproducible handoffs.

Preserve Security Evidence

Overview

Create a reproducible security record while keeping originals and observations distinct from transformed working material. Prioritize volatile evidence when delay would erase it, but state when urgent harm reduction must take precedence.

Read [references/security-record.md](references/security-record.md) for the shared record and transformation shapes.

Workflow

1. Define the question and evidence owner.

  • Record the affected person/system, requested decision, acquisition source, time, and analyst.
  • Record authorization and disclosure limits when they matter.

2. Separate original and working material.

  • Avoid opening active content during preservation.
  • Copy artifacts into a clearly named working area when analysis requires mutation.
  • Record every extraction, decoding, re-sign, patch, conversion, or replay as a transformation that creates a new artifact identity.

3. Capture stable identity.

  • Record paths or logical identifiers, sizes, timestamps, cryptographic hashes, versions, bundle/package identifiers, UUIDs, signer identity, and source URLs when applicable.
  • Record tool name, version, command, configuration, and environment for consequential observations.

4. Prioritize volatile state.

  • Capture time, logged-in users, processes and ancestry, open files, network state, relevant memory or runtime telemetry, and transient logs only when authorized and proportionate.
  • Do not collect unrelated personal or secret data merely because access is available.

5. Maintain evidence quality.

  • Store observations, external intelligence, hypotheses, conclusions, and disproven hypotheses separately.
  • Preserve raw output alongside summaries when safe.
  • Mark missing data, collection failures, time skew, incomplete coverage, and evidence destroyed by containment.

6. Produce a handoff.

  • State which inputs are originals, which are working copies, what changed, and which next workflow should consume them.

Guardrails

  • Do not call ordinary engineering notes a legally sufficient chain of custody.
  • Do not upload evidence to a third party without explicit approval and a data-egress explanation.
  • Do not overwrite an original with a cleaned, extracted, or transformed copy.
Read more
Ships withsocket

Stuff for Agents on macOS Promo audio: Socket Codex Marketplace Promo

Get the whole plugin

Other skills on socket.