skills/mukul975/anthropic-cybersecurity-skills/exploiting-ms17-010-eternalblue-vulnerability/Gen Agent Trust Hub
exploiting-ms17-010-eternalblue-vulnerability
Pass
Audited by Gen Agent Trust Hub on Sep 17, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/agent.pyscript invokes thenmaputility usingsubprocess.check_outputto perform vulnerability checks. While implemented securely using a command list, this allows the agent to interact with the local networking environment. - Evidence:
subprocess.check_output(["nmap", "-p", "445", "--script", "smb-vuln-ms17-010", target_ip], ...)inscripts/agent.py. - [INDIRECT_PROMPT_INJECTION]: The vulnerability scanning logic in
scripts/agent.pyandscripts/process.pyreads raw responses from remote SMB services. This data is incorporated into the agent's output and reports, potentially allowing a malicious host to provide crafted responses. - Ingestion points: Raw socket reads in
scripts/agent.pyandscripts/process.pyusingsock.recv(4096). - Boundary markers: The skill does not use explicit boundary markers or "ignore instructions" tags when processing or reporting the results of these network reads.
- Capability inventory: The skill includes file system write capabilities (
args.output) and external command execution (nmap). - Sanitization: There is no sanitization or escaping of the network-derived data beyond checking for specific binary SMB header patterns.
Audit Metadata