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
9200 skills5 MCP

Claude Code

$ npx -y skills add gaelic-ghost/socket --skill preserve-security-evidence --agent claude-code

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
@gaelic-ghost
Ships withsocket

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

9200 skills5 MCP
Get the whole plugin

Stars on GitHub

Momentum

stars in total
9
Star history of gaelic-ghost/socket on GitHub, a chart by star-history.com

Other skills on socket.

orchestrate-agent-work

orchestrate-agent-work

Coordinate bounded worker tasks with a launch envelope, report-back, escalation, and synthesis contract. Use before spawning,…

@gaelic-ghost@gaelic-ghostInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc12d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react1d252k
@facebook@facebookInstall Skill

Questions about preserve-security-evidence.

Which coding agents can use preserve-security-evidence?
preserve-security-evidence installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.