zakirkun/ice-tea/ldap-injection

Claude Code and agent skill by zakirkun/ice-tea

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Detects LDAP queries constructed from user input without proper escaping, enabling authentication bypass and data exfiltration.

Install

npx vskill@latest install zakirkun/ice-tea/ldap-injection

SKILL.md

The same SKILL.md was published earlier as zakirkun/ice-tea/ldap-injection.

LDAP Injection

Overview

LDAP injection occurs when user-controlled input is incorporated into LDAP search filters without sanitization. Attackers can:

  • Bypass authentication by injecting *)(uid=*))(|(uid=*
  • Enumerate directory entries
  • Access unauthorized data

Detection Strategy

Look for LDAP filter strings built via string concatenation or format strings containing request parameters.

Remediation

Use LDAP escaping functions to sanitize input before including in filters.

Vulnerable (Java):

java
String filter = "(&(uid=" + username + ")(userPassword=" + password + "))";
DirContext ctx = new InitialDirContext(env);
ctx.search(baseDN, filter, controls);

Safe (Java):

java
String filter = "(&(uid={0})(userPassword={1}))";
// Use parameterized search with MessageFormat or escaping
String safeFilter = "(&(uid=" + LdapEncoder.encode(username) + "))";

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
39
Repository forks
10
7-day trend score
23

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/zakirkun/ice-tea/ldap-injection/badge)](https://verified-skill.com/skills/zakirkun/ice-tea/ldap-injection)

Something wrong with this skill or its page? Tell us.