agent-runtime-validati…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Maps cloud identity and authorization paths across AWS, Azure, GCP, and hybrid trust boundaries, separating proven access from plausible and blocked routes. Use during an authorized cloud penetration test when tracing how a starting identity could assume roles, use credentials,
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill cloud-attack-path --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill cloud-attack-path -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill cloud-attack-path -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill cloud-attack-path -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill cloud-attack-path -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill cloud-attack-path -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill cloud-attack-path -a windsurf -y
name: cloud-attack-path description: "Maps cloud identity and authorization paths across AWS, Azure, GCP, and hybrid trust boundaries, separating proven access from plausible and blocked routes. Use during an authorized cloud penetration test when tracing how a starting identity could assume roles, use credentials, execute workloads, cross providers, or reach sensitive data." allowed-tools: Read Grep Glob
Cloud attack paths are identity graphs. A principal reaches an objective through permissions, credentials, workload identities, federation, and resource policy. An allow statement is one input to that graph, not proof that the edge works.
Use this skill only inside written authorization. Mapping a possible path does not authorize credential retrieval, role assumption, deployment, data access, or any other validation action.
1. **Define the endpoints.** State the starting identity, target resource or data, the cloud boundaries in scope, and the smallest proof the engagement requires. 2. **Record evidence before conclusions.** Classify each source as observed, reported current, reported stale, or inferred. Names such as `prod-admin-key` suggest provenance; they do not establish it. 3. **Normalize the graph.** Represent identities, credentials, services, resources, and data as nodes. Represent authorization, impersonation, credential material, federation, workload execution, and resource access as directed edges. 4. **Resolve effective access.** Account for identity and resource policies, explicit denies, conditions, permission boundaries, session restrictions, organization policy, encryption controls, service enablement, and network or perimeter controls that apply. Keep unresolved layers visible. 5. **Classify every edge.** Use:
6. **Make boundary crossings explicit.** For every account, tenant, project, provider, or on-premises crossing, name the trust mechanism and its evidence. Credential files, federation, and workload identity are separate transitions. 7. **Assemble continuous paths.** Each edge must begin where the previous edge ended. Include blocked branches because they explain why apparent privilege does not produce a route. 8. **Plan minimum validation.** Prefer metadata and policy reads. Classify each validation step and compare it with written authorization. Mark credential reads, content access, active execution, and state changes as requiring separate approval when they are not already allowed. 9. **State only what the path proves.** A path is:
session policy, resource policy, KMS policy, condition, or explicit deny. `PassRole` needs a permitted service action that can consume the role.
assignment scope, deny assignments, managed identities, vault mode, and conditional access or network restrictions relevant to the transition.
does not itself mint a token. Resolve allow and deny policies, conditions, service enablement, service agents, and perimeter controls.
the identity it may represent as another. The mapping between them needs its own evidence.
The script cannot interpret live provider policy or determine whether a counterfactual deployment would succeed. It verifies the normalized record: references, continuity, evidence strength, boundary declarations, deny precedence, authorization classes, and claim strength. A clean result means the assessment is honest about its inputs, not that the attack path is executable.
| Thought | Reality | |---|---| | "The policy says Allow, so the edge is proven." | Effective access is the result of every applicable policy and condition. Record unresolved layers. | | "The secret name tells us which identity it belongs to." | A name is inferred provenance. Use a key ID, application ID, deployment record, or other non-secret evidence. | | "PassRole means I can become that role." | It only matters with an allowed service action that accepts the role. | | "actAs is direct impersonation." | GCP workload attachment and token creation are different permissions. | | "We can deploy a harmless function to verify it." | Deployment changes state and creates telemetry. Authorization decides whether it is permitted. | | "The final object permission proves the whole chain." | Every preceding identity and trust transition must also hold. | | "the record is complete, so the path works." | It passed structural and evidentiary checks over supplied facts. Provider behavior still requires authorized validation. |
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…
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…