jndi-map

jndi-map is a skill for Claude Code from X1r0z/JNDIMap. It costs 103 tokens per session (1,457 once invoked), scanned A, original, MIT.

A guide for running JNDIMap, a Java security-testing tool that starts RMI, LDAP, or LDAPS services and builds test payload URLs for supported scenarios.

In plain words
What is it for?
Use it to set up JNDIMap, select protocol and payload modules, construct JNDI URLs, configure ports and advanced options, and troubleshoot execution.
Why use it?
It explains the required Java version, checks for the tool’s JAR file, and helps choose the right service, options, and URL format. This reduces setup and command-line mistakes during authorized testing.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to set up JNDIMap, select protocol and payload modules, construct JNDI URLs, configure ports and advanced options, and troubleshoot execution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/x1r0z/jndimap/jndi-map
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add X1r0z/JNDIMap --skill jndi-map
Clone the repo
git clone --depth 1 https://github.com/X1r0z/JNDIMap

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for jndi-map

README.md
[![agentmods](https://agentmods.dev/badge/skills/x1r0z/jndimap/jndi-map/github.svg)](https://agentmods.dev/skills/x1r0z/jndimap/jndi-map)
Your own site
<a href="https://agentmods.dev/skills/x1r0z/jndimap/jndi-map"><img src="https://agentmods.dev/badge/skills/x1r0z/jndimap/jndi-map/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for jndi-map

Your own site · 80×15
<a href="https://agentmods.dev/skills/x1r0z/jndimap/jndi-map"><img src="https://agentmods.dev/badge/skills/x1r0z/jndimap/jndi-map.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,457 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to critical

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • critical YARA Match · line 61
    YARA rule matched a known malware signature (reverse shell, backdoor, ransomware, C2 framework, or info stealer).
    Fix: Remove the malware payload or compromised file entirely. Investigate how it entered the skill and audit all other artifacts for additional indicators of compromise.
  • medium Data Exfiltration · line 36
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00103 $0.01457
Opus 5 $0.00051 $0.00728
Sonnet 5 $0.00021 $0.00291
Haiku 4.5 $0.00010 $0.00146

Measured 10d ago against content hash a8e0c69b7f86, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

jndi-map scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

asset_url="$(curl -s https://api.github.com/repos/X1r0z/JNDIMap/releases/latest | sed -n 's/.*"browser_download_url": "\(.*JNDIMap[^"]*\.jar\)".*/\1/p' | head -n 1)"
skills/jndi-map/SKILL.md · 120 lines

How it starts

The opening of the file, as written. The whole thing — 120 lines — stays where its author put it; the contents beside it link to each section on GitHub.

JNDIMap

Use this skill to help with JNDIMap setup, documentation lookup, command construction, URL format selection, protocol configuration, module selection, and troubleshooting. JNDIMap supports LDAP, RMI, and LDAPS services, Basic payloads, BeanFactory bypasses, JDBC-related payloads, LDAP deserialization, Hessian, Tomcat XXE, custom scripts, and advanced runtime options.

Start Here

  1. Check the local runtime before giving run commands:
    • JNDIMap is recommended for JDK 8 or newer.
    • Run java -version when the user wants to execute JNDIMap locally.
    • If Java is missing or older than Java 8, explain that JDK 8+ is required before running the jar.
  2. Ensure the JNDIMap jar exists before using it.
    • Look for scripts/JNDIMap*.jar.
    • Treat scripts/ as empty if it only contains placeholder files such as .gitkeep.
    • On first use, if no JNDIMap jar is present, automatically download the latest release jar from https://github.com/X1r0z/JNDIMap/releases/latest into scripts/.

First-Use Setup

When scripts/ has no JNDIMap*.jar, download the latest release asset whose name matches JNDIMap*.jar.

Use this approach from the skill directory:

mkdir -p scripts
asset_url="$(curl -s https://api.github.com/repos/X1r0z/JNDIMap/releases/latest | sed -n 's/.*"browser_download_url": "\(.*JNDIMap[^"]*\.jar\)".*/\1/p' | head -n 1)"
test -n "$asset_url"
curl -L "$asset_url" -o "scripts/$(basename "$asset_url")"

After downloading, use the discovered jar path in later commands:

jar_path="$(find scripts -maxdepth 1 -type f -name 'JNDIMap*.jar' | sort | tail -n 1)"
java -jar "$jar_path" -h

Documentation Selection

Read only the document section relevant to the user's task.

Prefer Chinese references for Chinese conversations and English references for English conversations.

  • General overview, features, compile notes, and quick start: references/README.md or references/README.en.md
  • CLI flags, ports, URL format, payload categories, bypasses, JDBC, deserialization, scripts, and advanced options: references/USAGE.md or references/USAGE.en.md

Read the full file on GitHub · 120 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 120 lines · 103 tokens per session scan A a8e0c69b7f86

Subscribe to this mod's changes

jndi-map is a skill published in the GitHub repository X1r0z/JNDIMap (601 stars, last pushed 4mo ago), licensed MIT. It adds 103 tokens to every session and 1,457 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

analyzing-active-directory-acl-abuse

Detect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths.

mukul975/Anthropic-Cybersecurity-Skills · 36 tokens

hunt-auth-bypass

Hunting skill for auth bypass vulnerabilities. Built from 12 public bug bounty reports across SAML XSW / parser-differential (GitHub Enterprise CVE-2025-25291/25292), SAML signature stripping (Uber, Rocket.Chat, samlify CVE-2025-47949), SAML domain enforcement bypass via control characters (HackerOne 2024)…

uphiago/recon-skills · 172 tokens

hunt-ldap

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}…

uphiago/recon-skills · 118 tokens

hunt-mfa-bypass

Hunt MFA / 2FA bypass — 7 distinct patterns. (1) MFA not enforced on sensitive endpoints (password change, email change accept without MFA challenge), (2) MFA-step skip via direct navigation to post-login URL, (3) MFA-token replay (same code accepted twice), (4) brute-force the 6-digit OTP without rate limit (10^6…

uphiago/recon-skills · 204 tokens

origin-ip-discovery

Discover origin IPs behind CDN/WAF via favicon hash, DNS history, and SSL certs.

uphiago/recon-skills · 25 tokens

configuring-ldap-security-hardening

Harden LDAP directory services against common attacks including credential harvesting, LDAP injection, anonymous binding, and channel binding bypass. Covers LDAPS enforcement, channel binding, LDAP si.

26zl/cybersec-toolkit · 41 tokens