entrovyx/hermes-agent-offsec/hunt-metrics-exposure

Claude Code and agent skill by entrovyx/hermes-agent-offsec

Trust tier 3
  • community
Source check pending

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 entrovyx/hermes-agent-offsec/hunt-metrics-exposure

SKILL.md

The same SKILL.md was published earlier as entrovyx/hermes-agent-offsec/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.


Phase 1 — Discover Metrics Endpoints

bash
TARGET="https://target.com"
# Common observability paths
for ep in metrics health status ready live readyz healthz \
actuator/health actuator/metrics actuator/prometheus \
Telescope telescope horizon debug; do
code=$(curl -sk -o /tmp/metrics_${ep}.txt -w "%{http_code}" \
"${TARGET}/${ep}" 2>/dev/null)
if [ "$code" = "200" ]; then
size=$(wc -c < /tmp/metrics_${ep}.txt)
echo " /${ep}: HTTP 200 (${size} bytes)"
fi
done

Phase 2 — Analyze Prometheus Metrics

bash
# Count unique metric families (each reveals a subsystem)
grep -c '^# HELP' /tmp/metrics_metrics.txt
# Extract AI/ML model usage
grep -i 'ai_\|model\|llm\|openai\|gemini\|copilot' /tmp/metrics_metrics.txt
# Extract database pool states
grep -i 'db_pool\|database\|connection' /tmp/metrics_metrics.txt
# Extract third-party dependencies
grep -i 'stripe\|openai\|sendgrid\|twilio\|email' /tmp/metrics_metrics.txt
# Extract request volumes (user activity)
grep -i 'http_request\|api_request\|grpc_request' /tmp/metrics_metrics.txt
# Extract circuit breaker states (service health)
grep -i 'circuit_breaker' /tmp/metrics_metrics.txt

Phase 3 — Analyze Health/Status Endpoints

bash
# Spring Boot Actuator
curl -sk "${TARGET}/actuator/health" | python3 -m json.tool
curl -sk "${TARGET}/actuator/metrics" | python3 -m json.tool
curl -sk "${TARGET}/actuator/env" | python3 -m json.tool # May leak env vars
# Custom health endpoints
curl -sk "${TARGET}/health" | python3 -m json.tool
curl -sk "${TARGET}/api/health" | python3 -m json.tool
# Laravel Telescope (if exposed)
curl -sk "${TARGET}/telescope/requests" | head -c 500

What Metrics Reveal

MetricIntelligence 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_activeReal-time user count for specific features
http_requests_totalRequest volume, peak hours, user activity
app_version / build_infoDeployed version, build timestamps

Verification

  • Confirmed exposure: /metrics returns Prometheus text format (lines starting with # HELP or # TYPE)
  • Actuator exposure: /actuator/health returns JSON with component statuses
  • False positive: Endpoint returns {"status":"ok"} only (minimal health check, not a metrics leak)
  • Severity upgrade: If /actuator/env or /actuator/configprops is exposed → CRITICAL (environment variables leaked)

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-enumeration for full target profile

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/entrovyx/hermes-agent-offsec/hunt-metrics-exposure/badge)](https://verified-skill.com/skills/entrovyx/hermes-agent-offsec/hunt-metrics-exposure)

Something wrong with this skill or its page? Tell us.