Subscribe to the Non-Human & AI Identity Journal

How do teams know whether a code hosting platform is actually isolated?

A platform is not truly isolated if one authenticated workflow can reach shared backend execution paths or other tenants’ repositories. Teams should test whether request parsing, hook execution, and secret access remain separated under compromise. If those boundaries collapse together, the environment behaves like a shared trust domain, not a set of independent repositories.

Why This Matters for Security Teams

Isolation claims on a code hosting platform are only meaningful if compromise in one workflow cannot be translated into shared execution, shared secrets, or cross-repository access. That distinction matters because modern repository services often bundle parsing, webhooks, runners, token minting, and administrative automation into the same platform control plane. The result is that a “single authenticated user” may still touch multiple trust boundaries if the platform is not truly segmented.

This is why teams should test the platform like an adversary would, not just review architecture diagrams. The question is whether request handling, secret retrieval, and background jobs remain separated when permissions are abused or a workflow is hijacked. NIST guidance on access control and trust boundaries in NIST Cybersecurity Framework 2.0 is useful here, but NHI-specific exposure is often the sharper lens: NHI Mgmt Group notes that 79% of organisations have experienced secrets leaks, and 77% of those caused tangible damage, which is exactly why repository isolation deserves scrutiny. In practice, many security teams discover boundary collapse only after a token, runner, or webhook has already crossed the line.

How It Works in Practice

A code hosting platform is isolated only when compromise of one tenant, repository, or automation path does not grant visibility into another tenant’s data or shared backend state. The practical test is to trace what happens after authentication succeeds: does the platform still keep parsing, execution, storage, and secret access bounded to the original context, or does it fan out into shared services?

Teams usually validate this in four layers:

  • Repository boundary checks: confirm a workflow cannot enumerate or fetch metadata from sibling projects.
  • Execution boundary checks: ensure hook handlers, build runners, and background jobs do not execute in a shared privilege context.
  • Secret boundary checks: verify access tokens, signing keys, and deployment secrets are scoped to a single tenant or repo.
  • Failure-path checks: test whether malformed requests, retries, and error handling leak cross-tenant state.

That approach aligns with NIST Cybersecurity Framework 2.0 because isolation is an operational control, not a marketing claim. For NHI-oriented governance, the Ultimate Guide to NHIs — The NHI Market is a useful reference for understanding how credential sprawl and visibility gaps turn a platform boundary into a shared trust domain. Current guidance suggests treating webhook signing keys, runner identities, and CI tokens as separate non-human identities rather than one platform-wide authority. These controls tend to break down when self-hosted runners, shared caches, or monolithic automation services reuse the same execution account across repositories, because one compromise then inherits the entire platform trust path.

Common Variations and Edge Cases

Tighter isolation often increases operational overhead, requiring organisations to balance tenant separation against developer convenience and platform performance. That tradeoff becomes visible in environments that rely on shared build infrastructure, reusable action libraries, or centrally managed deployment agents.

There is no universal standard for what “isolated” means across all code hosting platforms, so teams should label the boundary they are testing: repository isolation, tenant isolation, runner isolation, or secret isolation. Those are not interchangeable. A platform may isolate repository content well but still fail on shared execution paths, or it may segment runners while exposing metadata through a common API layer.

One common mistake is assuming access control alone proves isolation. It does not. A platform can enforce RBAC at the UI while still allowing backend jobs to act with broader privileges than the initiating user or workflow. Another edge case is disaster recovery or audit tooling, which may legitimately require elevated read paths. Best practice is evolving here: privileged maintenance access can be acceptable, but it should be tightly scoped, logged, and tested as a separate trust path rather than folded into normal repository operations. For teams assessing broader NHI exposure, Ultimate Guide to NHIs — The NHI Market is a strong benchmark for how quickly shared credentials and poor visibility undermine segmentation.

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 address the attack and risk surface, while NIST CSF 2.0 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.

Framework Control / Reference Relevance
NIST CSF 2.0 PR.AC-4 Isolation depends on limiting access paths between workflows and shared services.
OWASP Non-Human Identity Top 10 NHI-01 Shared platform credentials and weak segmentation expose non-human identities across tenants.
NIST SP 800-63 Identity assurance matters when authentication is not enough to prove isolation.

Inventory every non-human identity on the platform and isolate credentials by repo, runner, and tenant.