# Internal API Documentation Exposure

> Detects internal API documentation, admin endpoints, and developer tools accidentally exposed in production.

- Skill: `zakirkun/internal-api-documentation-exposure` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add zakirkun/internal-api-documentation-exposure`
- Raw SKILL.md: https://api.skillmd.com/api/skills/zakirkun/internal-api-documentation-exposure/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: zakirkun (https://skillmd.com/u/zakirkun)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/zakirkun/internal-api-documentation-exposure

---


# Internal API Documentation Exposure

## Overview
Development and debugging endpoints left enabled in production:
- `/actuator` (Spring Boot) — exposes heap dumps, metrics, environment
- `/debug` — application debugging interface
- `/admin/docs` — internal API documentation
- `/phpinfo.php` — PHP configuration disclosure
- `/__debug__` — Django debug toolbar
- `/robots.txt` referencing sensitive paths

## Remediation
- Disable or require authentication for all admin and debug endpoints
- Use environment guards: `if (process.env.NODE_ENV !== 'production')`
- Configure framework-specific settings to disable development tools in production

