hunt-ldap
Pass
Audited by Gen Agent Trust Hub on Nov 10, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill utilizes several command-line utilities including
curlfor network requests,python3for string processing and data parsing, andldapsearchfor directory queries. These tools are used according to the skill's stated purpose of security auditing. - [INDIRECT_PROMPT_INJECTION]: The skill defines a workflow that ingests untrusted data from external network targets, creating a potential attack surface for indirect prompt injection.
- Ingestion points: The skill reads and processes responses from external servers via
curlcommands in Phases 1 through 5, which are then reflected in the agent's command output. - Boundary markers: There are no explicit markers or instructions to the agent to treat data returned by the target as untrusted content, which theoretically could allow malicious server responses to influence the agent's following actions.
- Capability inventory: The agent has access to powerful tools such as
curl,python3, andldapsearch, as well as the ability to write to the local file system in the directory specified by${OUTPUT_DIR}. - Sanitization: The skill correctly employs
json.dumpsandurllib.parse.quoteto sanitize data being sent to the target, but it lacks sanitization or structural validation for the raw data received from the target before it is parsed by shell utilities or python scripts.
Audit Metadata