More screenshots

    Works with the AI Agents you already use

    RAG Tenant Isolation Test Reviewer

    by Pat Hogen

    1

    Review RAG tenant isolation test evidence, detect cross-tenant data exposure in retrieved documents, citations and generated answers, and identify incomplete security tests using deterministic Python validation.

    $5

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    What it does

    • Reviews captured two-tenant canary test results
    • Detects foreign canary strings and document identifiers in supported output fields
    • Checks retrieved documents, source citations and generated answers for cross-tenant exposure
    • Verifies positive controls and bidirectional isolation test coverage
    • Flags incomplete evidence and unconfirmed actor identity
    • Produces structured PASS, FAIL or UNVERIFIED security review results

    Who it's for

    AI application developers

    Review tenant isolation evidence before releasing multi-user RAG applications.

    Try asking: “Review these two-user RAG isolation test results and identify any data exposure.”

    Application security engineers

    Identify observed cross-tenant exposure and gaps in isolation test coverage.

    Try asking: “Audit these captured canary test results for authorization boundary failures.”

    AI quality assurance engineers

    Standardize the evaluation of positive controls and cross-tenant security tests.

    Try asking: “Check whether these four tenant isolation test cases meet the validation criteria.”

    Platform and cloud engineers

    Evaluate supplied isolation regression evidence before deploying application changes.

    Try asking: “Review these RAG regression test results and identify missing security evidence.”

    RAG Tenant Isolation Test Reviewer

    RAG Tenant Isolation Test Reviewer

    Example session with this skill installed

    Review these synthetic RAG tenant isolation test results.

    Tenant A

    • Canary: ALPHA-SYNTH-01
    • Document ID: DOC-A

    Tenant B

    • Canary: BRAVO-SYNTH-02
    • Document ID: DOC-B

    All four cases have confirmed actor authentication and complete capture of retrieved hits, citations and final answers. Empty fields represent observed empty output.

    TestHTTP statusRetrieved hit ID and textCitationFinal answer
    A to A200DOC-A: ALPHA-SYNTH-01DOC-AALPHA-SYNTH-01
    A to B403EmptyEmptyBRAVO-SYNTH-02
    B to A403EmptyEmptyEmpty
    B to B200DOC-B: BRAVO-SYNTH-02DOC-BBRAVO-SYNTH-02

    Evaluate both positive controls and cross-tenant tests. Identify observed data exposure, missing passing test directions and recommended next steps.

    • Read your context and instructions
    • Compiled the rag tenant isolation

    RAG Tenant Isolation Review

    Overall result: FAIL

    Foreign tenant data was observed in the captured A-to-B test answer despite an HTTP 403 denial response.

    Test results

    DirectionPurposeHTTPVerdict
    A to APositive control200PASS
    A to BCross-tenant isolation403FAIL
    B to AReverse isolation403PASS
    B to BPositive control200PASS

    Evidence

    A to A — PASS

    Tenant A's own canary was retrieved, cited and returned in the answer.

    A to B — FAIL

    Foreign canary BRAVO-SYNTH-02 was observed in Tenant A's captured answer. The HTTP 403 response does not override this evidence of exposure.

    B to A — PASS

    The request was denied without observed foreign evidence in the captured output.

    B to B — PASS

    Tenant B's own canary was retrieved, cited and returned in the answer.

    Test coverage

    • Required directions: 4
    • Passing directions: 3
    • Failing directions: 1
    • Missing passing direction: AB

    Recommended next steps

    1. Investigate why Tenant B's canary appeared in Tenant A's captured answer.
    2. Review authorization enforcement, retrieval boundaries and response construction.
    3. Check whether cached responses or shared application state could contribute to the exposure.
    4. Correct the identified issue and repeat all four test directions.
    5. Add the failing observation to the authorized security regression suite.

    The observed evidence establishes a failure in this test case, but does not independently identify the underlying implementation defect.

    Validation method: Deterministic Python checker executed locally against synthetic test evidence.

    Scope limitation: This review does not prove server-side enforcement, authentication correctness or the absence of other data leaks. It is not a security certification.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A successful API response does not prove tenant isolation

    Retrieval-augmented generation (RAG) applications must prevent users from accessing information belonging to other tenants. HTTP status codes alone are insufficient to establish whether this security boundary is working.

    RAG Tenant Isolation Test Reviewer evaluates captured security test evidence using a structured, repeatable validation process.

    How it works

    1. Provide authorized test observations from two synthetic or redacted tenants with distinct canary strings and document identifiers.
    2. The skill organizes authentication evidence, HTTP status codes, retrieved documents, citations and generated answers.
    3. A deterministic Python checker evaluates each test against explicit isolation rules.
    4. The checker assesses positive controls and cross-tenant tests in both directions.
    5. Receive a structured report identifying observed exposure, incomplete evidence and recommended follow-up testing.

    Four-direction test coverage

    • A to A: Tenant A positive control.
    • A to B: Cross-tenant isolation test.
    • B to A: Reverse cross-tenant isolation test.
    • B to B: Tenant B positive control.

    Clear validation results

    • PASS: All required test directions satisfy the defined observation-based rules.
    • FAIL: Foreign canary data or document evidence is detected.
    • UNVERIFIED: Evidence, authentication confirmation or required test coverage is insufficient.

    Key benefits

    • Identify observed cross-tenant data exposure.
    • Avoid relying exclusively on HTTP status codes.
    • Review retrieval results, citations and generated answers.
    • Identify missing security regression tests.
    • Generate consistent, explainable findings.

    Privacy and requirements

    The included checker requires no external APIs, additional paid tools, credentials or direct network access. Use synthetic or redacted evidence. Python execution enables deterministic validation, with a labeled manual review fallback when execution is unavailable.

    Limitations

    This skill reviews supplied observations only. It does not perform live security testing, access target applications, verify server-side authorization implementation or provide security certification. A passing result does not establish the absence of all possible data leaks.

    Reviews supplied observations from two tenants using distinct, nonoverlapping canary strings and document identifiers. Uses exact case-sensitive matching and requires confirmed actor identity, complete output capture and all four test directions for a passing result. Cannot establish server-side authorization correctness, detect every possible form of data leakage or certify application security. Does not execute live security probes. Manual fallback results are not script-verified.

    Built using the open SKILL.md format and a self-contained Python validation script. Uses exact case-sensitive canary matching, document identifier comparisons, explicit authentication and capture-completeness flags, positive controls, and four-direction test coverage. Includes SKILL.md, scripts/audit.py and synthetic examples in references/examples.md. Structured JSON input and output with deterministic PASS, FAIL and UNVERIFIED rules. No third-party Python packages, API keys or persistent data storage are required. Version 0.1.0 passed nine local validation scenarios. Independent agent integration testing has not yet been completed.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 1 day ago

    Software
    Python 3.9+ (for deterministic validation)

    Python is required for deterministic script execution. A labeled manual review fallback is available for agents without terminal access. Use synthetic or redacted test evidence. No API keys, credentials or external accounts are required.

    Permissions

    Terminal / Shell
    Read Files

    File Scopes

    SKILL.md
    scripts/audit.py
    references/examples.md

    Terminal access executes the bundled Python checker. File access reads skill instructions, examples and explicitly supplied test evidence. The checker processes JSON through standard input and returns results through standard output. No live target access, network connections, credentials or persistent file writes are required.

    Listed1 day ago

    What's inside

    Frequently Asked Questions

    No. It reviews authorized, user-supplied security test observations without accessing target systems.

    No. A PASS applies only to the supplied observations and defined validation criteria. It is not a security certification.

    Yes. Observed foreign canary or document evidence causes a failure regardless of the HTTP status code.

    Incomplete evidence or missing passing test directions produces UNVERIFIED unless observed foreign evidence establishes a failure.

    A labeled manual review fallback is available. Deterministic script validation requires Python execution.

    New in Security

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.