Skip to content
Back to skills

Multitenancy Isolation

ASecurity

マルチテナント前提の設計差分から、テナント分離(データ/権限/リソース/障害影響)の抜けや越境リスクを検出

  • 4 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 2, 2026
code-qualitygosecurity

Security analysis

A100/100

Pro scans all 11 files and shows the line behind each finding

Scanned September 2, 2026

npx -y skills add s977043/river-review --skill multitenancy-isolation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Multitenancy Isolation?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Multitenancy Isolation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/s977043-multitenancy-isolation/badge)](https://www.skillsdirectory.com/skills/s977043-multitenancy-isolation)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: 'multitenancy-isolation'
name: Multitenancy Isolation Guard
description: マルチテナント前提の設計差分から、テナント分離(データ/権限/リソース/障害影響)の抜けや越境リスクを検出
version: 0.1.0
category: upstream
phase: upstream
applyTo:
  - 'docs/**/*'
  - 'design/**/*'
  - 'architecture/**/*'
  - 'specs/**/*'
  - 'config/**/*'
  - 'infrastructure/**/*'
tags:
  - multitenancy
  - isolation
  - security
  - architecture
  - upstream
severity: major
inputContext:
  - fullFile
outputKind:
  - findings
  - actions
modelHint: balanced
dependencies:
  - code_search
---

## Pattern declaration

Primary pattern: Reviewer
Secondary patterns: Inversion
Why: マルチテナント設計の差分からテナント分離(データ/権限/リソース/障害影響)の抜けをレビューし、テナント越境シナリオを逆照射する。

## Guidance

- Confirm tenant scoping for data paths (queries, cache keys, queues, storage).
- Check auth and authorization flows prevent cross-tenant access (IDOR, tenant headers).
- Call out noisy-neighbor risks: shared pools, rate limits, or job queues without fairness.
- Ensure failure isolation and observability are tenant-aware.

## Non-goals

- テナント以外の一般的な設計批評は避ける。

## Pre-execution Gate / 実行前ゲート

このスキルは以下の条件がすべて満たされない限り`NO_REVIEW`を返す。

- [ ] 対象ファイルにマルチテナントに関する設計・アーキテクチャドキュメントが含まれている
- [ ] 対象ファイルにテナント分離(データアクセス・権限・リソース分離)に関する記述がある
- [ ] inputContextにfullFileが含まれている

ゲート不成立時の出力: `NO_REVIEW: multitenancy-isolation — マルチテナント設計に関する差分がない`

## False-positive guards

- 既に tenant_id フィルターや RLS/名前空間化が明示されている場合、差分外の記述のみでは指摘しない。

Files in this skill

  • README.md3.9 KB
  • SKILL.md2 KB
  • eval/promptfoo.yaml1.8 KB
  • fixtures/01-missing-tenant-filter-happy.md1 KB
  • fixtures/02-proper-tenant-isolation.md1.4 KB
  • fixtures/03-shared-resource-noisy-neighbor.md1.2 KB
  • golden/01-missing-tenant-filter-happy.md868 B
  • golden/02-proper-tenant-isolation.md289 B
  • golden/03-shared-resource-noisy-neighbor.md1.6 KB
  • prompt/system.md5.4 KB
  • prompt/user.md2.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.