intrnl.cloud
Identity and security

Threat model

Threats and controls for tenant isolation, untrusted code, AI access, identity, and recovery.
v1 design baseline. This page specifies intended behavior. Delivery and validation are tracked in the implementation plan; it is not a claim that the platform is already implemented.
ThreatPrimary controls
Cross-tenant IDORExplicit tenant context, Laravel policies, RLS, composite constraints, tests
Malicious generated codeOS/VM sandbox, workerd capability model, no ambient credentials
Malicious build dependencyDisposable sandbox, package proxy, restricted egress, no production secrets
Sandbox escapeMicroVM/gVisor boundary, patched hosts, separate trusted services
SSRFMandatory egress proxy, private-range denial, redirect and DNS-rebinding protection
Secret exfiltrationIntegration proxies, no build secrets, redacted logs, scoped runtime binding
Control-plane cookie attackSeparate runtime apex, __Host- cookies, CSRF/origin validation
Identity-header spoofingStrip inbound intrnl headers, signed internal assertion
MCP confused deputyOAuth grant bound to user/org/scopes; reauthorize every tool call
AI self-approvalApproval service refuses agent identities
Webhook forgery/replaySignature, timestamp, delivery dedupe
Repository raceBuild exact SHA, immutable revision record
Artifact tamperingDigest-addressing, signing, runtime verification
Preview data exposureSeparate DB, synthetic seed, restricted access
Route/origin bypassPrivate origin/tunnel, authenticated edge, no public workload ports
Entra group overageApp roles/assigned groups, SCIM, explicit overage handling
Destructive migrationClassification, approval, pre-migration snapshot
Log leakageCentral redaction, body logging off, retention policy
Denial of servicePer-app limits, rate limiting, quotas, sandbox resource controls
Supply-chain compromiseLockfiles, pinned builder image, SBOM, scanning, signed artifacts
Orphaned applicationsOrg ownership, business/technical owners, lifecycle review
Runtime-agent compromisePer-cluster mTLS, narrow commands, no central DB credentials
Privilege escalation through policyMandatory organization ceilings, versioned policy, approval
Shared-domain browser attackSeparate registrable runtime domain

A third-party penetration test should occur before pilot production use.