Browse documentation

How the dependency vulnerability audit works

Understand which known advisories apply to resolved dependencies and how the audit evaluates exposure.

Audit page Dependency vulnerability audit 

What this audit answers

Dependency Vulnerabilities asks which known advisories affect the dependency versions actually used by the project. It considers production, build and development exposure so the same upstream advisory can have different consequences across repositories.

What Enji Guard inspects

Enji Guard starts with manifests, lockfiles, workspace roots and resolved dependency graphs. It accounts for direct and transitive packages, relevant runtimes and toolchains, and patched or vendored forks. Six diagnostic areas guide the assessment.

  • Dependency resolution coverage identifies which versions the project resolves.
  • Current advisory evidence records available advisory sources and how current the data is.
  • Affected-version applicability matches the exact package and version to affected ranges, patches and relevant features.
  • Exposure and safeguards checks the usage context and conditions that shape practical impact.
  • Remedy feasibility looks for a compatible, supported fix and any constraints in the dependency chain.
  • Residual risk and verification covers remaining affected paths and focused checks after a change.

How evidence becomes findings

An affected version can warrant a finding when exposure is plausible and call reachability remains uncertain. Enji Guard records the uncertainty. A scanner match with source-backed evidence of an effective patch, safeguard or absent prerequisite can remain visible as Info. Advisory aliases and repeated paths to one cause count once.

Critical requires exceptional, supported broad compromise. High covers a materially vulnerable production or privileged build path with realistic prerequisites. Medium covers a bounded plausible effect or meaningful uncertainty about a relevant feature in an affected version. Low covers minor supported impact. The upstream severity is one input to the project-specific assessment.

What the report includes

Findings identify the package, resolved version, dependency paths, advisory ID and source, affected range, and the evidence for applicability. The report records when advisory evidence was checked, coverage by ecosystem, effective safeguards, fix availability and recommendations.

How the score works

Enji Guard calculates scores the same way across audits. The score starts at 100. Each distinct, evidence-supported finding deducts 25 points for Critical, 14 for High, 7 for Medium, or 3 for Low. Info deducts zero. The result stays within 0–100 and cannot exceed 69 when there is at least one Critical or at least two High findings. Diagnostic criteria do not contribute points to this calculation.

Limitations and boundaries

The read-only audit does not install project dependencies, run the application or test a live system. Missing tools, inaccessible sources and unresolved versions limit coverage. An empty result has meaning only for adequately assessed dependency graphs. The audit is not applicable when the project has no third-party dependency or relevant runtime or toolchain to assess. Maintenance and migration planning belong to the Dependency Aging audit.

Review and rerun

Check the proposed target version and any parent dependency that constrains it. Rerun after changing the dependency graph and verify the resolved version. New advisory information can change results even when the checked commit is the same.