ldap-pentesting
Warn
Audited by Gen Agent Trust Hub on Oct 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill provides numerous shell commands for LDAP enumeration and exploitation using tools like
ldapsearch,nmap,netexec,hydra, andimpacket.\n- [EXTERNAL_DOWNLOADS]: Instructions inSKILL.mdandreferences/ldap-techniques.mdspecify installing theldapdomaindumppackage viapip3 install, which fetches code from a public registry at runtime.\n- [DATA_EXFILTRATION]: The methodology directs the agent to search for and read sensitive system configuration files such as/etc/sssd/sssd.confand/etc/nslcd.confto extract cleartext LDAP credentials.\n- [DYNAMIC_EXECUTION]: Includes Python code snippets utilizing theldap3library for directory modifications, such as overwriting thesshPublicKeyattribute.\n- [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from external LDAP servers (e.g.,ldapsearchoutput) without boundary markers or sanitization. This untrusted content is processed in a context where the agent has significant capabilities, including subprocess execution and file access.
Audit Metadata