agent-runtime-validati…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Assesses document authorization, tenant isolation, raw-chunk fields, citations, caches, exports, and sensitive-source leakage in retrieval systems. Use when an authorized RAG assessment must determine what data each identity can retrieve or disclose.
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill rag-data-exposure-audit --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill rag-data-exposure-audit -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill rag-data-exposure-audit -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill rag-data-exposure-audit -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill rag-data-exposure-audit -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill rag-data-exposure-audit -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill rag-data-exposure-audit -a windsurf -y
name: rag-data-exposure-audit description: "Assesses document authorization, tenant isolation, raw-chunk fields, citations, caches, exports, and sensitive-source leakage in retrieval systems. Use when an authorized RAG assessment must determine what data each identity can retrieve or disclose." metadata: portability: universal discipline: penetration-testing domain: ai-systems tags: [rag, data-exposure, authorization, multi-tenant, provenance]
Measure whether retrieval and generation preserve document- and tenant-level authorization. Use controlled fixtures and restricted evidence handling so the audit does not amplify any sensitive material it discovers.
enterprise-search deployment.
paths for unintended disclosure.
explicit written authority.
documents.
and digest are sufficient.
Keep these states separate: `metadata-visible`, `candidate-returned`, `chunk-retrieved`, `context-present`, `response-disclosed`, `citation-exposed`, `exported`, and `downstream-propagated`. One state does not prove the next.
1. Bind the audit to exact tenants, identities, roles, corpora, connectors, routes, allowed data classes, query budget, monitoring, and cleanup duties. 2. Build an authorization matrix from authoritative source policy: identity × document or collection × operation. Preserve unknown policy as unknown. 3. Establish controlled fixtures with unique inert markers across allowed, denied, tenant-specific, revoked, deleted, and stale states where authorized. 4. Record source ACL, ingestion identity, index namespace, metadata filters, retrieval identity, model identity, cache keying, and response channel for each fixture. 5. Establish same-identity baselines for ordinary allowed and denied requests. 6. Exercise only approved identity and query pairs. Capture target-origin query, retrieval, context, citation, response, export, cache, and policy receipts. 7. Test exposure surfaces independently:
8. Compare observed exposure with the authoritative matrix. Distinguish policy mismatch from stale policy, cache, route, index, or identity ambiguity. 9. Grade each pair `enforced`, `exposed`, `inconclusive`, `blocked`, or `not-tested`. Missing telemetry cannot produce `enforced`. 10. Remove fixtures, verify source and derived-store cleanup, and record residual retrieval or cached disclosure.
Return the scope, authorization matrix, controlled-fixture register, tested identity pairs, exposure-state receipts, policy mismatches, alternative explanations, restricted evidence references, cleanup status, and owned fixes.
context, citations, or debug fields may already have exposed the content.
indexes, filters, caches, and response paths.
existence, ownership, or project context.
cleanup evidence.
the tested identity with explicit authorized purpose and tenant scope.
identities, routes, fields, and lifecycle states.
Portable, evidence-bound security skills for authorized defensive assessment, penetration testing, red teaming, detection engineering, purple teaming, and engagement operations. The collection contains 56 skills in 10 installable plugins from zero-lab.ai.
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Reviews an MCP server's tool surface for tool poisoning, over-broad parameters, missing descriptions, and privilege escalation…
Maps identity, authority, instruction, data, memory, and approval propagation across agents and agent-to-agent handoffs. Use when…
Assesses whether direct, indirect, multi-turn, retrieved, or tool-mediated instructions can override an AI system's intended…
Maps cloud identity and authorization paths across AWS, Azure, GCP, and hybrid trust boundaries, separating proven access from…
Tracks embedded-device and firmware assessment coverage across exact units, acquisition methods, debug interfaces, stored…
Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication,…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys)…
Clean and finalize authorized natural-language text intended for readers by auditing suspicious invisible Unicode and rewriting…