TL;DR: Automating mobile app protection and security testing inside Bitrise pipelines using SSH-backed service accounts, workflow scripts, and AppSweep scanning for Android and iOS builds is possible, according to Guardsquare. The operational question is not whether protection can be automated, but how to prevent build-time secrets and release workflows from becoming a new attack surface.
Editorial analysis by NHI Mgmt Group, based on content published by Guardsquare: “Automating Guardsquare Workflows with Bitrise”.
Key questions
Q: How should teams govern SSH-backed service accounts in CI/CD pipelines?
A: Treat them as non-human identities with explicit ownership, least privilege, and revocation procedures.
Q: Why do build secrets increase release risk in mobile pipelines?
A: Because they turn the pipeline into a reusable access channel.
Q: What breaks when mobile security scanning runs on the wrong build artifact?
A: You lose fidelity in the results.
Practitioner guidance
- Harden pipeline service accounts Create dedicated automation identities for each Bitrise workflow, scope permissions to the minimum release task set, and revoke any shared or reused SSH keys.
- Separate build secrets by workflow and environment Store SSH private keys and related credentials in environment-specific secrets, then restrict which build stages can read them during protection and signing steps.
- Standardise artifact-stage scanning Run mobile security scans on the unprotected build artifact that best represents the app before hardening, so findings map to the application rather than the packaging layer.
Bottom line: CI/CD pipelines that automate mobile protection are governed execution environments, so their service accounts and secrets need identity controls.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
CI/CD service accounts are non-human identities, not build plumbing: once a pipeline can sign, protect, and package software, the identity behind that pipeline becomes part of the trust boundary. SSH keys and workflow secrets need lifecycle governance, not just storage. That is a machine-identity problem with direct release implications, and it belongs in the same control conversation as any other privileged access path.
A few things that frame the scale:
- 96% of organisations store secrets outside of secrets managers in vulnerable locations including code, config files, and CI/CD tools, according to the Ultimate Guide to NHIs.
A question worth separating out:
Q: How should release teams decide where automation ends and identity control begins?
A: The boundary should be wherever the workflow can authenticate, sign, or publish on behalf of the organisation. At that point, the pipeline is exercising delegated authority and needs identity-style controls, including ownership, scope, and auditability. If those controls are absent, the release flow itself becomes a privileged access path.
👉 Read our full editorial: Automating mobile app protection in Bitrise CI/CD pipelines