Research paper

Why the Modern Build Pipeline Counts as an Attack Surface

A build is no longer just a transform. It is a chain of identities, credentials, and assumptions that attackers can abuse if the path is not designed carefully.

This paper explains why build pipelines deserve the same threat modeling as the application they ship, especially when deployment is automated end to end.

Threat context

A build system becomes an identity system once automation can ship code.

Build systems accumulate trust faster than they accumulate visibility. The compiler, package manager, CI runner, signing key, and deployment pipeline all become part of the trust chain, which means a compromise at any point can affect production output.

  • Build identities are powerful enough to alter delivery.
  • Artifact signing only helps if the signing path is trustworthy.
  • Isolation matters when the build system can reach production dependencies.

Technical analysis

The same workflow that makes releases fast can also make intrusion fast.

Once a CI runner can fetch secrets, publish artifacts, or trigger deployment, it behaves like a privileged production actor. That makes least privilege, short-lived credentials, and verifiable inputs more important than raw throughput.

Speed is only an advantage when the path being accelerated is trustworthy.

Banjico editorial note
  1. Separate build permissions from deployment permissions.
  2. Prefer ephemeral credentials over long-lived tokens.
  3. Treat package-locks, lockfiles, and caches as security-sensitive artifacts.

Implications for small teams

Small teams can make the pipeline easier to reason about without slowing delivery to a crawl.

The most important change is not tooling volume; it is clarity. Small teams can review their build path in full, document the trust chain, and design a release process that is simple enough to audit quickly.

References