DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to test RAG tenant boundaries with controlled fixtures with Skills

Measure whether one tenant's documents can surface for another tenant using benign fixtures you control.

Short answer: Install the plugin marketplace in Claude Code with /plugin marketplace add zero-lab-ai/skills, or in Codex with codex plugin marketplace add zero-lab-ai/skills; then select the rag-security bundle from the plugin menu; create benign canary documents in test tenants that you own, and record which tenant each one belongs to. All steps.

Authorization notice. Skills is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA developer or security reviewer on a multi-tenant retrieval app who needs to confirm tenant isolation before a release.

The problemRetrieval filters can fail quietly, so one tenant's content may appear in another tenant's answers.

The outcomeA record of exposure states for each tenant boundary tested, with the fixtures used.

What you need first

  • Written authorization and rules of engagement for the target system
  • A coding agent that reads SKILL.md, such as Claude Code or Codex
  • Supplied evidence for the assessment, such as tool definitions, exported policy, or test-tenant fixtures

Steps

  1. Install the plugin marketplace in Claude Code with /plugin marketplace add zero-lab-ai/skills, or in Codex with codex plugin marketplace add zero-lab-ai/skills.
  2. Select the rag-security bundle from the plugin menu.
  3. Create benign canary documents in test tenants that you own, and record which tenant each one belongs to.
  4. Run the rag-data-exposure-audit skill against the retrieval endpoint and record each exposure state it reports.

Prompt for your agent

Using the rag-data-exposure-audit skill from the zero-lab-ai/skills repo, test the retrieval endpoint <endpoint-url> with the canary fixtures I created in tenants <tenant-a> and <tenant-b>. Return one exposure state per boundary, with the query and the returned canary. Verify that every canary returned belongs to the tenant named in the result.

Caveat. Run this only against tenants you own or have written permission to test, because the Skills do not expand scope.

Use this in your AI agent

Ask your agent

Using the Deduped MCP, get the setup steps for zero-lab-ai/skills and "Test RAG tenant boundaries with controlled fixtures"

Add Deduped to Claude Code once

claude mcp add --transport http deduped https://dedupedai.com/mcp

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer