Code audit
Dependency hygiene
Enji Guard checks how your project gets and installs dependencies and where they add risk.
What did the dependency hygiene audit find?
Connecting to Enji Guard via MCP…
Reading the dependency hygiene audit…
Worked 4 s · Enji Guard via MCP ›
Score 83/100 — healthy. 2 findings:
- High riskInstall hooks can read the release signing key
- Low riskLocal editor bundles unused test fixtures
Fix them.
Moving signing out of the install job…
Running a clean install and build…
Worked 38 s ›
Done. Both fixed and checked:
- Only reviewed install hooks run; signing is separate
- Unused fixtures removed from the editor bundle
Install and build pass. Ready for review.
What the audit checks
Nine areas, from the dependency inventory to verified alerts.
Dependency inventory
Where manifests, build files and CI bring in dependencies.
Repeatable installs
Whether installs select the same direct and transitive versions.
Known vulnerabilities
Which resolved versions are affected and where they are used.
Runtime, dev and test scopes
Which packages ship with the app and which serve dev or testing.
Package sources and controls
Where packages come from and how approved sources are enforced.
Install scripts
What restricts install scripts and what access they have.
Dependency footprint
Which unused or redundant packages bloat installs or builds.
Managed exceptions
Which risks have been explicitly accepted and on what terms.
Verify and group alerts
Which alerts are confirmed and which share a cause.
From manifest to usage
What a report can find at each step
Manifest
List declared packages and their dependency scopes.
Version resolution
Match direct and transitive versions to the lockfile.
Package source
Trace the registry, mirror or other source used by the build.
Install and build
Check what restricts install hooks and what access they have.
Usage in code
Locate imports and determine where they run.
What's in the report
- A 0–100 score
- Findings linked to packages, versions and source files
- Scope — what was checked and what wasn't
What the audit is not
- Does not install or update project dependencies
- Does not run package hooks or project builds
- Does not flag missing automatic updates on its own
Connect a repository
GitHub or GitLab. The audit doesn't change your code.
Enji Guard