How to run a dependency audit that engineers will read

Most dependency audits produce a document that nobody reads past the first page. The output of a package scanner lists every finding in every dependency, direct and transitive, sorted by the scanner's own severity scale. The resulting report has 300 or 400 lines, and the team looks at it, resolves to deal with it next sprint, and forgets about it until the next audit produces a longer report.
The problem is not that scanners find too many things. The problem is that the report is treated as the output of the audit. A scanner produces an inventory. An audit should produce a prioritised list of decisions. These are different artefacts and only the second one leads to any action.
What an audit is actually trying to answer
A dependency audit is trying to answer four questions, in order of importance:
Which known vulnerabilities in our dependencies actually matter for our product. Which dependencies have become risky to depend on, independent of any specific vulnerability. Which licences in our dependency tree are incompatible with how we ship the product. Which dependencies could simply be removed because the cost of carrying them is larger than the value they provide.
Each of these is a different question with different evidence, and a report that mashes them together is harder to act on than a report that separates them. The four-question structure makes it obvious which findings belong in which section, and which actions are available for each.
Which vulnerabilities actually matter
A scanner reports every known vulnerability in every package in the dependency tree, at every severity level. On a typical web application, this is a few hundred findings. On a complex system, more.
The number that actually matters is usually between five and twenty. The rest are findings in code paths that your product does not use, in scenarios that do not apply, or in packages that are present only transitively and would require an attacker to already be inside your system to exploit.
To cut the noise, apply three filters to every finding, in order:
Is the vulnerable code path reachable from any entry point in our product. For a vulnerability in an XML parser, the question is whether the product parses XML at all. If it does not, the finding is in a package you have but a feature you do not use.
Is user-controlled data flowing into the vulnerable code path. A vulnerability triggered only by data the application controls internally is different from one that can be reached by a crafted request from the public internet. Both are worth noting. Only the second is a priority.
Is there a public exploit, or a credible path to one. A known vulnerability without a working exploit is a lower-priority concern than one with a public proof of concept. The CVSS score does not always capture this: a CVSS 9.8 with no exploit path in your product is less urgent than a CVSS 6.5 that is being actively used against similar products.
A finding that answers yes to two or three of these filters is a priority. A finding that answers no to all three can wait for a routine upgrade cycle. This is a rough screen, and it is enough to turn a flat list of 400 findings into a ranked list of twenty.
Which dependencies have become risky
A package can be low-risk today and high-risk a year from now, without any vulnerability being discovered in it. The risk comes from the package's health as a project: whether anyone is still maintaining it, whether the maintainers are responsive, whether new security findings will be fixed if they are reported.
For each direct dependency, check four signals: date of the most recent release, date of the most recent commit to the main branch, number of active maintainers in the past twelve months, and responsiveness to security reports. A package with no release in two years and a single inactive maintainer is a package that will probably not be patched when the next vulnerability is discovered. A package with monthly releases and an active maintainer roster is in a different risk category.
Transitive dependencies matter less for this analysis because they are controlled by their parent. If a direct dependency is in good health, it will presumably upgrade its own transitive dependencies over time. If the direct dependency is unmaintained, its transitives are at double risk.
The output of this analysis is a short list of direct dependencies that look like future problems, with a recommended action for each: upgrade to a maintained fork, replace with an alternative package, or replace with in-house code.
Which licences need attention
A licence audit is often the simplest part of the exercise to execute and the easiest to skip. The scanner outputs a licence for every package in the tree. You compare each against your product's allowed-licence list. Anything not on the list is a finding.
The allowed list depends on the product: an internal tool can accept strong copyleft licences that a hosted commercial product cannot, and an open-source project can accept licences that an embedded product cannot. The point is to have a written list that reflects the product's actual deployment model, and to run the scanner against that list every quarter.
The findings worth attention are: strong copyleft licences (GPL, AGPL) in a commercial product that ships as a service, dependencies with no licence file at all, licences the team has not seen before. The first two are usually a change required. The third is usually a question for whoever on the team is responsible for licence decisions.
For reference on broader software supply chain concerns, see the cost of a dependency you did not choose.
Which dependencies could be removed
The most underused outcome of a dependency audit is removal. Teams spend time deciding whether to upgrade, replace, or patch a dependency, and rarely consider whether the dependency should be there at all.
Three signals suggest a dependency is a candidate for removal: fewer than three direct uses in the codebase, a function that could be replaced with twenty or thirty lines of in-house code, and a size (lines of code, transitive dependency count, or bundle size) that is out of proportion with the value it provides.
A utility library that provides a single function used in two places, but pulls in forty transitive dependencies, is a candidate for removal. The same function reproduced in-house removes the package, removes its transitives, and removes everything that might ever go wrong with any of them. The cost is twenty lines of code the team now maintains.
The audit should produce a short list of removal candidates with the expected effort. On a mature codebase, this list is often between three and eight packages, and acting on it is one of the cheapest sources of codebase improvement available.
The output document
The audit itself should be a short document, one or two pages, that a non-security engineer can read in ten minutes. The structure:
A paragraph of overall state. How many direct dependencies, how many transitives, how many findings in total, how many that matter.
A table of the top ten vulnerability findings, with affected package, severity, whether the vulnerable path is reachable, and the recommended action. One line per finding, with a link to more detail for those who want it.
A short list of risky dependencies, with the reason each is risky and the recommended action.
A list of licence findings, usually two or three items, with the recommended action.
A list of removal candidates, with the expected effort to remove each.
The full scanner output, if it serves any purpose, is an appendix for anyone who wants to review the raw data. It is not the audit.
How the audit becomes action
An audit with no owner becomes a document that lives in a folder and is read once. An audit with an owner becomes a backlog.
Assign each finding to a specific engineer or team, with a target date. For priority findings, the date is short, usually two weeks or less. For routine upgrades, the next scheduled maintenance window. For removals, the next quarter. For decisions that need discussion, a meeting to make the decision.
The audit document should be reviewed at the same frequency as it is produced. Quarterly. At each review, the previous audit's actions are checked: closed, deferred with reason, or still open. An audit with a pile of open items from the previous three quarters is not working.
Preventing the next audit from finding the same things
The best predictor of what the next audit will find is what the current audit found. If the team keeps discovering unmaintained dependencies, the gap is in how dependencies get added, not how they get reviewed.
Make the decision to add a new dependency a reviewable one. A new direct dependency goes through a pull request that includes: why the dependency, what alternatives were considered, the licence, the maintenance status of the project, and the direct and transitive size. Usually three or four sentences. But it means a dependency that gets added has been considered, and the reasoning is in the commit history for the next audit to refer to.
For teams using AI agents to write code, this matters more rather than less. Agents will reach for dependencies as a way to solve problems, often reaching for packages that are badly maintained or unnecessary. A dependency added by an agent still needs a human review of whether it should be there. See the cost of a dependency you did not choose for more on this.
The audit that works
A dependency audit that engineers will read and act on is short, prioritised, and clearly organised around decisions rather than inventory. It answers four questions. It produces a one-page summary of what to do. It assigns owners. It is reviewed at the next scheduled interval to check that the actions happened.
Everything beyond that, including the 400-line scanner output, is supporting material. Teams that confuse the supporting material for the audit itself produce reports nobody reads. Teams that treat the audit as a decision exercise produce codebases that are visibly healthier a year later.


