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
- Install the plugin marketplace in Claude Code with
/plugin marketplace add zero-lab-ai/skills, or in Codex withcodex plugin marketplace add zero-lab-ai/skills. - 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.
- 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
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer