agent-runtime-validati…
Plans and evaluates bounded runtime tests of AI agents, tools, memory, hooks, approvals, and scope enforcement. Use when static…
Assesses a freshly compromised host quietly before acting — who/where/what's here/what's watching/what's around — using local reads and living-off-the-land so the SOC never sees the recon. Use right after gaining a foothold, before privilege escalation or lateral movement, or
Claude Code
$ npx -y skills add zero-lab-ai/skills --skill situational-awareness --agent claude-code
Codex
$ npx skills add zero-lab-ai/skills --skill situational-awareness -a codex -y
Cursor
$ npx skills add zero-lab-ai/skills --skill situational-awareness -a cursor -y
Gemini CLI
$ npx skills add zero-lab-ai/skills --skill situational-awareness -a gemini-cli -y
GitHub Copilot
$ npx skills add zero-lab-ai/skills --skill situational-awareness -a github-copilot -y
OpenCode
$ npx skills add zero-lab-ai/skills --skill situational-awareness -a opencode -y
Windsurf
$ npx skills add zero-lab-ai/skills --skill situational-awareness -a windsurf -y
name: situational-awareness description: "Assesses a freshly compromised host quietly before acting — who/where/what's here/what's watching/what's around — using local reads and living-off-the-land so the SOC never sees the recon. Use right after gaining a foothold, before privilege escalation or lateral movement, or when deciding whether an enumeration command is quiet enough to run." allowed-tools: Read Grep Glob Bash
The shell is blinking. You're in. Now sit on your hands for sixty seconds.
The first mistake most operators make is `whoami && ipconfig && net user && systeminfo` in rapid fire — while Sysmon logs every process, the EDR watches, and the night-shift analyst gets a very interesting alert. **Assess before you act, and assess quietly.** Every command is a potential detection.
Answer these before you escalate, dump, or move:
1. **Who am I?** user, privileges, groups 2. **Where am I?** host, network, domain 3. **What's here?** software, data, services 4. **What's watching me?** security tools, logging, alerting — answer this *early*, because it changes how you answer the rest 5. **What's around me?** other systems, connections, trust relationships
uv run {baseDir}/scripts/classify_enum.py plan.jsonClassifies each planned command by the signal it generates and **fails a stealth-required plan that contains a loud or unclassified command.**
Unknown commands fail closed; a monitored channel (PowerShell, WMI) is `blend` but flagged, because "it ran" is not "it was unseen". See `references/noise-levels.md`.
The quietest enumeration sends no new packets and uses no dropped tools:
talked to. Active targets, zero new traffic.
mDNS, LLMNR and DHCP reveal hostnames and services without a probe.
computer and SPN. That is inventory without a port scan, and it looks like normal admin traffic.
`/dev/tcp` check reads as background admin noise; a port scanner reads as an attacker.
| Thought | Reality | |---|---| | "Let me just run my standard recon one-liner." | That one-liner is a signature. Rapid-fire enumeration is the classic post-exploitation alert. | | "I'll scan the subnet to see what's around." | A scan from a foothold is the loudest thing you can do. Read the ARP cache and ask the DC instead. | | "PowerShell ran, so I'm fine." | PowerShell is script-block logged and AMSI-scanned. It ran and it was recorded. | | "I need a full picture before I move." | Completeness is a pentest value. Here, the picture you got without being seen beats the complete one that burned your access. | | "This command isn't in the classifier, probably quiet." | Unknown fails closed. Assess its signal before you run it, not after. | | "Answer 'what's watching me' later." | Answer it first. What's watching changes every other choice you make on the host. |
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…