Join our Newsletter — 33% off our NHI Course

What are the key third-party software risk best practices?

Key third-party software risk best practices are to inventory every external component, classify critical dependencies, and verify their provenance before use. Teams should enforce approval for new suppliers, monitor for vulnerabilities and malicious updates, limit privileges granted to third-party code, and maintain an exit plan for replacing unsupported or compromised software.

What to look for before you rely on third-party software

Third-party software risk starts with knowing exactly what is inside your environment and what it depends on. The practical question is not just whether a component is popular, but whether you can account for its origin, update path, support status, and trust boundary. For software supply chain controls, a strong baseline is to treat dependency inventory and provenance as first-order security requirements, not documentation tasks.

Software Supply Chain Security Guide is the right starting point when you need the broader control set around source, build, dependency, and update integrity. That matters because third-party risk often enters through ordinary procurement and release workflows, then becomes hard to unwind once the software is embedded in production systems.

A good inventory should distinguish direct dependencies from transitive ones, and it should mark which components are business-critical, internet-facing, or difficult to replace. That classification lets teams decide where provenance checks, approval gates, and monitoring should be strictest. It also reduces the common failure mode where an organisation knows it uses a library, but not which product, team, or service still relies on it.

SLSA is useful here because build provenance is part of third-party software trust, not a separate concern. If you cannot establish how a package was built or updated, you are forced to trust the maintainer, hosting path, and release process all at once.

How to reduce exposure from suppliers, updates, and code permissions

The most effective controls target the points where trusted software can be altered or over-authorised. That means approving new suppliers before adoption, watching for malicious or unexpected updates, and limiting what third-party code can access once it is deployed. The practical goal is to make an update or integration failure containable, rather than turning it into a broad internal compromise.

Third-party software should not receive broad network, filesystem, cloud, or data-plane privileges by default. If a component only needs read access to one service or one dataset, giving it more access increases the blast radius of a compromised release, stolen token, or poisoned dependency. The same principle applies to plugins, agents, SDKs, and CI components that can execute with inherited trust.

OWASP Non-Human Identity Top 10 is directly relevant when third-party software uses credentials, tokens, or keys to operate in your environment. It helps frame the risk of overprivileged software, long-lived secrets, and unsafe third-party integrations as identity and access problems, not just vendor issues.

SaaS-to-SaaS and OAuth App Governance Guide is a practical companion when the third party connects through OAuth consent, scopes, or token-based access. Those integrations often look low-friction at onboarding time, then become difficult to govern when scopes expand or the vendor relationship changes.

What to do when a dependency is outdated, compromised, or hard to replace

Third-party software risk is not solved at procurement time. Teams need a standing process for vulnerability monitoring, emergency revocation, and exit planning so that unsupported or compromised software can be removed without improvising under pressure. If a supplier stops maintaining a component, the risk is no longer theoretical, it becomes an operational dependency problem.

Unsupported software is especially dangerous when it sits in authentication paths, build pipelines, or privileged administration workflows. In those cases, a vulnerable package can become a persistence point, an access path, or a way to reach secrets that are otherwise protected. A replacement plan should therefore include both technical migration work and the governance decision about when the old component must be cut off.

LiteLLM PyPI package breach illustrates why package trust and credential exposure have to be managed together, especially when software installation itself becomes the attack path. reviewdog Action compromise 2025 shows the same pattern in CI and automation, where a poisoned dependency can expose secrets long before a team notices the update was malicious.

Risk and Threat Considerations

Third-party software risk becomes material when trust is concentrated in a supplier, package, or update channel that can change outside your control. The main exposure is not only known vulnerabilities, but also malicious updates, account compromise, and hidden dependency reuse that can propagate quickly across many systems.

Failure mechanism: Attackers or compromised maintainers abuse the software distribution path, then use the trusted component to deliver malicious code, steal tokens, or broaden access inside the environment.

Impact: The result can be data theft, credential exposure, service disruption, or a supply-chain compromise that affects multiple applications at once.

Standards & Framework Alignment

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

OWASP Non-Human Identity Top 10 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 and OWASP ASVS set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
OWASP Non-Human Identity Top 10 NHI-03 — Vulnerable Third-Party NHI Third-party software often arrives with credentialed integrations and supplier-managed access.
NHI-05 — Overprivileged NHI Third-party code risk often becomes privilege risk when components get excess access.
NHI-07 — Long-Lived Secrets Third-party software commonly depends on tokens, keys, and certificates that need rotation.
Recommendation — Review supplier integrations and revoke or isolate third-party access paths that are no longer trusted. Restrict each third-party component to the minimum permissions needed for its function. Rotate exposed or stale third-party credentials and eliminate long-lived secrets where possible.
NIST SP 800-53 Rev 5 SA-15 — Development Process, Standards, and Tools Supplier software risk depends on controlled acquisition, provenance, and acceptance practices.
SR-3 — Supply Chain Controls and Processes Third-party software best practices are a supply chain control problem.
SI-2 — Flaw Remediation Dependency vulnerabilities and malicious updates require active patch and remediation handling.
Recommendation — Apply supplier acceptance criteria that require provenance and security review before use. Maintain supply chain controls that require approved sourcing, monitoring, and response to supplier risk. Track third-party flaws and remediate or replace affected components before exposure grows.
OWASP ASVS V15 — Secure Development and Architecture Third-party software risk includes dependency integrity, trust boundaries, and secure integration design.
V11 — Cryptography Provenance, signing, and integrity checks are central to trusting external software artifacts.
Recommendation — Design integrations so third-party components cannot exceed their intended trust boundaries. Verify signatures and integrity for third-party artifacts before allowing deployment.

Practitioner Guidance

What to prioritise: Start with the dependencies that can authenticate, deploy, administer, or reach sensitive data. Those are the components where one compromise creates the largest downstream blast radius.

What to verify: Confirm that each critical third-party component has an owner, a known source, an approval path, and a revocation or replacement plan. If any of those are missing, the risk is not well controlled yet.

Practitioner takeaway: The core judgement is to treat third-party software as a governed trust relationship, not just a technical dependency, because provenance, privilege, and replaceability determine how much damage one compromise can do.