Command Palette

Search for a command to run...

Назад к скиллам
скилл № 30073

security-multitenancy

Verify tenant isolation, RLS, cache and storage. Loaded by the Navin Security router for the matching stack or findings; also usable on its own.

БесплатноБез исполняемых скриптов
Navinspire-iaот Navinspire-ia★ 37 звёзд на GitHub

Установить security-multitenancy в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Multitenancy (Navin Security)

Overview

Verify that tenant A can never read or write tenant B through the app, the database, caches or storage. Default posture is read-only and non-destructive: report evidence and a proposed fix, never exploit, extract data or change the target.

When it applies

  • Triggers: multitenant, database.
  • Families: multitenancy.

Controls covered

Control Level Check
C2.09 L3 Multi-tenant isolation: tenant_id source, RLS, cache

Engines

  • Other engines named by the catalog: navin_tenant. Use one only when it is installed.
  • A scanner that is not installed or did not run means the check was not done, not that it passed.

Method

  1. Find where tenant_id comes from: it must come from the session, never from a header or body the client sets.
  2. Database: row level security enabled and forced on every tenant table, policies using the session claim, no service_role key in a client.
  3. Caches and queues: keys and topics include the tenant; background jobs set the tenant context explicitly.
  4. Storage: object paths and signed URLs scoped per tenant; listing a prefix must not cross tenants.
  5. With two test tenants, repeat each read and write across the boundary and record the denial or the leak.

Evidence and status

  • potential: a rule or a suspicion with static evidence only.
  • confirmed: a dataflow trace from a controlled source to the sink, or a dynamic observation on the running target.
  • exploitable: a non-destructive reproduction showed the impact, in an authorized environment.
  • Every finding carries file and line or endpoint, the evidence, impact, a concrete fix and the control ids above.

Anti-patterns

  • Trusting an ORM default scope without reading where it is bypassed (raw queries, admin tools, exports).
  • Testing with one tenant only and calling the result clean.
  • Treating a clean scan as proof of security: say which controls were not assessed.

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл security-multitenancy?

Verify tenant isolation, RLS, cache and storage. Loaded by the Navin Security router for the matching stack or findings; also usable on its own.

Как установить скилл security-multitenancy?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл security-multitenancy запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить security-multitenancy с