Every install leaves a trail
Full audit trail for every package your AI assistant installs
DepCrumbs hooks into Claude Code and logs every dependency installation with version, license, integrity hash, and full dependency tree — automatically.
~ $ depcrumbs setup ✓ Hook configured in ~/.claude/settings.json ✓ Ready to track installations ~ $ npm install express lodash [DepCrumbs] express@4.21.0 — MIT — sha512-abc... [DepCrumbs] lodash@4.17.21 — MIT — sha512-def... Saved to .depcrumbs.json
Supported Package Managers
Ten package managers detected and parsed out of the box.
How It Works
Once set up, DepCrumbs runs silently in the background every time Claude Code installs a package.
One command to set up. DepCrumbs adds a PostToolUse hook to Claude Code that fires after every tool invocation.
Parsers recognize install commands across 10 package managers, extracting package names and flags.
Registry APIs provide license, resolved version, integrity hash, and dependency tree for every package.
Results are saved as JSON or Markdown, per-project and globally, so you always have a complete record.
What Gets Tracked
Each entry in .depcrumbs.json captures the full context of what was installed and why.
{
"timestamp": "2026-04-14T20:15:00.000Z",
"packageManager": "npm",
"command": "npm install express",
"packages": [{
"name": "express",
"resolvedVersion": "4.21.0",
"license": "MIT",
"registryUrl": "https://registry.npmjs.org/express",
"integrityHash": "sha512-...",
"isDirect": true
}]
}
Installation
Choose the method that fits your workflow.
Install directly from the Claude Code marketplace for automatic hook setup and updates.
claude plugin install depcrumbs
Install globally via npm, then run setup to configure the hook manually.
npm install -g depcrumbs && depcrumbs setup
Roadmap
Planned features on the horizon.
Track dependencies across Codex CLI, Warp, and other AI coding assistants.
Generate Software Bill of Materials in CycloneDX and SPDX formats.
Cross-reference installed packages against known CVE databases.
Visual web interface for browsing and exploring dependency history.
Shared audit trails for teams with role-based access control.
Block or warn on packages that violate license or security policies.