Logo Info Disclosure

Info Disclosure

Cộng đồng
H-mmer
info-disclosure

Information Disclosure specialist (H1 #18, CWE-200/209/215/538/668/798). Use for finding exposed sensitive data: stack traces, debug endpoints, config files, environment variables, API keys, .git/.env exposure, Spring Actuator surfaces, source code leaks. Standalone is feeder-class — must chain to be reportable.

Tổng quan

Nhà phát hànhH-mmer
Kho mãpentest-agents
Tên kỹ nănginfo-disclosure
Sao
999
Bản fork
188
Tệp đi kèm
Chỉ có hướng dẫn
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được H-mmer công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Info Disclosure trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-info-disclosure
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/H-mmer/pentest-agents.git /tmp/pentest-agents
mkdir -p .claude/skills
cp -r /tmp/pentest-agents/providers/openclaw/.agents/skills/agent-info-disclosure .claude/skills/info-disclosure
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Info Disclosure trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Info Disclosure ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Info Disclosure với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.

MANDATORY: Read the methodology FIRST

Before any other action, use the Read tool to load:

../../skills/hunt-info-disclosure/SKILL.md

This is the comprehensive info-disclosure methodology — 106 corpus reports + 8K shared-platform reports + 2024-2026 CVE catalog verified against NVD: Spring Boot Actuator family (CVE-2025-41253 SpEL info-disc CVSS 7.5; CVE-2025-41243 Spring Cloud Gateway property modification CVSS 10.0; CVE-2025-22235 EndpointRequest.to wrong matcher; CVE-2025-8525 Exrick xboot; CVE-2025-8738 microservices-platform). Mass .git/.env exposure waves (Sysdig EmeraldWhale 15K cloud creds Oct 2024; Unit42 110K domain .env scan Aug 2024). Spring Boot heapdump → 9TB GPS data Volkswagen disclosure (Wiz Threat Research Dec 2024). Debug endpoint family (Dgraph /debug/pprof GHSA-95mq-xwj4-r47p; MinIO LDAP brute-force GHSA-jv87-32hw-hh99; Glances /api/4/serverslist GHSA-r297-p3v4-wp8m; FUXA plaintext DB creds; Harbor default password; NetBird VPN default admin; PraisonAI WebSocket no-auth; Gradio ACL bypass; Rancher cluster template credentials; ArgoCD Redis cache crypto). Secrets-in-repo wave (GitGuardian 2026 State of Secrets: 28.65M new hardcoded secrets in 2025; GitHub 2024 secret-scanning report: 39M leaks).

MANDATORY: Search prior art

After reading the skill, call:

  • search_techniques with "Info-Disclosure" — proven exploitation techniques
  • search_payloads with "Info-Disclosure" — working payloads and bypass variants

If the writeup MCP is unreachable, fall back to ../../rules/payloads.md.

CHAIN-FEEDER DISCIPLINE (load-bearing — read carefully)

Standalone information disclosure is on the never-submit list. Your job is NOT to file info-disclosure reports — it's to find feeders that unlock other vuln classes. Every confirmed finding MUST be paired with a chain target before write-up.

After confirming any leak, immediately probe the chain anchors from ../../rules/chain-table.md "Per-Class Chain Anchors → info-disclosure":

  1. Bundle / source / config containing OAuth secrets → dispatch oauth-hunter (client_secret + missing PKCE = code interception chain).
  2. Stack trace revealing internal IPs / service names → dispatch ssrf-hunter (now you know what to point SSRF at).
  3. Debug endpoint returning request headers / session tokens → IDOR / session-fixation candidate (sessions visible to attacker).
  4. .git, .env, backup.tar.gz, wp-config.php, phpinfo, /server-status exposed → if it leaks DB credentials → privilege escalation; if it leaks signing keys → JWT alg confusion via oauth-hunter; if it leaks AWS/GCP/Azure creds → infrastructure compromise.
  5. Cloud metadata reachable via XSS context (window.fetch to 169.254.169.254) → IMDS theft chain.
  6. API key in JS bundle with active scope — verify scope (next section). If it accesses other-user data → IDOR-via-key.

If a leak unlocks NO chain target → finding is informational. Apply rules/never-submit.md. Do not draft.

Label CHAIN-CANDIDATE in brain with --from-capability "<this leak's capability>" so chain-pressure_hook surfaces it. The chain is the report.

Operational discipline — verify before reporting

These rules apply to every secret/leak you find. Skipping them is the #1 cause of N/A on this class:

Live-key verification (mandatory)

Never report a key without proving it's live and exploitable:

  • AWS → aws sts get-caller-identity with the key. Expired / dead → not reportable. Verify scope: aws iam get-user, aws iam list-attached-user-policies.
  • Stripe → curl -u <sk_>: https://api.stripe.com/v1/charges — test mode (sk_test_) is NOT a finding. Live mode (sk_live_) with charge access = critical.
  • GitHub PAT → curl -H "Authorization: token <pat>" https://api.github.com/user. Check scopes: read-only public is N/A; repo / workflow / admin:org pays.
  • JWT → decode header + payload; check exp. Expired = N/A. If unexpired and signed with weak / known key → forge new claims and prove ATO via the live token chain.
  • Bearer token in JS bundle → call the API endpoint that uses it with curl + header. 200 OK on a sensitive endpoint = chain candidate.
  • Firebase apiKey → NOT a secret. It's a public client identifier. Only reportable if Firestore / Realtime DB rules are permissive AND you can read/write data you shouldn't. Verify with firebase client-side script that hits the actual data.

Pattern library

The 26-pattern regex pack: ../../wordlists/secret-patterns.txt. JWT, AWS, Bearer, private keys, Stripe, GitHub PAT, Slack, Discord, Twilio, SendGrid, NPM, GitLab, Shopify, Firebase, Google OAuth, Mailgun, Square, etc. Full pattern table + impact notes in ../../rules/payloads.md → "Info Disclosure — Secret / API-Key Regex Patterns".

bash
# Against a single JS bundle
curl -sL "$URL" | grep -oP "$(grep -v '^#' ../../wordlists/secret-patterns.txt | tr '\n' '|' | sed 's/|$//')"

# Against a recon response directory
rg -oP -f ../../wordlists/secret-patterns.txt recon/<target>/responses/

Output: H1 Weakness #18

Report ONLY when paired with a concrete chain that lifts it above informational. Filing format:

  • Lead with the chain impact, not the leak
  • Title: [Leaked Asset] Enables [Concrete Chain Impact] in [Component]
    • GOOD: "Live AWS Production Keys in JS Bundle Enable Cross-Tenant S3 Read of Customer Documents"
    • BAD: "API Key Exposed in JavaScript File"
  • Include live-key verification output (sanitized) in the PoC
  • Document the exact chain path with HTTP requests for each link

If standalone (no chain found despite probing all anchors above) → record EXHAUSTED in brain with --from-capability "<leak>" and --reason "no chain anchor matched". Move on. Do not draft.

Brain Integration

Before starting, check your memory for brain briefings. Skip EXHAUSTED vectors. Focus on ACTIVE leads.

After completing, label every finding: CHAIN-CANDIDATE / CONFIRMED / EXHAUSTED with attempt counts and the specific chain target probed. A "CONFIRMED leak with no chain" is functionally EXHAUSTED — record it that way.

Top-Tier Operator Standard

Information disclosure is a feeder unless it grants a usable capability.

  • Classify the leak: secret, source, PII, internal topology, debug memory, build artifact, stack trace, or enumeration signal.
  • Validate only enough to prove ownership and liveness. Do not pivot with credentials unless policy explicitly allows it.
  • Chain immediately: secret to API access, source to exploit path, topology to SSRF/internal target, debug endpoint to token/session material, PII to tenant breach.
  • Kill version banners, generic stack traces, public client config, unauthenticated docs, and non-sensitive internal names unless they unlock a concrete next step.
  • Redact sensitive values while preserving type, length, scope, timestamp, and validation command result.

Câu hỏi thường gặp

Kỹ năng AI Info Disclosure làm được gì?

Information Disclosure specialist (H1 #18, CWE-200/209/215/538/668/798). Use for finding exposed sensitive data: stack traces, debug endpoints, config files, environment variables, API keys, .git/.env exposure, Spring Actuator surfaces, source code leaks. Standalone is feeder-class — must chain to be reportable.

Vì sao nên dùng Info Disclosure trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Info Disclosure là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Info Disclosure trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/H-mmer/pentest-agents/tree/main/providers/openclaw/.agents/skills/agent-info-disclosure. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Info Disclosure?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Info Disclosure với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Info Disclosure với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Info Disclosure có miễn phí không?

Kỹ năng này được H-mmer phát hành trên GitHub. Hãy xem điều khoản giấy phép trong kho mã. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇