/forensics:evidence-preservationfrom forensics
Guides forensic examiners through RFC 3227 evidence preservation: volatile-first collection ordering, SHA-256 hash verification, chain of custody documentation, and evidence packaging for legal handoff.
Ships in forensics. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Implements evidence preservation procedures aligned with RFC 3227 (Guidelines for Evidence Collection and Archiving) and NIST SP 800-86. Guides examiners through volatile-first collection ordering, cryptographic verification of all evidence items, chain of custody documentation, and evidence packaging for storage or legal handoff.
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
Evidence that cannot be authenticated is evidence that cannot be used. Without documented chain of custody, opposing counsel can challenge whether evidence was tampered with between collection and presentation. This skill enforces RFC 3227 collection ordering, generates cryptographic hashes at collection time, and produces legally defensible custody documentation.
For a pull-request investigation, ingest the exact-head receipt described in
docs/security/pr-evidence-receipts.md with its source blobs. Verify each
evidenceManifest SHA-256, record omissions and actionTrail in custody notes,
and keep scope triage separate from attack attribution. A partial PR receipt
is evidence of incomplete collection, not evidence of compromise.
When triggered, this skill:
Initialize case record:
<case-id>-<YYYYMMDD>-<random4>.aiwg/forensics/evidence/<package-id>/custody.logApply RFC 3227 collection ordering (most volatile first):
Volatile data collection:
date -u and compare against NTP sourceps auxwwwss -anp or netstat -anparp -n or ip neigh showip route showip addr showmountlsof -n 2>/dev/nullDisk image acquisition guidance:
dc3dd, ddrescue) before imagingdc3dd if=/dev/sda hash=sha256 hof=evidence.dd log=acquisition.log
Log file collection:
cp -p or rsync -asha256sum /var/log/auth.log > /var/log/auth.log.sha256
Cloud evidence collection (when cloud resources are in scope):
cloud/ subdirectory. Custody-log each item.Container evidence collection (when containers are in scope):
docker logs <container_id> > /evidence/containers/<container_id>-logs.txt
docker export <container_id> > /evidence/containers/<container_id>-filesystem.tar
docker inspect <container_id> > /evidence/containers/<container_id>-inspect.json
containers/ subdirectory. Custody-log each item.Hash verification procedure:
find .aiwg/forensics/evidence/<package-id>/ -type f -not -name '*.sha256' | \
xargs sha256sum > .aiwg/forensics/evidence/<package-id>/manifest.sha256
Chain of custody documentation:
Evidence packaging:
tar czf - .aiwg/forensics/evidence/<package-id>/ | \
gpg --symmetric --cipher-algo AES256 -o <package-id>.tar.gz.gpg
.aiwg/forensics/evidence/<package-id>/custody.log.aiwg/forensics/evidence/<package-id>/manifest.sha256.aiwg/forensics/evidence/<package-id>/collection-notes.md.aiwg/forensics/reports/<package-id>-custody-report.mdpreserve evidence
Initializes case record and guides through collection.
chain of custody transfer --to "Jane Smith, Legal" --method "encrypted email"
package evidence <package-id>
.aiwg/forensics/evidence/<package-id>/custody.log.aiwg/forensics/evidence/<package-id>/manifest.sha256.aiwg/forensics/evidence/<package-id>/collection-notes.md.aiwg/forensics/reports/<package-id>-custody-report.mdevidence_preservation:
hash_algorithm: sha256
collection_order: rfc3227
encrypt_packages: true
encryption_cipher: AES256
timestamp_format: ISO8601
volatile_collection_window_seconds: 60
require_write_blocker_confirmation: true
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub jmagly/aiwg --plugin forensics21 skills in this plugin
/cloud-forensicsAWS, Azure, and GCP forensic investigation covering audit logs, IAM review, storage access, network flows, and compute instance forensics/container-forensicsForensic investigation of Docker, containerd/CRI-O, and Kubernetes — inventory, escape detection, eBPF runtime monitoring, RBAC and etcd audit. Use when investigating container compromise./exposure-analysisRead-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.Other plugins' skills for the same job