TL;DR: Cloud security failures often come from enforceable controls being skipped, fragmented, or applied too late, according to Xygeni. The practical lesson is that cloud security is really a lifecycle problem across identity, secrets, IaC, CI/CD, and build integrity, where drift and standing access create the conditions for compromise.
At a glance
What this is: This is a cloud security guidance piece that argues most cloud incidents stem from known control gaps across identity, secrets, configuration, and pipelines.
Why it matters: It matters because IAM, PAM, and NHI teams have to treat cloud security as an access-governance problem as much as a detection or tooling problem.
By the numbers:
- The 2024 Shai-Hulud campaign compromised 830+ npm packages.
- Only 44% of organisations have implemented any policies to manage their AI agents, despite 92% agreeing that governing AI agents is critical to enterprise security.
👉 Read Xygeni's cloud security tips for identity, secrets, and pipeline controls
Context
Cloud security breaks down when teams treat each layer as separate. Identity, secrets, infrastructure, build systems, and runtime controls all influence whether an attacker can move from one exposed weakness to full compromise. In cloud environments, the first failure is often not an advanced exploit but a standing permission, a leaked secret, or an unreviewed pipeline change that nobody enforced.
The article’s underlying message is that security guidance only works when it is operationalised. That is especially true for IAM and NHI governance, because service accounts, CI/CD runners, workload identities, and tokens become the access layer attackers actually abuse. The starting point described here is typical for cloud programmes that have grown faster than their control enforcement.
Key questions
Q: What breaks when cloud identities are not centrally governed?
A: Shadow accounts, orphaned credentials and inconsistent role definitions emerge because no single process can see the whole access picture. That breaks least privilege, complicates incident response and makes compliance evidence harder to prove, especially when workforce and service identities are managed separately.
Q: Why do static credentials create more risk than ephemeral access for cloud admins?
A: Static credentials create standing privilege, which means one leak can remain usable until someone finds and revokes it. Ephemeral access narrows that window and makes the issuance event, not the stored string, the governance object. That is why cloud admin access should be brokered and time-limited rather than managed as a durable secret.
Q: How do security teams know whether cloud access policy is actually working?
A: They should test whether policy decisions are traceable from discovery to approval to revocation. If a team can see apps but cannot prove who owns the integration, what data it can touch, and how it is removed, then the policy is only partially working. Effective governance produces evidence, not just alerts.
Q: Should organisations prioritise cloud identity controls before adding more scanners?
A: Yes, when the main risk is exposed access rather than unknown malware. Scanners help, but they do not stop a permissive role, a valid token, or an over-privileged runner from being abused. Identity and privilege controls usually provide the biggest reduction in blast radius because they narrow what an attacker can do after initial access.
Technical breakdown
Why cloud security fails across layers
Cloud security fails when identity, configuration, and delivery controls are managed as disconnected disciplines. A public bucket, wildcard IAM role, or leaked secret is rarely isolated. It usually becomes dangerous because the organisation cannot correlate findings across code, pipeline, and runtime, so the same weakness survives multiple review cycles. This is why cloud security posture management, secrets scanning, and access governance must be linked rather than treated as separate tool outputs.
Practical implication: consolidate cloud findings into one risk view that ties exposed access to the systems and workloads it can reach.
Why non-human identities need stricter least privilege
Non-human identities often outlive the task they were created for. CI/CD service accounts, runners, and workload identities commonly accumulate broad permissions because teams optimise for delivery speed and do not revisit scope. In practice, these identities are where privilege becomes durable, even when the surrounding workload is ephemeral. That makes them a governance problem, not just a secrets problem, because the real issue is sustained access without lifecycle review.
Practical implication: review machine identity permissions on a fixed cadence and remove any access that is not clearly tied to an active workload purpose.
How pipeline and build integrity change the attack surface
Build systems are part of the production trust boundary. If an attacker can alter workflow files, runner settings, dependency resolution, or artifact integrity, they can introduce malicious code before runtime controls ever see it. That is why CI/CD security has to include code review on pipeline changes, artifact signing, and monitoring for unusual build behaviour. The attack surface is not just the cloud account, but the path used to create what runs in the cloud.
Practical implication: enforce provenance checks and signed artifacts so compromised build paths cannot silently reach production.
Threat narrative
Attacker objective: The attacker’s objective is to turn trusted cloud automation into a path for secret theft, production compromise, or destructive encryption.
- Entry begins with exposed cloud-access material such as long-lived credentials, a permissive CI runner, or a malicious dependency that reaches the build path.
- Escalation follows when the attacker uses standing permissions or pipeline trust to reach secrets, repositories, or production resources beyond the original foothold.
- Impact occurs when the attacker deploys tampered code, exfiltrates data, or encrypts cloud resources using the access already trusted by the organisation.
NHI Mgmt Group analysis
Cloud security is really an identity governance problem when machine access is part of the delivery chain. The article correctly places least privilege, short-lived credentials, and JIT access at the centre of cloud defence because modern cloud attacks often begin with an identity that was created for automation and then left to accumulate trust. For IAM and PAM teams, the practical conclusion is that machine access must be governed as tightly as human privileged access.
Standing access remains the structural weakness that cloud teams keep normalising. Static credentials, broad service account permissions, and unaudited runner access create an exposure window that attackers can exploit long after the original use case has ended. OWASP-NHI is relevant here because the problem is not just secret storage, but unmanaged non-human identity lifecycle. Practitioners should treat every persistent credential as an offboarding failure waiting to happen.
Tool fragmentation is the named concept this article exposes: control fragmentation. When secrets scanning, SCA, IaC checks, and CI/CD monitoring live in separate workflows, no one sees how one weak control enables the next stage of compromise. That fragmentation undermines NIST CSF implementation across identify, protect, detect, and respond functions. The practitioner lesson is to connect findings by attack path, not by team boundary.
Cloud security programmes that stop at runtime are already behind the attack model. The article is strongest when it frames the software supply chain, build layer, and cloud account as one operational surface. That aligns with NIST SP 800-53 Rev 5 because access control, configuration management, and system integrity have to work together. Security teams should measure whether they can detect compromise before an artifact or secret reaches production.
The identity bridge matters because cloud incidents now routinely involve NHI, not just human compromise. CI/CD runners, workload identities, and service accounts are the accounts attackers most want because they sit close to data, deployment, and privilege. The governance conclusion is simple: if an organisation cannot inventory and constrain its non-human identities, it cannot credibly claim cloud least privilege is under control.
What this signals
Control fragmentation is now a programme risk, not a tooling inconvenience. Cloud teams that separate secrets, IaC, CI/CD, and runtime controls usually discover too late that an attacker only needs one weak handoff to move across the stack. The planning question is whether your programme can trace an exposed credential into a specific workload, pipeline, or resource before the blast radius expands.
Machine identity governance needs to move into the same operating model as privileged human access. Service accounts, runners, and workload identities increasingly function as production-grade access paths, which means they deserve offboarding, review, and containment processes that are explicit rather than assumed. Where identity is involved, NIST SP 800-53 Rev 5 Security and Privacy Controls remains a practical anchor for access control and audit alignment.
The next maturity step is not more alerts, but faster enforcement at the point of change. Teams should expect cloud security to become more policy-driven, more automated, and more tied to software delivery evidence, especially as AI-assisted development increases the volume of change. That shift makes [NHI Lifecycle Management Guide](/nhi-lifecycle-management-guide) type controls more relevant, because lifecycle governance is what limits the damage when access is created automatically.
For practitioners
- Implement fixed-cycle reviews for machine identities Review service accounts, CI/CD runners, and workload identities on a fixed cadence, then remove permissions that are no longer tied to an active workload or deployment path.
- Replace static secrets with short-lived credentials Move cloud and pipeline access to ephemeral tokens wherever possible, and require rotation plus revocation workflows for any credential that cannot be eliminated.
- Enforce policy-as-code in the delivery pipeline Block deployments that introduce privileged containers, open network paths, or wildcard IAM grants by making the policy check part of every pull request and build.
- Correlate secrets, IaC, and CI/CD findings Unify scanning outputs so a leaked secret, a permissive role, and a risky runner are evaluated as one exposure chain rather than three unrelated alerts.
- Sign artifacts and verify provenance before release Require signed build artifacts, pinned dependency digests, and provenance checks so tampered packages or workflow injections cannot reach production unnoticed.
Key takeaways
- Cloud incidents keep recurring because known gaps in identity, secrets, and pipeline governance are still left open.
- The strongest evidence in the article is that security failures often begin in delivery systems, not only in runtime cloud services.
- Teams that want lower blast radius need lifecycle control over machine identities, faster secret revocation, and integrity checks before release.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0, NIST SP 800-53 Rev 5 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | The article centres on secret exposure and unmanaged machine access. |
| MITRE ATT&CK | TA0006 , Credential Access; TA0008 , Lateral Movement | The attack paths described rely on credential abuse and movement through cloud trust. |
| NIST CSF 2.0 | PR.AC-4 | Least privilege and access governance are central to the article's cloud controls. |
| NIST SP 800-53 Rev 5 | IA-5 | Static secrets and token management map directly to authenticator lifecycle control. |
| CIS Controls v8 | CIS-5 , Account Management | Machine identities and runner access require disciplined account lifecycle control. |
Track exposed secrets and runner compromise against TA0006 and TA0008 to prioritise containment.
Key terms
- Non-Human Identity (NHI): A digital identity assigned to a non-human entity such as a software application, service account, API key, bot, machine, or AI agent that enables it to authenticate and interact with systems without direct human involvement. NHIs now outnumber human identities in most enterprises by 25 to 50 times.
- Standing Privilege: Standing privilege is access that remains active even when no immediate task requires it. For NHI programmes, it is a common failure mode because long-lived credentials and persistent roles create unnecessary exposure. Reducing standing privilege usually means tighter expiry, on-demand access, and clearer review of who or what still needs access.
- Visibility Fragmentation: Visibility fragmentation is the condition where security telemetry exists, but only inside separate provider consoles or tools. In multi-cloud estates, it prevents teams from correlating one provider’s event with another’s and leaves lateral movement or drift hidden in plain sight.
- Build Integrity: Build integrity is the assurance that the software assembled and delivered to production is the software the team intended to build. It depends on controlled dependencies, tamper-resistant pipelines, and traceable provenance so that attackers cannot silently alter artefacts on the path to release.
What's in the full article
Xygeni's full article covers the operational detail this post intentionally leaves for the source:
- Layer-by-layer control examples for identity, data, infrastructure, supply chain, and incident response.
- Concrete workflow guidance for enforcing policy as code inside pull requests and CI/CD gates.
- Runtime and build visibility patterns that help teams spot compromise before it reaches production.
- Implementation-oriented breakdowns of secrets handling, artifact signing, and runner hardening.
Deepen your knowledge
The NHI Foundation Level course, the industry's only accredited NHI security programme, covers NHI governance, machine identity security, IAM, and secrets management. It helps practitioners connect identity controls to cloud and delivery risks in a structured way.
Published by the NHIMG editorial team on August 20, 2026.
NHI Mgmt Group — the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org