Datadog CI/CD Threat Matrix: A MITRE Framework for Pipeline Security

Datadog CI/CD Threat Matrix: A MITRE Framework for Pipeline Security

Enterprise Developer Platforms

CI/CD pipelines have become the most consequential security boundary in modern software delivery — and the most consistently overlooked. Datadog’s CI/CD Security Threat Matrix applies the MITRE ATT&CK framework specifically to pipeline attack pathways, producing a structured map of how attackers move from initial access through credential theft to shipping malicious code into production.

Context

The MITRE ATT&CK framework has been the reference model for enterprise security teams for years, but it covers the full attack surface — endpoints, networks, cloud environments, and everything in between. CI/CD pipelines have their own distinct attack surface: they hold secrets for every environment, have elevated permissions to deploy into production, and accept code changes from a broad contributor base. Generic threat frameworks don’t map cleanly to the specific ways pipelines are exploited.

Datadog’s matrix fills that gap, drawing from three existing sources — Microsoft’s DevOps threat matrix, OWASP’s top 10 CI/CD risks, and documented historical attacks — and structuring them into a CI/CD-specific taxonomy. The practical value is that platform and security teams can audit their pipeline configuration against a structured set of known attack patterns rather than reasoning from first principles.

The Detail

The matrix organizes threats across ten attack tactics mirroring the MITRE ATT&CK structure: Reconnaissance, Initial Access, Execution, Persistence, Privilege Escalation, Defense Evasion, Credential Access, Lateral Movement, Exfiltration, and Impact. The mapping to CI/CD-specific techniques makes the abstract concrete. Reconnaissance in a CI/CD context means scanning public repositories for exposed configuration files. Initial Access means exploiting permissive pull request permissions that allow unreviewed code to trigger pipeline runs. Privilege Escalation means modifying pipeline configuration files to elevate the permissions under which subsequent steps execute.

The full attack chain Datadog documents as an example: an attacker scans public repositories, identifies a permissive PR configuration, submits a PR that modifies the pipeline, extracts environment credentials during the build, exfiltrates proprietary source code, and deploys cryptomining workloads into the build environment. Each step maps to a tactic in the matrix — which means each step has a corresponding detection or prevention control that platform teams can implement.

The intersection with the Datadog Code Security MCP is worth noting for teams already evaluating Datadog’s security toolchain. Code Security addresses vulnerabilities in what gets committed; the CI/CD threat matrix addresses vulnerabilities in the pipeline that builds and ships what gets committed. These are complementary security layers — both sit between developer intent and production deployment, but at different points in the delivery chain.

Detection mapping to Datadog’s products is specific: Cloud Security surfaces compromised credential usage, Cloud SIEM identifies anomalous pipeline behavior patterns, and the combination creates a detection surface that spans from the build environment through to cloud resource access. For teams standardized on Datadog for observability, extending that investment to pipeline security closes a gap that most existing monitoring configurations leave open.

The So What

The practical output of the CI/CD threat matrix is an audit checklist. For each of the ten tactics, the matrix identifies which pipeline configuration choices create exposure — permissive PR triggers, broadly scoped CI credentials, pipeline files modifiable by contributors, secrets stored in environment variables rather than vaults. A platform security team working through the matrix can identify which attack pathways their current configuration leaves open without needing to reconstruct the threat model from scratch.

For DevSecOps and platform engineering teams with Datadog already in the stack, the integration path is direct. For teams evaluating pipeline security tooling, the matrix itself is the useful artifact — the detection capability is additive. Either way, the framing shift matters: CI/CD pipelines are not peripheral to the security perimeter, they are the security perimeter for software delivery.

Photo by Kevin Ku on Pexels

Source: Datadog

Content created with AI assistance and reviewed for accuracy.

💬

Join the conversation

Stack Insiders is our free community for readers who want to go deeper — share resources, ask questions, and connect with others across every vertical we cover.

Join Stack Insiders →

Newsletter coming soon.

Curated digests across AI, biohacking, photography, travel, and more. Be the first to know when we launch.