Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
agentdfir
command
agentdfir — open-source digital forensics and incident response for AI agents.
|
agentdfir — open-source digital forensics and incident response for AI agents. |
|
internal
|
|
|
analysis
Package analysis is the one place a package gets analyzed.
|
Package analysis is the one place a package gets analyzed. |
|
baseline
Package baseline implements org known-good profiles and package diffing — the deterministic mechanism behind every *_CHANGED and UNEXPECTED_* detection ("unexpected relative to what?").
|
Package baseline implements org known-good profiles and package diffing — the deterministic mechanism behind every *_CHANGED and UNEXPECTED_* detection ("unexpected relative to what?"). |
|
casepkg
Package casepkg implements the sealed zone of the .adfir evidence package: content-addressed artifact storage, manifest, hash-chained collection and custody logs, and SHA256SUMS sealing/verification.
|
Package casepkg implements the sealed zone of the .adfir evidence package: content-addressed artifact storage, manifest, hash-chained collection and custody logs, and SHA256SUMS sealing/verification. |
|
catalog
Package catalog is the single machine-readable index of every built-in detection rule AgentDFIR can emit, with its MITRE ATT&CK / ATLAS mapping.
|
Package catalog is the single machine-readable index of every built-in detection rule AgentDFIR can emit, with its MITRE ATT&CK / ATLAS mapping. |
|
chain
Package chain detects toxic combinations: ordered sequences of events inside one session (or one agent's lineage) that are individually unremarkable or already flagged, but together tell the story of an attack — untrusted content came in, the agent's own instructions changed, a shell ran, a secret left the host.
|
Package chain detects toxic combinations: ordered sequences of events inside one session (or one agent's lineage) that are individually unremarkable or already flagged, but together tell the story of an attack — untrusted content came in, the agent's own instructions changed, a shell ran, a secret left the host. |
|
cli
Package cli wires the agentdfir subcommands.
|
Package cli wires the agentdfir subcommands. |
|
collector
Package collector implements manifest-driven forensic acquisition.
|
Package collector implements manifest-driven forensic acquisition. |
|
correlate
Package correlate raises agent-reported/observed activity to corroborated (or contradicted) by comparing it against independent endpoint evidence (plan §16).
|
Package correlate raises agent-reported/observed activity to corroborated (or contradicted) by comparing it against independent endpoint evidence (plan §16). |
|
detect
Injection-surface detections (plan §14): prompt-injection indicators, context/tool poisoning, invisible-Unicode instruction smuggling, and honeytoken access.
|
Injection-surface detections (plan §14): prompt-injection indicators, context/tool poisoning, invisible-Unicode instruction smuggling, and honeytoken access. |
|
encrypt
Package encrypt provides full-package encryption for .adfir packages (plan §19).
|
Package encrypt provides full-package encryption for .adfir packages (plan §19). |
|
endpoint
Package endpoint loads independent operating-system telemetry — the second witness for what an agent did on a machine.
|
Package endpoint loads independent operating-system telemetry — the second witness for what an agent did on a machine. |
|
export
Package export renders normalized findings and events into interoperability formats: STIX 2.1 bundles and OpenTelemetry (GenAI/agent semantic conventions).
|
Package export renders normalized findings and events into interoperability formats: STIX 2.1 bundles and OpenTelemetry (GenAI/agent semantic conventions). |
|
hashchain
Package hashchain implements tamper-evident, hash-chained JSONL logs.
|
Package hashchain implements tamper-evident, hash-chained JSONL logs. |
|
live
Package live acquires volatile evidence in RFC 3227 order of volatility (plan §6): clock state first, then logged-in users, running processes, and network state.
|
Package live acquires volatile evidence in RFC 3227 order of volatility (plan §6): clock state first, then logged-in users, running processes, and network state. |
|
mcpaudit
Package mcpaudit inventories every MCP server an agent host is configured to load and raises supply-chain / configuration findings.
|
Package mcpaudit inventories every MCP server an agent host is configured to load and raises supply-chain / configuration findings. |
|
netdest
Package netdest extracts network destinations from agent-invoked shell commands so timeline, exports and detections can reason about where an agent reached out to.
|
Package netdest extracts network destinations from agent-invoked shell commands so timeline, exports and detections can reason about where an agent reached out to. |
|
normalize
Package normalize runs every registered parser over a sealed package and merges their output into one schema.Normalized result.
|
Package normalize runs every registered parser over a sealed package and merges their output into one schema.Normalized result. |
|
notes
Package notes is the analyst's case file: verdicts on findings, free-text notes, pinned events and session tags.
|
Package notes is the analyst's case file: verdicts on findings, free-text notes, pinned events and session tags. |
|
parsers/claudejsonl
Package claudejsonl parses Claude Code session transcripts (JSONL) out of a sealed .adfir package into normalized events, entities and relationships.
|
Package claudejsonl parses Claude Code session transcripts (JSONL) out of a sealed .adfir package into normalized events, entities and relationships. |
|
parsers/codexjsonl
Package codexjsonl parses OpenAI Codex CLI rollout transcripts (~/.codex/sessions/**.jsonl) from a sealed .adfir package into the unified schema.
|
Package codexjsonl parses OpenAI Codex CLI rollout transcripts (~/.codex/sessions/**.jsonl) from a sealed .adfir package into the unified schema. |
|
parsers/genericchat
Package genericchat normalizes session evidence from the remaining supported AI agent products — Gemini CLI, Cursor, Copilot CLI, Cline, Roo Code and OpenClaw — into the unified schema.
|
Package genericchat normalizes session evidence from the remaining supported AI agent products — Gemini CLI, Cursor, Copilot CLI, Cline, Roo Code and OpenClaw — into the unified schema. |
|
parsers/linereader
Package linereader reads JSONL transcripts one line at a time with a per-line size bound, recovering past over-long lines instead of aborting.
|
Package linereader reads JSONL transcripts one line at a time with a per-line size bound, recovering past over-long lines instead of aborting. |
|
productpack
Package productpack implements declarative product packs: one signed JSON file that teaches AgentDFIR a new AI agent product — how to detect it, what to collect, and how to normalize its transcripts — with no Go change.
|
Package productpack implements declarative product packs: one signed JSON file that teaches AgentDFIR a new AI agent product — how to detect it, what to collect, and how to normalize its transcripts — with no Go change. |
|
products
Package products embeds the product-knowledge pack: which AI agent products exist, how to detect them, and their collector manifests.
|
Package products embeds the product-knowledge pack: which AI agent products exist, how to detect them, and their collector manifests. |
|
provenance
Package provenance answers "how did this line get here?" for agent instruction, memory and configuration files.
|
Package provenance answers "how did this line get here?" for agent instruction, memory and configuration files. |
|
realtime
Package realtime turns the read-only transcript tail into a live sensor: new lines are normalized by the product's line parser, run through the streaming detection rules, and findings are pushed to alert sinks within one poll interval.
|
Package realtime turns the read-only transcript tail into a live sensor: new lines are normalized by the product's line parser, run through the streaming detection rules, and findings are pushed to alert sinks within one poll interval. |
|
report
Package report renders a case into analyst-facing outputs.
|
Package report renders a case into analyst-facing outputs. |
|
rulepack
Package rulepack implements declarative, shareable detection rules (plan §14, killer feature #4 — Sigma-style shareability).
|
Package rulepack implements declarative, shareable detection rules (plan §14, killer feature #4 — Sigma-style shareability). |
|
sanitize
Package sanitize neutralizes hostile content in evidence-derived strings before they reach a terminal or log.
|
Package sanitize neutralizes hostile content in evidence-derived strings before they reach a terminal or log. |
|
schema
Package schema defines the unified, vendor-neutral agent forensic schema: normalized events, entities and relationships.
|
Package schema defines the unified, vendor-neutral agent forensic schema: normalized events, entities and relationships. |
|
seal
Package seal provides ed25519 detached signatures over a package's SHA256SUMS (plan §7, §19).
|
Package seal provides ed25519 detached signatures over a package's SHA256SUMS (plan §7, §19). |
|
serve
Package serve hosts a local-only, read-only case explorer for one .adfir package: agent tree, timeline with density scrubber, evidence pane with the raw transcript line, findings, topology, and the MCP / provenance / corroboration results when present.
|
Package serve hosts a local-only, read-only case explorer for one .adfir package: agent tree, timeline with density scrubber, evidence pane with the raw transcript line, findings, topology, and the MCP / provenance / corroboration results when present. |
|
simulate
Package simulate generates synthetic incident scenarios — adversary emulation for AI agents.
|
Package simulate generates synthetic incident scenarios — adversary emulation for AI agents. |
|
store
Package store resolves the per-machine AgentDFIR home and implements the blob store shared between cases.
|
Package store resolves the per-machine AgentDFIR home and implements the blob store shared between cases. |
|
supportpkg
Package supportpkg derives a privacy-reduced "support" package from a sealed forensic package (plan §4, §17).
|
Package supportpkg derives a privacy-reduced "support" package from a sealed forensic package (plan §4, §17). |
|
unpack
Package unpack turns containers and archives into a directory tree the import-tree collector understands.
|
Package unpack turns containers and archives into a directory tree the import-tree collector understands. |
|
version
Package version holds build/version identity for the agentdfir binary.
|
Package version holds build/version identity for the agentdfir binary. |
|
watch
Package watch implements live monitoring of agent session directories (killer feature #5): it tails growing transcript files and emits normalized event lines in real time.
|
Package watch implements live monitoring of agent session directories (killer feature #5): it tails growing transcript files and emits normalized event lines in real time. |
Click to show internal directories.
Click to hide internal directories.