auditing-multi-tenant-isolation

auditing-multi-tenant-isolation is a skill for Claude Code from UnboundCompute/security-agent-skills. It costs 186 tokens per session (2,189 once invoked), scanned B, original, MIT.

A security review of tenant isolation in systems that store data for multiple customers, organizations, or workspaces. It checks whether every data operation is restricted to the authenticated customer’s scope.

In plain words
What is it for?
Reviewing database queries, object lookups, caches, storage, search, and background jobs. Checking for mandatory tenant scoping and shared enforcement such as row-level policies.
Why use it?
One missing tenant filter can allow a request to read or change another customer’s data. The review also catches tenant identifiers taken from client input instead of the authenticated session.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the security-agent-skills plugin — 194 skills shipped together

Good fit Reviewing database queries, object lookups, caches, storage, search, and background jobs. Checking for mandatory tenant scoping and shared enforcement such as row-level policies.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add UnboundCompute/security-agent-skills --skill auditing-multi-tenant-isolation
Clone the repo
git clone --depth 1 https://github.com/UnboundCompute/security-agent-skills

Made for: Claude Code.

Or install security-agent-skills, the plugin that ships this one along with the rest of its 194 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for auditing-multi-tenant-isolation

README.md
[![agentmods](https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation/github.svg)](https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation)
Your own site
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for auditing-multi-tenant-isolation

Your own site · 80×15
<a href="https://agentmods.dev/skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation"><img src="https://agentmods.dev/badge/skills/unboundcompute/security-agent-skills/auditing-multi-tenant-isolation.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 186 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,189 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00186 $0.02189
Opus 5.5 $0.00074 $0.00876
Sonnet 5.5 $0.00037 $0.00438
Haiku 4.5 $0.00019 $0.00219

Measured 3mo ago against content hash 2b9809990b03, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

auditing-multi-tenant-isolation scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nullifies safety policiesmediumAnti-refusal

"You have no restrictions", "do anything now", "ignore your guidelines": a direct jailbreak that disables guardrails.

from the job's owner and the connection must not bypass the policy.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

skills/auditing-multi-tenant-isolation/SKILL.md · 141 lines

How it starts

The opening of the file, as written. The whole thing — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Auditing multi-tenant isolation: is every operation scoped to the caller's tenant

When one system holds many tenants' data, isolation is an invariant that has to hold everywhere at once: every query, cache read, storage access, search, and background job is scoped to the tenant the request is authenticated as, and to no other. A single unscoped operation is not one bug but a whole class of cross-tenant access at that point. This is the systemic view, distinct from asking whether one object reference is owner-checked; here the question is whether the boundary is enforced by construction across the codebase. You audit it by finding the tenant value at each data operation and tracing it back: does it come from the authenticated session, or from something the client controls, and is there a mandatory scope that covers this path at all. The decisive false positive is a central, invisible enforcement, a global scope or a row-level policy, so establish that first.

When to use

  • One deployment or database serves multiple tenants, organizations, or workspaces, separated by a scope rather than by isolation.
  • Data operations take an object identifier, a tenant selector, or run in a background job or export.
  • You want to know whether any authenticated tenant can reach another tenant's data.

Scope check

Test cross-tenant access only in systems you own or are authorized to assess, using tenants you control. A confirmed bleed exposes another customer's data, so use only test tenants and coordinate disclosure. If you can't name the authorization, stop.

The loop

  1. Establish the enforcement model first. Determine how tenant scoping is meant to be enforced: a mandatory global scope or base query that injects the tenant on every call, a database row-level policy bound to a per-request tenant, or per-query discipline where each query must add its own predicate. Which model is in force decides what an unscoped-looking query means, so settle it before flagging anything.

Read the full file on GitHub · 141 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 141 lines · 186 tokens per session scan B 2b9809990b03

Subscribe to this mod's changes

auditing-multi-tenant-isolation is a skill published in the GitHub repository UnboundCompute/security-agent-skills (28 stars, last pushed 2mo ago), licensed MIT. It adds 186 tokens to every session and 2,189 once invoked, about $0.0007 per session on Opus 5.5. A static security scan graded it B with 1 finding (nullifies safety policies). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

auditing-multi-tenant-isolation compared with skills from other repositories

auditing-multi-tenant-isolation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
auditing-multi-tenant-isolationUnboundCompute/security-agent-skillsSkill282mo agoMITB186Claude Code
detecting-ai-model-prompt-injection-attacksxalgorix/xalgorixSkill1.6kyesterdayApache-2.0B153Claude Code, Codex
prodcheck-reviewFarzamHabibi/pre-production-checklistSkill1622d agononeA72Claude Code, Codex
auditing-cloud-with-cis-benchmarksxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A85Claude Code, Codex
analyzing-windows-lnk-files-for-artifactsxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A36Claude Code, Codex
implementing-application-whitelisting-with-applockerxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A87Claude Code, Codex
conducting-api-security-testingxalgorix/xalgorixSkill1.6kyesterdayApache-2.0A99Claude Code, Codex