agent-runtime-validati…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Assesses and ranks Windows, Linux, and cloud privilege-escalation paths using observed prerequisites, execution authority, operational signal, reliability, risk, cleanup, and verification. Use after gaining an authorized foothold or cloud identity when deciding whether elevation
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill privilege-escalation-assessment --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill privilege-escalation-assessment -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill privilege-escalation-assessment -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill privilege-escalation-assessment -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill privilege-escalation-assessment -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill privilege-escalation-assessment -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill privilege-escalation-assessment -a windsurf -y
name: privilege-escalation-assessment description: "Assesses and ranks Windows, Linux, and cloud privilege-escalation paths using observed prerequisites, execution authority, operational signal, reliability, risk, cleanup, and verification. Use after gaining an authorized foothold or cloud identity when deciding whether elevation is necessary and which candidate path is defensible." allowed-tools: Read Grep Glob
A candidate condition is not elevated access. Record the current principal, the required objective, the evidence for every prerequisite, and the exact identity proof produced after any authorized execution.
This skill evaluates vertical privilege transitions on one host, container, or cloud authority boundary. Use a directory or cloud attack-path workflow for multi-principal graph traversal, and a persistence workflow for durable access. Enumeration authorization does not authorize exploitation or state change.
1. Record the subject, platform, current principal and privilege, desired privilege, authorization reference, monitoring context, and whether the mission actually requires elevation. 2. Collect evidence with a source, locator, known timestamp or bounded observation window, and bounded summary. Do not invent precision when only a collection interval is known. Tool output is evidence input; its severity label is not a conclusion. 3. Cover the common context categories and every category required for the platform. Preserve blocked and inconclusive areas instead of calling them clean. 4. Build each candidate from explicit prerequisites. Mark each prerequisite `met`, `unmet`, or `unknown` and cite evidence for every `met` or `unmet` judgment. 5. Derive candidate status: all prerequisites met is `confirmed`; any unmet is `rejected`; otherwise it is `conditional`. A product version alone does not establish exploitability; patch state and environmental compatibility remain separate prerequisites. 6. State execution authority separately as `authorized`, `approval-required`, or `prohibited`. Describe state changes, operational signal, expected privilege, reliability, risk, complexity, cleanup, and likely detection artifacts before choosing a path. 7. After an authorized attempt, record execution and verification evidence. Only a successful identity or effective-permission check establishes achieved privilege. Record failure and partial results without rewriting the candidate.
paths when they meet the objective with less risk.
only that condition. Preserve every downstream trigger and boundary.
different transitions; record the actual starting state.
platform, patch, architecture, and lab evidence before ranking them as reliable.
permission boundaries, trust policy, and the resulting principal all matter.
and do not select an escalation merely to complete a checklist.
chain; scanners report candidates and can miss patches, ACLs, or trigger state.
proof of patch state, architecture compatibility, or successful execution.
execution context, and resulting identity still need evidence.
changing policy, starting services, assuming roles, and invoking workloads are stateful actions that need explicit authority.
principal or permission in the new context and cite that evidence.
signal, risk, and cleanup work without value.
ready to execute, especially when it changes services, tasks, files, or IAM.
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…