agent-runtime-validati…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Assesses whether an authorized retrieval-augmented AI system preserves source, index, retrieval, context, and output integrity. Use when testing RAG poisoning, retrieval hijacking, context saturation, semantic substitution, or citation controls with benign canaries.
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill retrieval-integrity-assessment --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill retrieval-integrity-assessment -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill retrieval-integrity-assessment -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill retrieval-integrity-assessment -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill retrieval-integrity-assessment -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill retrieval-integrity-assessment -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill retrieval-integrity-assessment -a windsurf -y
name: retrieval-integrity-assessment description: "Assesses whether an authorized retrieval-augmented AI system preserves source, index, retrieval, context, and output integrity. Use when testing RAG poisoning, retrieval hijacking, context saturation, semantic substitution, or citation controls with benign canaries." metadata: portability: universal discipline: penetration-testing domain: ai-systems tags: [rag, retrieval, integrity, canaries, provenance]
Measure how content moves from an approved source through ingestion, indexing, retrieval, context assembly, and model output. Use benign canaries to distinguish acceptance from retrieval and retrieval from influence.
fidelity, or retrieval monitoring.
controlled documents and reversible state.
authorization for that action and environment.
uncontrolled public documents as test fixtures.
Keep these states separate:
1. `submitted` — the test document was offered to the ingestion boundary. 2. `accepted` — the service acknowledged the document. 3. `indexed` — index-origin evidence identifies the expected test artifact. 4. `retrieved` — a retrieval receipt ties the artifact to a specific query run. 5. `context-used` — the assembled model context contains the attributed content. 6. `output-influenced` — the response changed in the predicted bounded way. 7. `downstream-acted` — a separate consumer acted on that output.
1. Bind the test to the exact corpus, tenant, connector, index, model route, identity, time window, action authority, cleanup plan, and run identifier. 2. Preserve a clean baseline: source set, query set, retrieval results, ranking, context where observable, response, citations, and telemetry. 3. Create a unique inert canary document. Record its content digest, source, owner, labels, access policy, expected audience, and expiry. 4. Introduce the canary only through the approved ingestion path. Capture separate source, acceptance, indexing, and access-control receipts. 5. Run the same bounded query set. Record top results, scores where available, filters, chunk identifiers, context position, citation mapping, response, cache state, and target-origin timestamps. 6. Test integrity questions independently:
7. Compare baseline and canary runs. Do not attribute a response difference to retrieval when model, route, temperature, cache, corpus, or query also changed. 8. Grade each state in the ladder with its own receipt. Record alternative explanations and the evidence needed for the next state. 9. Remove the canary through the approved path, confirm source and index removal, expire caches where authorized, and record residual retrieval.
Return the bound system context, baseline, canary manifest, query matrix, state-ladder results, provenance and citation observations, tenant and policy findings, alternative explanations, telemetry gaps, and cleanup receipt.
indexing, retrieval, influence, or impact.
already know it or another source may contain it.
the claim and belongs to the expected source and tenant.
integrity observation, not automatically a security impact.
stores can retain content.
retrieval variability and repeat only within the approved budget.
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…