Join our Newsletter — 33% off our NHI Course
Home FAQ Cyber Security What do teams get wrong about auditing third-party…
Cyber Security

What do teams get wrong about auditing third-party dependencies as a defence against supply chain attacks?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated September 18, 2026 Domain: Cyber Security

Teams often assume a one-time audit, freezing versions, or manually reviewing packages is enough. In practice, that approach misses hidden vulnerabilities, malicious packages, and changes over time across large dependency estates. It also does not address the separate risk of package name confusion between internal and public repositories.

Why dependency audits are a weak defence by themselves

Auditing third-party dependencies is useful, but only as a point-in-time control. A clean audit does not mean the package will stay clean, because new vulnerabilities, maintainer compromise, dependency drift, and malicious updates can arrive after the review. It also says little about transitive packages, build integrity, or whether a dependency was trusted for the right reason in the first place.

That is why supply chain defence has to treat dependency review as one input into a broader assurance model, not as a substitute for continuous detection and provenance checks. Teams that stop at “we reviewed it once” usually miss the fact that software supply chain risk changes with every release, repository event, and maintainer action.

Large ecosystems make the problem worse because the attack surface is not limited to the packages a team intentionally imports. Transitive dependencies can introduce hidden risk, and a package that was harmless yesterday can become unsafe tomorrow if its maintainer account is hijacked, its publishing process is altered, or a dependency relationship changes upstream.

For a broader supply-chain lens, NIST SSDF and SLSA both reinforce that integrity depends on build and provenance controls, not just package inspection. The same is true in ecosystem guidance from OpenSSF, which focuses on the conditions that make dependency trust sustainable over time.

What teams commonly overlook about package review

The biggest mistake is confusing manual review with ongoing assurance. Teams often check for obvious malware, known CVEs, or license issues, then assume the dependency estate is “covered”. In practice, that misses version churn, dependency substitution, abandoned maintainers, and changes in publishing behaviour that can invalidate an earlier decision.

Another common blind spot is transitive depth. A package can be clean at the top level and still inherit risk from nested dependencies that are rarely inspected with the same rigour. That matters because attackers often target the less visible layers of the ecosystem, where review is weaker and trust is inherited mechanically.

Package name confusion is a separate failure mode. A team can audit the intended internal package and still be exposed if a public package with a similar name is pulled into a build, a developer typos a reference, or a repository search returns the wrong artifact. This is not a versioning problem, it is a trust-boundary problem between internal and public registries.

Incident-driven guidance from CISA cyber threat advisories and the ENISA Threat Landscape repeatedly shows supply-chain compromise is about abuse of trust, not just malicious code in a single package. That is why identity, maintainer trust, and package provenance are as important as static package content.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0GV.SC-1 — Cyber Supply Chain Risk ManagementDirectly addresses third-party and software supply chain trust decisions.
Recommendation — Track supplier and dependency trust continuously, not only at initial approval.
CIS Controls v815 — Service Provider ManagementCovers risks introduced by third-party dependencies and external providers.
16 — Application Software SecurityApplies to secure handling of software components and dependency integrity.
Recommendation — Review and monitor third-party dependency risk throughout the relationship. Validate software components and update controls for dependency changes over time.
MITRE ATT&CKT1195 — Supply Chain CompromiseMaps directly to adversary abuse of trusted software distribution paths.
T1552 — Unsecured CredentialsRelevant because dependency attacks often exploit leaked secrets or stolen maintainer access.
Recommendation — Hunt for compromised packages, build paths, and malicious dependency insertion. Protect maintainer and build credentials to reduce package publishing abuse.
OWASP Non-Human Identity Top 10NHI-01 — Secrets and Credential ManagementThird-party package trust often breaks when publishing or build secrets are exposed.
NHI-05 — Third-Party and Supply Chain RiskDirectly covers risk from external packages, maintainers, and dependency trust chains.
Recommendation — Rotate and protect package-publishing and CI credentials used in dependency workflows. Assess external dependencies for provenance, maintainer trust, and downstream blast radius.

Practitioner Guidance

What to prioritise: Treat dependency auditing as a control for change review, not as the control for supply chain assurance. The more important question is whether your pipeline can detect when a dependency’s trust state changes after the audit.

What to verify: Verify provenance, publisher identity, repository source, and transitive dependency resolution, then confirm the build process cannot silently swap an internal package for a public lookalike. If you cannot prove where the artifact came from, the audit result is incomplete even if the package contents looked acceptable.

Common mistake: Freezing versions and calling the job done creates a false sense of safety. Version pinning may reduce drift, but it does not eliminate malicious re-publication, maintainer compromise, or internal package confusion, so it should be paired with monitoring and controlled release paths.

Practitioner takeaway: The right defence is continuous trust verification across the dependency lifecycle, with provenance and namespace controls closing the gaps that a one-time audit cannot see.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

    NHIMG Editorial Note
    Reviewed and updated by the NHIMG editorial team on September 18, 2026.
    NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org