A transitive dependency is a package your software uses indirectly, because one of your direct dependencies depends on it. If your project uses package A and A uses package B, then B is a transitive dependency of your project, even though you never chose it.

It matters because most of the code in a modern application comes this way. A project with a small number of direct dependencies can include hundreds of indirect ones, and a vulnerability or a malicious change in any of them can affect you without appearing in your own list.

They are harder to manage because you do not control them directly. Updating one may require updating the package that brings it in, and tools differ in how they show the chain. A lockfile records them, and an SBOM should list them, but counts of how many exist depend on how they are measured.

To keep track, review the full dependency tree and not only the direct list, use tools that report vulnerabilities in indirect packages and prefer dependencies that are well maintained and keep their own dependencies few.