skills/mukul975/anthropic-cybersecurity-skills/performing-active-directory-penetration-test/Gen Agent Trust Hub
performing-active-directory-penetration-test
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
agent.pyandprocess.pyautomate calls to external security tools (such as NetExec, Impacket, and BloodHound) usingsubprocess.run(). This is the primary purpose of the skill and facilitates Active Directory enumeration and exploitation tasks.\n- [INDIRECT_PROMPT_INJECTION]: The skill exhibits an indirect prompt injection surface inprocess.py, where output from thenetexectool is parsed to generate a list of domain users, which is then used as input for subsequent tool executions.\n - Ingestion points: The
enumerate_domain_usersfunction inscripts/process.pyparsesstdoutfrom thenetexeccommand.\n - Boundary markers: None present to delimit tool output from agent instructions.\n
- Capability inventory: Execution of various security CLI tools via
subprocess.run, file system writes for user lists and reporting, and LDAP queries vialdap3.\n - Sanitization: Basic string splitting and filtering is performed, but no robust validation of the parsed usernames is implemented before their use in subsequent file-based tool inputs.
Audit Metadata