Permissions, data & business rules · Audit
Multi Tenant Isolation Audit
Audit one tenant, workspace, organization, project, or account isolation boundary across API, data, cache, search, jobs, analytics, storage, and UI behavior. Limit scope to the selected boundary and direct producers/consumers.
MCP library 1.6.1 · Instruction library 1.6.1 · English technical instructions
← Back to searchUse this workflow
Connect Vibe Coding Library to a coding agent that supports MCP over Streamable HTTP. Choose Other / MCP agent for a neutral prompt, or a ready-made Codex or Claude Code invocation. Add your task details below.
Goal and scope
Audit one tenant, workspace, organization, project, or account isolation boundary across API, data, cache, search, jobs, analytics, storage, and UI behavior. Limit scope to the selected boundary and direct producers/consumers.
Domain invariants
- Every read, write, list, search, export, import, job, webhook, and object key is scoped to the correct tenant/resource owner.
- Tenant-scoped data and execution retain the verified tenant boundary across caches, clients, events, logs and jobs; authorized global/admin aggregation has its own explicit policy.
- Admin/staff/impersonation paths are explicit, audited, and do not contaminate user context.
- Forbidden/not-found behavior avoids existence leaks where the product contract requires it.
- Tests cover same-tenant, wrong-tenant, missing-tenant, and elevated-context states.
Audit method
Trace the selected resource from route/API entry through auth context, query filters, service owner, storage/index/cache keys, async jobs, exports, object storage, analytics/logging, and UI state. Mark every unscoped or ambiguously scoped edge.
Build two synthetic tenants with distinguishable resources and trace the same operation under their trusted principals. Change supplied resource/tenant IDs independently of authenticated context and inspect the resulting data/effects. Feed the first leaking or wrongly denied edge, principal/resource identities and expected outcome to Improve Multi Tenant Isolation.
Workflow ID: multi-tenant-isolation-audit · View the versioned source · Shared workflow and authority rules