Application security / Practical guide

Retire build systems without leaving access behind

By OfRoot Technology · · Sources checked

A focused plan for retiring build runners, deployment servers and the permissions that connect them.

The short version

Retiring a build system includes its credentials, integrations and remaining permissions. Start with one system, identify its owner and dependencies, plan access removal and verify that the supported replacement still works. Keep an evidence trail and an approved rollback path.

What prompted this guide

This guide accompanies our summary of Optimizely’s Configured Commerce update. The recommendations below are OfRoot’s engineering analysis; the vendor statement does not establish a finding about your systems.

[1] Optimizely: Configured Commerce incident status record ↗

Map one system and the access it carries

Choose an owned build runner or deployment server and record its owner, jobs, repositories, artifact stores and deployment targets. Include webhooks, scheduled jobs and service accounts that still depend on it.

Record credential identifiers and issuing services without copying secret values into the worksheet. Agree who can approve each change and which teams would be affected.

Give the replacement only the access it needs

OWASP applies least privilege to pipeline secrets, connections between jobs and the account that runs them. Review each grant against the replacement’s actual work rather than copying the old system’s entire permission set.

For AWS workloads, IAM guidance recommends temporary credentials through roles and regular review of unused identities and access. Other platforms have their own supported identity methods; choose one your team can operate and revoke.

[2] OWASP CI/CD Security Cheat Sheet ↗ [3] AWS IAM security best practices ↗

Remove access at the service that grants it

After the owners approve the sequence, stop obsolete jobs and remove the old system’s repository, storage and deployment grants. Revoke obsolete credentials through their issuing service. Removing a secret from a local file does not revoke the credential itself.

Check for shared credentials before changing them so the approved replacement and unrelated jobs continue to work. Preserve the logs and evidence your retention or incident-response process requires.

[2] OWASP CI/CD Security Cheat Sheet ↗ [3] AWS IAM security best practices ↗

Test the intended workflow and the denied paths

Use an authorized test environment, synthetic data and a harmless test artifact. Confirm that the supported build can produce and deploy the expected artifact to its approved target. Check that the retired identity can no longer read the test repository or use the removed deployment permission.

Record the tested environment, identity, version and result. Keep production changes behind the normal review process and define rollback through a supported deployment path and an approved identity.

Keep a clear handoff

Give the next owner the completed inventory, the evidence of access removal, unresolved dependencies and the rollback instructions. Schedule a follow-up check for unexpected use of the retired identity using the monitoring your team already operates.

A repository pattern check can support code review, but it does not establish the state of live cloud permissions, vendor accounts or retired servers. Include those systems in an application security engagement when they are part of the risk you need to assess.

Sources and further reading

  1. Optimizely: Configured Commerce incident status record ↗
  2. OWASP CI/CD Security Cheat Sheet ↗
  3. AWS IAM security best practices ↗

Follow the security developments behind the work.

Optimizely reports a separate Configured Commerce incident →

Need a review, a penetration test or help fixing findings?

Explore application security →