# hunt-info-disclosure

hunt-info-disclosure — a skill for tracking down information disclosure bugs: exposed .env and .git files, debug endpoints, Spring Boot actuator paths and leaked repo secrets.

- skill · `type=skill` · Claude Code, Cursor, Codex, GitHub Copilot, Gemini CLI, Windsurf (Devin Desktop), Claude.ai · ★ 1298 repo stars
- Author: H-mmer
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/cursor/.cursor/skills/pentest-agents-hunt-info-disclosure/SKILL.md
- Updated: 2026-06-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/skills/hunt-info-disclosure

## What it does

The skill packages a hunting methodology for Information Disclosure / Sensitive Data Exposure findings (CWE-200, CWE-209, CWE-215, CWE-538, CWE-668, CWE-798): exposed `.env` and `.git/config` paths, debug surfaces like `/debug/pprof` or `phpinfo`, Spring Boot Actuator leaks (`/heapdump`, `/env`), source disclosure, stack trace leaks, user or email enumeration, and PII exposed through APIs. It draws on documented CVEs and incidents — the Spring Cloud Gateway family (CVE-2025-41243, CVE-2025-41253), the Volkswagen case where an open `/actuator/heapdump` leaked 9 TB of GPS data, and Unit42's scan of 110,000 domains for exposed `.env` files.

For `.git/` and `.env` discovery it relies on plain `curl` requests against target paths, then points to `git-dumper` to pull down a full repository once a `.git/` exposure is confirmed, and to `TruffleHog` for finding secrets committed to source code. It's built for recon and triage, not for exploiting what it finds.

This is meant for authorized penetration testing and bug bounty work, so run it only against targets you're cleared to test.

## Requirements
- Works with: GitHub

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill hunt-info-disclosure -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/pentest-agents-hunt-info-disclosure/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/pentest-agents-hunt-info-disclosure/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill hunt-info-disclosure -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/pentest-agents-hunt-info-disclosure/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill hunt-info-disclosure -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/pentest-agents-hunt-info-disclosure/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install H-mmer/pentest-agents providers/cursor/.cursor/skills/pentest-agents-hunt-info-disclosure
```

2. **Manually: put the files in place**
- File: `.github/skills/pentest-agents-hunt-info-disclosure/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add H-mmer/pentest-agents --skill hunt-info-disclosure -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/H-mmer/pentest-agents --path providers/cursor/.cursor/skills/pentest-agents-hunt-info-disclosure
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/pentest-agents-hunt-info-disclosure/SKILL.md` — The legacy .windsurf/skills/ path still works

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/H-mmer/pentest-agents/tree/HEAD/providers/cursor/.cursor/skills/pentest-agents-hunt-info-disclosure/SKILL.md

## When to use it
- spot exposed `.env` or `.git/config` files on a target host
- check which Spring Boot actuator endpoints are reachable publicly
- judge how serious a finding is against documented CVEs and incidents
- build evidence for a bug bounty report on a leaked secret
- find debug endpoints and default-password panels

## Example prompts
- Check this host for an exposed `.env` or `.git/config` file
- Scan this domain's Spring Boot actuator endpoints for information disclosure
- Rate the severity of this exposed debug endpoint using hunt-info-disclosure

## Similar
- [hunt-tls-network](https://affpapa.org/en/nevibecode/skills/hunt-tls-network.md) — skill · ★ 16193 repo stars
- [hunt-race-condition](https://affpapa.org/en/nevibecode/skills/hunt-race-condition.md) — skill · ★ 16193 repo stars
- [secrets-in-git-history](https://affpapa.org/en/nevibecode/skills/secrets-in-git-history.md) — skill · 1900 installs
- [disclosure-communication](https://affpapa.org/en/nevibecode/skills/disclosure-communication.md) — skill · ★ 326 repo stars
- [infisical-secret-scanning](https://affpapa.org/en/nevibecode/skills/infisical-secret-scanning.md) — skill · 254 installs
- [repo-publication-auditor](https://affpapa.org/en/nevibecode/agents/repo-publication-auditor.md) — subagent · 53 installs

From the same set: [h-mmer/pentest-agents](https://affpapa.org/en/nevibecode/by/h-mmer/pentest-agents.md) — 43 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
