Skip to main content
Next Defence - Next-Gen AI Cyber Security Firm
Australia & New Zealand[email protected](02) 9064 2614
INSIGHT

Software Build Integrity: Five Decisions SaaS Leaders Cannot Delegate Away

Software supply-chain security is often described as a developer tooling problem.

Software supply-chain security is often described as a developer tooling problem. In reality, executive decisions about ownership, third-party trust and release authority determine whether a suspicious component can enter production and how quickly its impact can be contained. An organisation can have code reviews and vulnerability scanners yet remain exposed through build automation, stolen package-publishing credentials or an opaque vendor release process.

Decision one: define what counts as a production release

A release is not merely a commit merged into the main branch. It includes the source revision, dependencies, build configuration, builder, artifact, signature or digest, approval and deployment target. If the organisation cannot connect those elements, investigating a suspicious version becomes guesswork. Require a repeatable answer to: which exact code and dependencies were running in each environment at a given time?

For SaaS products with frequent deployments, the answer should be machine-readable where possible. Capture the release identifier, artifact digest and deployment record together. A software bill of materials can help with dependency investigation, but it will not replace trusted build provenance or a system that maps a component to affected customer environments.

Decision two: treat CI/CD access as privileged access

A build runner or workflow token that can publish an artifact may have a greater impact than a conventional server administrator. Restrict who can edit workflow definitions, publish packages, read secrets and approve deployments. Apply short-lived credentials, protected branches and peer-reviewed changes where supported. Eliminate long-lived credentials committed to repositories or copied into logs.

Separate test and production publishing rights. An engineer who can experiment in a development pipeline need not be able to change a production signing key. Periodically inspect emergency access and maintenance accounts; exceptional privilege is still privilege. Record who approves an override and when it must expire.

Decision three: decide how much supplier evidence is enough

A vendor attestation is a useful conversation starter, not proof that a given release is trustworthy. Ask suppliers how they restrict code and workflow changes, what they record about build provenance, how quickly they can identify compromised versions and what assistance they will give customers during an incident. Prioritise these questions for software that processes sensitive data, operates business-critical workflows or runs with elevated permissions.

NIST’s Secure Software Development Framework provides a useful organisation-wide vocabulary for preparation, software protection, secure development and vulnerability response. It is a framework for practices to adopt and measure; citing it in a tender does not demonstrate that each relevant control has been implemented. Tie contractual assurances to concrete evidence, such as a controlled release process and timely notification of material vulnerabilities.

Decision four: make a clean rollback possible

Teams may assume that reverting a deployment restores safety. That can fail when the artifact repository, signing process or build infrastructure itself has been compromised. Maintain known-good artifacts, independent recovery credentials and records sufficient to recreate a release in a controlled environment. Test restoration without trusting the very pipeline under investigation.

The rollback decision also needs a customer-impact owner. Reverting a vulnerable release may involve database schema changes or affect tenant data. Prepare rollback and forward-fix criteria before an incident, including who decides whether temporary reduced functionality is preferable to continued exposure. The decision should be driven by actual dependencies and risk, not by a universal instruction to roll back at all costs.

Decision five: rehearse an incident with real release evidence

A useful exercise begins with an allegation that a signed package contains unauthorised code. Ask the response team to identify affected builds, freeze a compromised publisher account, preserve logs, locate deployed versions and provide an accurate customer communication within the available evidence. Do not supply them with a neatly prepared inventory; let the test reveal missing records and unclear responsibilities.

Assess the result against four outcomes: time to establish scope, ability to prevent additional distribution, confidence in rebuilding from trusted inputs, and quality of customer-impact decisions. Each shortfall should become an owned improvement with a due date and evidence of retesting.

What good governance looks like

The executive dashboard should not simply count dependency scans or security tickets. Include coverage of protected build paths, release provenance, exception approvals, critical supplier recovery arrangements and tested rollback procedures. Where a key dependency remains outside the organisation’s control, explain the residual risk and the alternative safeguards. These choices make build integrity a managed business capability instead of an assumption hidden in the deployment pipeline.

Follow the release artefact all the way to production

For a SaaS platform, a code review is only one stage in the integrity of a release. Follow a recent feature through source approval, automated build, third-party dependencies, artefact storage, deployment authorisation and the runtime environment serving customers. Identify the identity that can modify each stage and whether a compromised account could introduce a different artefact after peer review. Ask engineers for a traceable relationship between the approved commit, build job, test results, signed or otherwise verified artefact and deployed version. A build that passed security scanning but was later replaced in an unprotected registry should not be considered a trusted release. Test an unauthorised synthetic change to the pipeline configuration and confirm it cannot acquire production credentials or publish packages without appropriate review. Keep untrusted external pull requests away from secrets and privileged build workers. The acceptance record should be reproducible by an operator who did not perform the original deployment, including how that operator can detect a package or configuration mismatch.

Make the rollback a security decision, not only an availability decision

Consider a release that changes customer-data permissions and then begins returning unexpected responses. A simple rollback to the previous binary may not reverse database schema changes, altered authorisation grants or application tokens issued during the faulty release. Design a recovery sequence that identifies the last trusted artefact, the affected data and identities, the approved rollback boundary and any reconciliation required. Decide who may stop a deployment while evidence is preserved; avoid relying on the same possibly compromised pipeline identity to administer recovery. For critical multi-tenant systems, restore a synthetic transaction in an isolated environment and verify that the original authorisation restrictions still hold. Include suppliers: a third-party library or managed deployment platform can be a necessary dependency, but the SaaS operator still needs clear records and emergency contacts. Measure how quickly the team can answer which customers were exposed, which version was running and what corrective change was authorised. That is stronger assurance than a generic report showing automated tests passed.

Provenance must reach the deployed artefact

An engineering team can produce a successful build report even if the package later deployed to customers is not the one that passed checks. Take a test release and record the source revision, build environment, dependency manifest, signed artefact digest and deployment approval as one traceable chain. Deliberately substitute a harmless test file after the signing stage in a non-production pipeline; the deployment control should reject the mismatch. Ask who can approve emergency promotion and whether that identity is distinct from the actor who changes build rules. The business owner needs to know which customer versions actually ran the approved artefact, including staged rollouts and rollback builds. A software bill of materials is useful evidence, but it cannot by itself prove that the production package came from the intended source.

Define a release-integrity scorecard that engineering can own

A release-security scorecard should identify the latest approved artefact, where it was built, which identity published it and who authorised deployment. Review a normal release and an unsuccessful attempt by a lower-privilege identity to modify the build or deploy a different package. Confirm that the genuine update succeeds while the prohibited path is rejected by the target system. Include evidence of component provenance, vulnerability-review decisions and any third-party dependency exception with its expiry date. Assign each requirement to the team that can operate it: application engineering for tests and approvals, platform engineering for runner isolation, security for assurance and production operations for the final release decision. Measure the number of material releases with traceable approval and the time required to identify an affected customer-facing version during a simulated incident. Avoid a single security score that hides an exposed deployment credential. The purpose is a reliable, reproducible route from source code to customer service, including the ability to stop it safely.

Sources and further reading

Strengthen your security with Next Defence

Release integrity is stronger when executive accountability and engineering evidence point to the same risks. Next Defence can assess developer and build-platform permissions, strengthen software delivery controls and design validation exercises that test whether a compromised release can be contained and recovered. Explore our Application Security & DevSecOps.

Explore Application Security & DevSecOps ↗

LET'S TALK

Let’s talk about your security.

Tell us what you are protecting, where you need greater visibility or what you want to achieve. We will help identify the right next step.

Talk to a Security Specialist

Describe your security requirements. Please do not submit passwords, credentials or confidential incident evidence. This form is not an emergency incident-response channel.

Form powered by HubSpot. Review our Privacy Policy. If the form doesn’t load, email [email protected].