<!-- Copyright (c) 2026 defconxt. All rights reserved. -->
<!-- Licensed under AGPL-3.0 — see LICENSE file for details. -->
---
name: hunting-information-disclosure
description: >-
  Discover sensitive data exposure through errors, debug endpoints, backup files, and misconfigurations.
domain: cybersecurity
subdomain: bug-bounty
tags:
  - information-disclosure
  - data-exposure
  - misconfiguration
  - bug-bounty
version: "1.0"
author: defconxt
license: AGPL-3.0
metadata:
  mitre-attack: ["T1530", "T1213"]
---

# Hunting Information Disclosure

## Overview

Discover sensitive data exposure through errors, debug endpoints, backup files, and misconfigurations.

## Prerequisites

| Requirement | Install |
|---|---|
| dirsearch | `pip install dirsearch` |
| Burp Suite | Content discovery |
| Python 3.10+ | For agent tooling |

## Key Concepts

Information disclosure exposes data through verbose errors, debug
pages, source leaks, backup files, and misconfigured headers.

## Quick Reference

```bash
node agent.js scan --url https://target.com --wordlist sensitive-files.txt
node agent.js errors --url https://target.com --triggers triggers.txt
node agent.js headers --url https://target.com
node agent.js secrets --url https://target.com --depth 3
```

## Workflow

1. Scan for sensitive files
2. Test error handling
3. Analyze headers
4. Check directory listing
5. Search JS for secrets
6. Test debug endpoints
7. Document severity

## Verification

- Verify file scanning
- Confirm error analysis
- Validate headers
- Check secret scanning
- Verify severity ratings

## References

- OWASP Testing Guide — https://owasp.org/www-project-web-security-testing-guide/
- MITRE ATT&CK — https://attack.mitre.org/
- NIST SP 800-53 — https://csf.tools/reference/nist-sp-800-53/
