BACK TO BLOGS Back to Press Releases

Supply chain security lessons and best practices

Written by:

Written by:

Organizations depend on cloud platforms, managed service providers, open-source packages, SaaS integrations, remote management tools, and countless other third-party technologies.

Each dependency can equally introduce risks as well as value.

A supply chain attack compromises a trusted component to reach one or more downstream organizations. Instead of attacking every customer directly, threat actors target a shared dependency and use existing access privilege to bypass defenses.

This makes supply chain security more than a vendor management exercise.  

Questionnaires and security certifications can help organizations assess suppliers, but they cannot guarantee that a trusted product, update, or integration will never be compromised. Organizations also need controls that limit what third-party technology can do after it enters their environment.

What is a supply chain attack?

A supply chain attack exploits the relationship between an organization and an external provider. The initial compromise may affect a software vendor, open-source project, managed service provider, contractor, cloud application, or another organization with access to downstream systems or data.

Common attack paths include:

  • Injecting malicious code into a legitimate software package or update
  • Compromising developer accounts and publishing altered packages
  • Stealing API keys, session cookies, or OAuth tokens
  • Exploiting vulnerable remote monitoring and management tools
  • Tampering with build pipelines or deployment systems
  • Abusing excessive permissions assigned to SaaS integrations
  • Using a compromised vendor account to access customer environments

These attacks are particularly effective because they exploit trust. Software signed by a known vendor may be automatically approved. Integrations may retain access through a long-lived token. A service provider may have administrative permissions across several customer environments.

As the UK National Cyber Security Centre’s collection of supply chain incidents demonstrates, the specific entry points vary, but the underlying pattern remains consistent.  

Compromise one trusted component and use that trust to reach a larger target.

Five supply chain security lessons

Recent incidents offer several practical lessons for organizations trying to reduce their exposure.

1. Trusted software can still perform untrusted actions

Organizations often treat software approval as a binary decision. An application is either trusted and permitted to run or untrusted and blocked.

Supply chain attacks expose the weakness in that approach. A legitimate application can become dangerous after a malicious update, compromised dependency, or altered build process. Because the application retains its trusted name, certificate, or deployment path, traditional security controls may allow it to execute.

Application approval must therefore be paired with behavioral boundaries. A business application may need to access a specific folder or service, but that does not mean it should be allowed to launch PowerShell, read browser credentials, connect to an unknown external server, or modify other applications.

The core question needs to be, “What should approved software be allowed to do?”

2. Open-source dependencies expand the attack surface

Modern applications can contain hundreds or thousands of packages and transitive dependencies. A development team may directly select one library while unknowingly importing many additional required components required by it.

Attackers take advantage of this complexity by compromising maintainer accounts, publishing malicious versions, imitating popular package names, or inserting harmful code into dependencies. Automated build and update processes can then distribute the compromise at scale.

Recent ThreatLocker research into the Reverse Shai-Hulud compromise affecting AntV packages and the TeamPCP attack targeting TanStack illustrates how access tokens, package-publishing workflows, and trusted repositories can become propagation mechanisms.

Maintaining a software bill of materials can improve visibility, but inventory alone does not prevent malicious code from executing. Organizations must combine dependency governance with runtime enforcement.

3. Excessive scope turns one compromise into many

Third-party services frequently request broad access because it simplifies integration and support. Over time, temporary permissions can become permanent, old tokens can remain active, and service accounts can accumulate access far beyond their original purpose.

That excessive scope increases the blast radius of a compromise.

The Mastra supply chain incident reinforced the importance of account hygiene and narrowly scoped access. If an attacker steals a token or compromises an account, the potential damage depends heavily on what that identity can access.

Every integration should therefore be treated as a distinct security principle. It should have only the permissions it needs, for only as long as it needs them.

4. Revoking a password may not remove access

Password resets are an important response step, but they are not always enough. OAuth tokens, API keys, refresh tokens, active browser sessions, and application secrets may continue providing access after a password has changed.

The Klue SaaS supply chain compromise demonstrated how long-lived OAuth tokens can extend a compromise into connected customer environments.

Incident response plans must account for every authentication artifact associated with a vendor or integration. This includes revoking sessions, rotating secrets, reviewing connected applications, and validating that access is coming from an approved device and location.

5. Vendor security cannot replace your own controls

Organizations should assess suppliers before granting access, but even mature vendors can experience a zero-day vulnerability, stolen credential, malicious insider, or compromised dependency.

CISA describes information and communications technology supply chain risk management as the process of identifying, assessing, and mitigating risks throughout the lifecycle of ICT products and services. That lifecycle perspective is important: Due diligence should continue after procurement.

However, organizations must plan for the possibility that a trusted supplier will eventually be compromised. Your security posture should limit what happens next.

Supply chain security best practices

Effective supply chain security combines third-party governance with technical enforcement.

Maintain an accurate inventory

Document the software, cloud services, integrations, open-source packages, service providers, and remote access tools used throughout the organization.

For each dependency, record:

  • The business owner
  • The systems and data it can access
  • Assigned permissions
  • Authentication method
  • Update process
  • Downstream dependencies
  • The procedure for disabling or replacing it

Organizations cannot assess or contain dependencies they do not know exist.

Prioritize suppliers by access and impact

Not every vendor presents the same level of risk. A supplier that provides office equipment should not receive the same scrutiny as a managed service provider with administrative access or a SaaS application processing sensitive customer data.

Prioritize reviews according to potential impact. Consider the sensitivity of accessible data, privilege level, network connectivity, software distribution capability, operational importance, and availability of alternatives.

High-risk providers should face more frequent reassessments and stronger contractual requirements.

Apply least privilege to users, applications, and integrations

Limit vendor accounts, service accounts, APIs, and OAuth applications to the minimum access required.

Remove standing administrative privileges wherever possible. Use time-limited access for maintenance and support. Review permissions regularly, particularly following staffing changes, contract renewals, acquisitions, or changes to an integration.

Least privilege should also apply at the application level. Software should not automatically inherit access to every file, child process, registry key, or network destination available to the user who launched it.

Control application execution

An application allowlisting solution creates a deny-by-default foundation by permitting approved software while blocking unknown or unauthorized code.

This can stop a malicious package, script, installer, or payload introduced through a supply chain compromise from running. Policies should be based on more than filenames, which attackers can easily imitate. Approval decisions should consider factors such as hashes, certificates, paths, and application behavior.

Updates should also be governed carefully. Automatically trusting every future version from a vendor can recreate the very risk application control is intended to reduce.

Contain trusted applications

Blocking unknown software addresses only part of the problem. If an approved application becomes compromised, it may still attempt actions outside its legitimate purpose.

ThreatLocker Ringfencing™ can restrict how permitted applications interact with files, the network, the registry, other applications, and system resources.  

For example, a trusted business application can be prevented from launching scripting engines, reading sensitive browser data, or communicating with unauthorized destinations.

These controls reduce the damage a compromised application or update can cause without requiring the organization to block the application entirely.

Segment vendor and application access

External providers should not receive broad, persistent access to internal networks. Restrict connections to the specific systems and services required for their work.

Zero Trust Network Access (ZTNA) and Zero Trust Endpoint Firewall policies can help enforce these boundaries while limiting lateral movement. If one supplier account or managed tool is compromised, segmentation can prevent it from becoming a route to the rest of the environment.

Harden cloud and SaaS access

Review connected applications, OAuth grants, API keys, refresh tokens, and service accounts. Remove unused integrations and shorten token lifetimes where possible.

Device-level controls add another layer of protection. Zero Trust Cloud Access can restrict access to cloud applications based on the originating device, helping prevent attackers from replaying stolen credentials or tokens from unmanaged systems.

Prepare specific supply chain response playbooks

A generic incident response plan may not cover the dependencies involved in a supply chain attack. Create procedures for:

  • Blocking or rolling back a compromised update
  • Revoking vendor access
  • Rotating API keys, tokens, and application secrets
  • Isolating affected endpoints
  • Identifying every system using an affected package
  • Obtaining logs and indicators from suppliers
  • Switching to an alternative provider or manual process
  • Communicating with customers, partners, insurers, and regulators

Test these procedures before an incident. A tabletop exercise should examine how quickly the organization can identify affected assets and disable critical integrations without causing unnecessary operational disruption.

Build security around limited trust

Supply chain security does not require organizations to stop working with third parties. It requires them to stop converting a business relationship into unrestricted technical trust.

Vendor assessments, contracts, dependency inventories, and security certifications remain valuable. However, they are strongest when supported by controls that determine what can execute, what approved software can access, where third parties can connect, and how far a compromise can spread.

When trusted software or a supplier account is compromised, these policies provide barriers between initial access and wider damage. Book a ThreatLocker demo to see how deny-by-default controls can help reduce supply chain risk across your environment.

No items found.

Start your path to stronger defenses

Start your trial

Try ThreatLocker free for 30 days and experience full Zero Trust protection in your own environment.

Book a demo

Schedule a customized demo and explore how ThreatLocker aligns with your security goals.

Ask an expert

Just starting to explore our platform? Find out what ThreatLocker is, how it works, and how it’s different.