agent-surface-audit
Reviews an MCP server's tool surface for tool poisoning, over-broad parameters, missing descriptions, and privilege escalation…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static review is complete and an authorized assessment must determine how the deployed agent actually behaves.
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill agent-runtime-validation --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill agent-runtime-validation -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill agent-runtime-validation -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill agent-runtime-validation -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill agent-runtime-validation -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill agent-runtime-validation -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill agent-runtime-validation -a windsurf -y
name: agent-runtime-validation description: "Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static review is complete and an authorized assessment must determine how the deployed agent actually behaves." metadata: portability: universal discipline: penetration-testing domain: ai-systems tags: [agents, runtime, tools, memory, validation]
Validate deployed agent behavior with benign sentinels and explicit stop conditions. Static manifests describe intended behavior; runtime evidence shows what the integrated system actually does.
memory boundaries, hooks, or identity propagation.
using destructive actions.
tenants.
callbacks, or irreversible state changes.
window is reached.
Require a named environment, isolated test identity, approved tools and action classes, benign sentinel set, attempt and duration budgets, monitoring owner, stop mechanism, cleanup plan, and target-origin evidence source. If any is missing, return a blocked test plan rather than improvising.
1. Bind every test to the authorization reference, environment, identity, version, configuration, tool set, time window, and run identifier. 2. Establish a baseline with an ordinary allowed task. Record prompts, model outputs, agent decisions, approval events, tool requests, runtime dispatches, target receipts, logs, and final state. 3. Use unique inert sentinels instead of secrets or executable payloads. Make each sentinel attributable to one test and harmless if exposed. 4. Test one control question at a time:
5. For every attempt, record expected behavior, observed behavior, evidence source, side effects, control result, and cleanup state. 6. Stop immediately on unexpected privilege, cross-tenant effect, sensitive data exposure, uncontrolled recursion, monitor loss, cleanup failure, or target behavior outside the approved class. 7. Re-test only when the budget allows and the new attempt isolates a specific alternative explanation. Repetition without a new hypothesis is not validation. 8. Grade the result as `enforced`, `bypassed`, `inconclusive`, `blocked`, or `not-tested`. Missing telemetry cannot produce `enforced`. 9. Confirm cleanup and restore the baseline. Record configuration drift and residual artifacts.
Return the bound runtime context, test matrix, baseline, per-attempt receipts, control grades, stop events, evidence limitations, cleanup status, and focused remediation or follow-up questions. Do not include reusable exploit payloads.
layers can violate the declared contract.
what keeps concurrent tests from becoming false evidence.
still have acted.
state from an independent source.
new hypothesis is being isolated.
authorization, safety, or tenant boundaries.
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.
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…
Tracks Android and iOS application assessment coverage across packages, platform components, local storage, device behavior,…
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…