Coverage gaps appear when teams protect Linux runners but leave Windows or macOS workflows with weaker visibility. Attackers can shift to the least monitored path, and security teams lose a consistent signal across their build estate. A partial deployment also complicates incident triage because the same control cannot be used to compare behaviour across platforms.
Why This Matters for Security Teams
CI/CD security controls are often deployed with a Linux-first mindset, but modern build estates are rarely uniform. Windows and macOS runners can execute the same source, handle the same secrets, and reach the same deployment targets, which means a blind spot on one runner OS becomes a viable attacker path. NIST’s NIST Cybersecurity Framework 2.0 emphasizes consistent risk management across systems, not selective coverage, and that principle matters in pipelines where compromise moves fast.
When only one runner OS is instrumented, teams lose comparable telemetry, consistent policy enforcement, and reliable incident triage. That gap is especially dangerous in secret handling, where leaked tokens can persist long enough to be reused outside the pipeline. NHIMG research on the Guide to the Secret Sprawl Challenge shows how fragmented secret management leaves organisations exposed when controls are not centralized. In practice, many security teams discover the missing platform coverage only after an attacker has already shifted to the least monitored runner.
How It Works in Practice
The failure mode is not just incomplete visibility. It is inconsistent enforcement. A security tool that hooks into Linux job execution may capture process trees, file writes, or secret access on one runner OS, while the same pipeline steps on Windows or macOS remain effectively opaque. That creates false confidence because the build system appears protected, but only part of the estate is actually being measured.
Practitioners usually need three layers of consistency:
- Uniform policy definitions across runner OS types, even if the sensor implementation differs.
- Comparable event logging for job start, secret retrieval, artifact generation, and outbound network use.
- Centralized correlation so an alert on one platform can be evaluated against behaviour on another.
This is where broader pipeline guidance becomes useful. NHIMG’s CI/CD pipeline exploitation case study highlights how attackers chain weaknesses across build stages rather than relying on a single control failure. For deployment and response planning, teams should also align runner coverage with the NIST CSF 2.0 Detect and Respond functions, because partial instrumentation weakens both anomaly detection and incident scoping.
Current best practice is to treat runner OS as part of the trust boundary, not a cosmetic implementation detail. If one platform cannot support the same control, teams need a compensating mechanism, such as centralized log collection, uniform secret brokering, or endpoint telemetry integrated into the same detection pipeline. These controls tend to break down when macOS or Windows runners are provisioned ad hoc by individual teams because ownership, baselines, and monitoring drift faster than the central security team can reconcile them.
Common Variations and Edge Cases
Tighter runner security often increases operational overhead, requiring organisations to balance coverage against pipeline speed and platform-specific maintenance. The hard part is that not every tool can instrument every OS in the same way, and current guidance suggests prioritizing equivalent outcomes over identical agents when parity is technically impossible.
There is no universal standard for this yet, but the pattern that works best is to define minimum control outcomes for each runner type: secret redaction, process visibility, artifact integrity checks, and alert forwarding. In mixed estates, Windows runners may rely more heavily on native audit sources, while macOS may require different telemetry collection and tighter configuration management. The key is that the security outcome must be comparable, even if the implementation is not.
Two common edge cases deserve attention. First, self-hosted runners often drift more quickly than managed runners, so a control that works in one environment may silently fail in another. Second, ephemeral runners can hide coverage gaps because they disappear before analysts notice the missing telemetry. NHIMG’s Reviewdog GitHub Action supply chain attack is a good reminder that pipeline trust breaks where visibility is uneven, not only where code is malicious.
Security teams should assume attackers will route around the most instrumented path. If one runner OS is weakly covered, the control set is not “partially effective” but operationally inconsistent, which is usually enough to defeat comparison, containment, and post-incident reconstruction.
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, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST CSF 2.0 and NIST Zero Trust (SP 800-207) set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-05 | Partial runner coverage creates inconsistent NHI telemetry and weak secret exposure detection. |
| OWASP Agentic AI Top 10 | A-04 | Pipeline runners act like autonomous workloads with tool access and execution paths. |
| CSA MAESTRO | M4 | MAESTRO addresses orchestration risks when control coverage differs across build execution environments. |
| NIST CSF 2.0 | DE.CM-1 | Uniform monitoring is required to detect suspicious activity across all runner platforms. |
| NIST Zero Trust (SP 800-207) | PR.AC-4 | Least privilege fails if one runner OS is treated as implicitly trusted or less monitored. |
Instrument all runner OS types for NHI events and secret use, then verify parity in one control baseline.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 27, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org