uphiago/recon-skills/hunt-metrics-exposure
Claude Code and agent skill by uphiago/recon-skills
- community
Checking that the SKILL.md file is still in the repository.
Hunt public /metrics, /health, and actuator endpoints leaking AI usage, DB pools, and operational intelligence.
Install
npx vskill@latest install uphiago/recon-skills/hunt-metrics-exposureSKILL.md
The same SKILL.md was published earlier as uphiago/recon-skills/hunt-metrics-exposure.
When to Use
The target uses modern observability tooling (Go, .NET, Java, Node.js). These frameworks often expose /metrics, /health, and /status endpoints that are forgotten behind auth. Unlike application data leaks, metrics leaks reveal the ENTIRE operational profile: which AI models are used, how many users are active, database connection exhaustion, and third-party service dependencies.
Prerequisites
- Explicit authorization, target boundaries, and rate limits for the target.
- Tooling:
curl,python3. - A writable evidence directory:
export OUTPUT_DIR="${OUTPUT_DIR:-./output}" && mkdir -p "$OUTPUT_DIR". - For any state-changing step (writes, uploads, credential attempts), obtain explicit confirmation immediately before the command.
How to Run
Procedure
The phases below are the procedure. Keep each probe bounded (--max-time), record evidence beneath OUTPUT_DIR, and stop at the stop-conditions listed in Pitfalls.
Phase 1 — Discover Metrics Endpoints
Phase 2 — Analyze Prometheus Metrics
Phase 3 — Analyze Health/Status Endpoints
What Metrics Reveal
| Metric | Intelligence Gained | |
|---|---|---|
ai_analyzer_output_total{model="gpt-5-mini"} | Which AI models are used, usage volume | |
db_pool_idle_connections{pool="api"} | Database pool sizing, connection exhaustion risk | |
circuit_breaker_state{client="stripe"} | Third-party dependencies and their health | |
clinical_copilot_sse_active | Real-time user count for specific features | |
http_requests_total | Request volume, peak hours, user activity | |
app_version / build_info | Deployed version, build timestamps |
Pitfalls
- Prometheus /metrics without secrets — metrics endpoints exposing request counts are informational. Need labels containing PII, internal hostnames, or credentials.
- Spring Boot Actuator /actuator/metrics — metrics are intentionally exposed for monitoring. Only report if they leak sensitive data (usernames in labels, internal IPs).
- JMX without auth — JMX exposure without authentication is critical only if write operations (MBean invocation) are possible. Read-only JMX is informational.
- Health endpoint without sensitive data —
/health,/status,/readyendpoints are designed to be public. Need leaked internal data.
Verification
- Confirmed exposure:
/metricsreturns Prometheus text format (lines starting with# HELPor# TYPE) - Actuator exposure:
/actuator/healthreturns JSON with component statuses - False positive: Endpoint returns
{"status":"ok"}only (minimal health check, not a metrics leak) - Severity upgrade:
/actuator/envor/actuator/configpropsexposed → HIGH/CRITICAL only if the response contains unredacted secrets (Spring Boot 2.2+ redactspassword/secret/keyvalues by default — check the body before scoring)
What Next
- AI model usage metrics → pivot to
hunt-llm-ai(prompt injection on discovered models) - DB pool metrics showing overload → DoS attack surface identified
- Circuit breaker states for Stripe/email → infrastructure dependency map for chained attacks
- Combine with
hunt-schema-enumerationfor full target profile
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingredteam/hunt-metrics-exposure/SKILL.md
Popularity
- Repository stars
- 1,387
- Repository forks
- 230
- 7-day trend score
- 36
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
[](https://verified-skill.com/skills/uphiago/recon-skills/hunt-metrics-exposure)