information-disclosure

information-disclosure is a skill for Claude Code from emre-guler/websec. It costs 71 tokens per session (5,544 once invoked), scanned A, original, MIT.

A security review for information disclosure, where an application reveals private data or internal details to someone who should not receive them.

In plain words
What is it for?
Reviewing errors, headers, debug endpoints, directory listings, shipped files, comments, client code, and diagnostic responses.
Why use it?
It helps find leaks such as credentials, source details, customer data, stack traces, debug output, and revealing response differences.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents.

Installs and runs on its own, but its text points at files inside its plugin — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed. Installing the plugin gets both.

Part of the websec plugin — 36 skills, 2 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/emre-guler/websec/information-disclosure
Any agent
npx skills add emre-guler/websec --skill information-disclosure
Clone the repo
git clone --depth 1 https://github.com/emre-guler/websec

Made for: Claude Code.

Or install websec, the plugin that ships this one along with the rest of its 36 skills, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for information-disclosure

README.md
[![agentmods](https://agentmods.dev/badge/skills/emre-guler/websec/information-disclosure.svg)](https://agentmods.dev/skills/emre-guler/websec/information-disclosure)
Your own site
<a href="https://agentmods.dev/skills/emre-guler/websec/information-disclosure"><img src="https://agentmods.dev/badge/skills/emre-guler/websec/information-disclosure.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,544 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00071 $0.05544
Opus 5 $0.00036 $0.02772
Sonnet 5 $0.00014 $0.01109
Haiku 4.5 $0.00007 $0.00554

Measured 5d ago against content hash 25f7e3c216f6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

information-disclosure scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/information-disclosure/SKILL.md · 178 lines

How it starts

The opening of the file, as written. The whole thing — 178 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Information Disclosure Detection

Overview

Information disclosure is an application volunteering data to a caller who should not receive it. Unlike most classes it has no single point in the request lifecycle: it surfaces in response headers, in error bodies, in comments left in shipped markup and scripts, in artefacts that a build copied into a served directory, in diagnostic endpoints that were never meant to survive development, and in behavioural differences between responses that reveal internal state without revealing content. The attacker is an ordinary or entirely unauthenticated user reading responses, often while probing for something else. What they gain is either the sensitive data itself — customer records, credentials, keys — or the technical detail that turns a speculative attack into a documented one: a component version with a published exploit, an internal header name, a directory layout, or the application's own source. This skill finds such leaks by locating every site that can emit internal detail, verifying each one in parallel, and merging the results into <output_dir>/information-disclosure-results.md.

What it is NOT

  • Access control (/websec:access-control): pulling another user's object through a missing ownership check. Test: if the attacker supplies an identifier and receives the record it names, the missing control is authorization. Disclosure proper is the application offering data nobody asked to be authorised for.
  • Authentication oracles (/websec:authentication): differing messages, statuses, or timings at a login, registration, reset, or change endpoint. Those are judged there, because the fix and the impact are flow-specific. Response differences at other lookups are judged here.
  • Injection (/websec:sql-injection, /websec:nosql-injection): a verbose database error is the clue an injection attack uses, not the attack. Report the higher-impact finding there and record the error verbosity here only as its own leak.
  • Traversal and upload (/websec:path-traversal, /websec:file-upload): reaching an arbitrary file through a sink that takes a path from the request, or retrieving an uploaded file. Here the file is simply served, because it sits inside a served directory.
  • Header reflection (/websec:host-header): a request header echoed into a generated address or a cache key. Diagnostic methods that echo the whole request are judged here.
  • Secrets in a signed token payload (/websec:jwt): note it here as a data-handling leak and let the sibling skill judge the token mechanics.
  • Private data reachable through a cache (/websec:web-cache-deception): if a response is only exposed because a shared cache stored it under a key another party can request, the defect is in the caching rules, not in what the application chose to include. Test: remove the cache and ask whether the data is still exposed to the wrong principal — if not, it belongs there.
  • Credential material in the repository or a client artefact (/websec:secrets): a key, token, or password committed to source, configuration, a pipeline definition, or built into a bundle, an image layer, or a mobile package. Test: does the value reach the attacker because a running process emitted it, or because it is baked into a file the repository or the build produced? The first is here; the second is theirs.
  • Protection that was breakable rather than absent (/websec:crypto): a field exposed because the cipher, hash, or random source protecting it fails. Test: was there a control that broke, or was there no control? Nothing applied is here; a control applied with parameters that make it breakable is theirs.
  • Cross-origin readability of a response (/websec:cors): a response whose contents are fine for its intended caller but readable by an attacker's origin is a sharing-policy defect. Test: is the problem the data in the body, or who the browser lets read it? The second is that skill's.
  • Not a finding: a version banner for a component with no known issue; a documented public API metadata endpoint; a listing of a directory holding intentionally public assets; a public profile field; an example configuration file that carries only placeholder values. Presence alone is never the finding — reachability and gain must both be shown.

Read the full file on GitHub · 178 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 178 lines · 71 tokens per session scan A 25f7e3c216f6

Subscribe to this mod's changes

information-disclosure is a skill published in the GitHub repository emre-guler/websec (2 stars, last pushed 9d ago), licensed MIT. It adds 71 tokens to every session and 5,544 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ponytail-sec-audit

Full project security audit. Scans the entire codebase across three passes: code that shouldn't exist, all dependencies assessed, all hardening findings. Produces a comprehensive numbered report with blast-radius narrative. Persists findings to .ponytail-sec/ for cross-scan tracking. For per-diff review use…

andypitcher/ponytail-sec · 74 tokens

ponytail-sec

Security companion for active development. Scopes to the current diff or changed files. Three passes: YAGNI code review, new-dep assessment, and up to 3 material hardening findings. Lean by design — surfaces the one thing to fix before merging, not a backlog. Use ponytail-sec-audit for a full project scan.

andypitcher/ponytail-sec · 74 tokens

k8s-securitycontext

Binary Kubernetes securityContext hardening check. Use when reviewing Pods, Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, Helm templates, or Kubernetes manifests that define containers. Minimal output only: OK or NOTOK: RULE, RULE.

andypitcher/ponytail-sec · 57 tokens

dockerfile

Binary Dockerfile image-build hardening check. Use when reviewing Dockerfiles, container image builds, multi-stage builds, runtime users, pinned bases, or reproducible dependency installs. Minimal output only: OK or NOTOK: RULE, RULE.

andypitcher/ponytail-sec · 51 tokens

Mixed-Language Monorepos

This skill should be used when the user is auditing a "polyglot monorepo", "multi-language codebase", "microservices with different languages", "Go + Python + TypeScript", or any codebase with services written in different programming languages. Provides strategies for cross-service security analysis and unified…

allsmog/vuln-scout · 71 tokens

OWASP API Security Top 10

This skill should be used when the user asks about "API security", "OWASP API Top 10", "BOLA", "broken object level authorization", "API authentication", "mass assignment", "GraphQL security", "gRPC security", "rate limiting", "API abuse", "REST API vulnerabilities", or needs to identify API-specific security issues…

allsmog/vuln-scout · 85 tokens