Skills for Real Engineers. Straight from my .agents directory.
hunt-ldap
Agent skill fromelementalsouls/Claude-BugHunter
Hunt LDAP Injection and XPath Injection — authentication bypass, blind char-by-char attribute exfiltration, AD user/group enumeration, XML-store XPath bypass. Covers the LDAP special-character set (* ( ) \\ NUL /), search-filter-context vs DN-injection, parenthesis-balancing, AND/OR filter logic, and {SSHA}/{CRYPT} userPassword exfil on non-AD directories. Use when target uses LDAP/AD authentication, corporate SSO with a directory backend, an address-book/people-search API, or XML-based data stores queried with XPath.
How to install hunt-ldap
npx skills add elementalsouls/Claude-BugHunter# or add only this skill to Claude Code: copy the folder
skills/hunt-ldap/
# into
~/.claude/skills/hunt-ldap/ (all projects)
.claude/skills/hunt-ldap/ (one project)
1# HUNT-LDAP — LDAP Injection & XPath Injection23> Grounding note: LDAP injection is rarely disclosed with verbatim payloads on4> public platforms (most live on internal-pentest reports). This skill is5> grounded in the **OWASP LDAP Injection Prevention / Testing Guide6> (WSTG-INPV-06)**, **PortSwigger Web Security Academy (LDAP injection)**, and7> the **RFC 4515** filter grammar — all publicly verifiable references rather8> than invented HackerOne IDs. Do not cite a report you cannot link.910## Crown Jewel Targets1112LDAP injection that bypasses authentication = **Critical**. Blind attribute13exfiltration of credentials/secrets = **High**. AD enumeration alone = Medium-High.1415**Highest-value chains:**16- **LDAP auth bypass** — close the `uid` filter and append an always-true OR so the17 bind/search returns the admin entry without a valid password.18- **Blind attribute exfil** — char-by-char extraction of an attribute value via a19 boolean oracle (login success/failure, result count, or response length).20- **userPassword hash exfil (non-AD only)** — on OpenLDAP/389-DS the21 `userPassword` attribute can hold `{SSHA}`/`{CRYPT}` hashes that ARE readable22 by query. See the AD-vs-generic warning below.23- **XPath injection auth bypass** — `' or '1'='1` against XML-backed auth.2425---2627## CRITICAL — Active Directory vs generic LDAP2829Do **not** conflate the two. They behave very differently:3031| | Generic LDAP (OpenLDAP, 389-DS, ApacheDS) | Active Directory |32|---|---|---|33…
Excerpt shown under the repository's MIT license.
More skills in Claude-BugHunter
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The open-source app everyone uses to manage agents at work
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
