analyzing-docker-container-forensics

analyzing-docker-container-forensics is a skill for Claude Code from plurigrid/asi. It costs 34 tokens per session (3,131 once invoked), scanned D, a copy of analyzing-docker-container-forensics, MIT.

A digital-forensics guide for investigating Docker containers, which package applications and their dependencies into isolated runtime environments. It examines container images, filesystem layers, volumes, logs, and runtime evidence.

In plain words
What is it for?
Use it to preserve container evidence, inspect images and configurations, investigate container escapes, and scan images for vulnerabilities.
Why use it?
It helps determine what happened after a container or its host was compromised and separates malicious activity from normal application files.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the asi plugin — 56 skills shipped together

Good fit Use it to preserve container evidence, inspect images and configurations, investigate container escapes, and scan images for vulnerabilities.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/plurigrid/asi/analyzing-docker-container-forensics
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 plurigrid/asi --skill analyzing-docker-container-forensics
Clone the repo
git clone --depth 1 https://github.com/plurigrid/asi

Made for: Claude Code.

Or install asi, the plugin that ships this one along with the rest of its 56 skills.

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 analyzing-docker-container-forensics

README.md
[![agentmods](https://agentmods.dev/badge/skills/plurigrid/asi/analyzing-docker-container-forensics.svg)](https://agentmods.dev/skills/plurigrid/asi/analyzing-docker-container-forensics)
Your own site
<a href="https://agentmods.dev/skills/plurigrid/asi/analyzing-docker-container-forensics"><img src="https://agentmods.dev/badge/skills/plurigrid/asi/analyzing-docker-container-forensics.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,131 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% 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.00034 $0.03131
Opus 5 $0.00017 $0.01566
Sonnet 5 $0.00007 $0.00626
Haiku 4.5 $0.00003 $0.00313

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

Security

Grade D, and why

analyzing-docker-container-forensics scanned grade D with 3 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 3d 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 dpkg -i dive_linux_amd64.deb

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.

/root/.ssh/authorized_keys - Modified (unauthorized key added)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

wget https://github.com/wagoodman/dive/releases/latest/download/dive_linux_amd64.deb
Origin

This is a copy

92% identical to analyzing-docker-container-forensics — 22 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.

plugins/asi/skills/analyzing-docker-container-forensics/SKILL.md · 330 lines

How it starts

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

Analyzing Docker Container Forensics

When to Use

  • When investigating a compromised Docker container or container host
  • For analyzing malicious Docker images pulled from registries
  • During incident response involving containerized application breaches
  • When examining container escape attempts or privilege escalation
  • For auditing container configurations and identifying misconfigurations

Prerequisites

  • Docker CLI access on the forensic workstation
  • Access to the Docker host file system (forensic image or live)
  • Understanding of Docker layered file system (overlay2, aufs)
  • dive, docker-explorer, or container-diff for image analysis
  • Knowledge of Docker daemon configuration and socket security
  • Trivy or Grype for vulnerability scanning of container images

Workflow

Step 1: Preserve Container State and Evidence

# List all containers (including stopped)
docker ps -a --no-trunc > /cases/case-2024-001/docker/container_list.txt

# Inspect the compromised container
CONTAINER_ID="abc123def456"
docker inspect $CONTAINER_ID > /cases/case-2024-001/docker/container_inspect.json

# Export container filesystem as tarball (preserves current state)
docker export $CONTAINER_ID > /cases/case-2024-001/docker/container_export.tar

# Create an image from the container's current state
docker commit $CONTAINER_ID forensic-evidence:case-2024-001
docker save forensic-evidence:case-2024-001 > /cases/case-2024-001/docker/container_image.tar

# Capture container logs
docker logs $CONTAINER_ID --timestamps > /cases/case-2024-001/docker/container_logs.txt 2>&1

# Capture running processes (if container is still running)
docker top $CONTAINER_ID > /cases/case-2024-001/docker/container_processes.txt

# Capture network connections
docker exec $CONTAINER_ID netstat -tlnp 2>/dev/null > /cases/case-2024-001/docker/container_network.txt

# Copy specific files from the container
docker cp $CONTAINER_ID:/var/log/ /cases/case-2024-001/docker/container_var_log/
docker cp $CONTAINER_ID:/tmp/ /cases/case-2024-001/docker/container_tmp/
docker cp $CONTAINER_ID:/etc/passwd /cases/case-2024-001/docker/container_passwd

# Hash all exported evidence
sha256sum /cases/case-2024-001/docker/*.tar > /cases/case-2024-001/docker/evidence_hashes.txt

Read the full file on GitHub · 330 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. 3d ago First seen · 330 lines · 34 tokens per session scan D 51f48c860133

Subscribe to this mod's changes

analyzing-docker-container-forensics is a skill published in the GitHub repository plurigrid/asi (62 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 3,131 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, reaches for credential files, makes network calls). It is 92% identical to analyzing-docker-container-forensics, differing in 22 lines, and is treated as a copy.

Related

Other skills, from other repositories

analyzing-docker-container-forensics

Investigate compromised Docker containers by analyzing images, layers, volumes, logs, and runtime artifacts to identify malicious activity and evidence.

mukul975/Anthropic-Cybersecurity-Skills · 34 tokens

analyzing-docker-container-forensics

Use when investigate compromised Docker containers by analyzing images, layers, volumes, logs, and runtime artifacts to identify malicious activity and evidence. Use when working with analyzing docker container forensics.

oyi77/1ai-skills · 45 tokens

analyzing-docker-container-forensics

Investigate compromised Docker containers by analyzing images, layers, volumes, logs, and runtime artifacts to identify malicious activity and evidence.

xalgorix/xalgorix · 34 tokens

analyzing-docker-container-forensics

A procedure for investigating compromised Docker containers by examining their images, filesystem layers, volumes, logs, processes, network connections, and runtime traces. Docker is software that runs applications in isolated containers.

killvxk/cybersecurity-skills-zh · 44 tokens

analyzing-docker-container-forensics

Investigate compromised Docker containers by analyzing images, layers, volumes, logs, and runtime artifacts to identify malicious activity and evidence.

26zl/cybersec-toolkit · 34 tokens

analyzing-docker-container-forensics

Investigate compromised Docker containers by analyzing images, layers, volumes, logs, and runtime artifacts to identify malicious activity and evidence.

pinkpixel-dev/skills-collection-1 · 34 tokens