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
|
|
|
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. |
|
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, invisible-Unicode instruction smuggling, and honeytoken access.
|
Injection-surface detections (plan Β§14): prompt-injection indicators, 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). |
|
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. |
|
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. |
|
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/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. |
|
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. |
|
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). |
|
simulate
Package simulate generates synthetic incident scenarios β adversary emulation for AI agents.
|
Package simulate generates synthetic incident scenarios β adversary emulation for AI agents. |
|
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). |
|
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.