Join our Newsletter — 33% off our NHI Course
Home› FAQ› Threats, Abuse & Incident Response› Should teams prioritise endpoint controls or network controls…
Threats, Abuse & Incident Response

Should teams prioritise endpoint controls or network controls for supply chain malware?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated October 12, 2026 Domain: Threats, Abuse & Incident Response

Endpoint controls should take priority when the threat is local execution of trusted software, because the malicious action happens after the download and often outside the proxy path. Network controls still matter for blocking known-bad sources, but they cannot be the only checkpoint. The deciding factor is whether the control can observe install-time behaviour on the machine itself.

Why supply chain malware usually needs endpoint controls first

supply chain malware is often delivered through a trusted package, updater, SDK, build artifact, or dependency, which means the malicious action usually happens after something is downloaded or executed locally. That makes endpoint controls the better primary checkpoint because they can inspect install-time behaviour, process creation, script execution, and child activity on the machine itself. Network controls still matter, but they are often too far upstream to see the full payload behaviour.

When the dangerous step is local execution, the key question is not whether traffic looked clean in transit, but whether the host observed a trusted-looking file starting a malicious chain. Endpoint telemetry can catch post-install scripts, dropped binaries, credential access, and persistence attempts that never cross a proxy in an obvious way. That is why endpoint prevention and detection should be the first line for this class of threat.

Several real-world supply chain incidents show the same pattern: the compromise becomes damaging only after code runs inside the target environment. The Shai Hulud npm malware campaign and PyTorch torchtriton supply chain attack 2022 both relied on local execution paths to reach secrets and environment data, which is exactly where endpoint visibility is strongest. Network controls can block known bad destinations, but they do not reliably tell you what a supposedly trusted package does after launch.

What network controls still do well

Network controls are still useful, especially for blocking known-bad domains, suspicious download sources, command-and-control traffic, and obvious exfiltration paths. They can reduce exposure before a package is fetched and may stop follow-on callbacks after compromise. In layered defence, they remain a valuable choke point, particularly when an attacker depends on reaching external infrastructure.

Their weakness is that supply chain malware often blends into ordinary developer and enterprise traffic, or executes before it makes any noisy outbound request. If the malicious payload lives inside a signed package, an internal artifact, or a benign-looking update channel, the network layer may see only permitted traffic. That means network controls are necessary, but rarely sufficient on their own for software supply chain abuse.

For supply chain incidents, the most effective network use is often selective rather than blanket, for example restricting where packages can be retrieved, monitoring unusual outbound destinations from build and developer endpoints, and correlating download events with later process behaviour. The right posture is to treat the network as a supporting sensor and enforcement layer, not the only place where trust is decided.

Material on the software supply chain from NIST SSDF (SP 800-218) and SLSA reinforces that provenance, build integrity, and trusted delivery are separate from network inspection. Endpoint and pipeline controls help verify what actually runs, while provenance controls help prove where it came from. Those layers work together, but they solve different failure modes.

How to choose the control priority in practice

The practical decision is simple: prioritise the control that can observe the malicious action at the point it becomes executable. If the threat is a poisoned package, postinstall script, or compromised updater, the endpoint deserves priority because that is where the behaviour becomes visible. If the threat is mass delivery from a known hostile source, network blocking can be the fastest containment measure, but it should still be paired with host-side detection and response.

The best programs do not argue endpoint versus network as an either-or choice. They use network controls to reduce ingress and egress risk, then use endpoint controls to catch what survives delivery. That combination is especially important for developer workstations, CI runners, and build systems, where a single execution event can expose tokens, signing keys, or environment secrets.

What to verify: confirm whether your endpoint stack can see script execution, child processes, module installation, and secret access on the systems that actually install or build software. If it cannot, you are relying on the wrong layer for the highest-risk step.

Decision rule: if the malware’s impact depends on local execution, privilege use, or secret access after delivery, prioritise endpoint prevention and detection first, then back it with network filtering and egress monitoring.

Practitioner takeaway: supply chain malware is usually won or lost where trusted code starts behaving badly, so the control that watches execution on the host should lead, while network controls remain a necessary second barrier.

Standards & Framework Alignment

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

NIST SP 800-53 Rev 5, CIS Controls v8 and SLSA set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5SI-3 — Malicious Code ProtectionSupply chain malware requires host-side malicious code detection and blocking.
SI-4 — System MonitoringEndpoint telemetry is needed to observe post-install execution and suspicious behaviour.
AC-4 — Information Flow EnforcementNetwork controls enforce source and egress restrictions that can limit malware delivery and callback paths.
Recommendation — Deploy malicious code protection on endpoints and build systems where software is executed. Monitor endpoint process, script, and outbound activity for post-delivery compromise. Restrict software download and egress paths with information flow controls.
CIS Controls v8CIS-10 — Malware DefensesMalware defence controls directly support endpoint-focused prevention and detection.
Recommendation — Harden endpoint malware defenses on systems that install and run software.
SLSASupply-chain Levels for Software ArtifactsSoftware supply chain integrity and provenance are central to the delivery risk discussed.
Recommendation — Require stronger provenance and build integrity for dependencies and released artifacts.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

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