awesome-leak-audit

awesome-leak-audit is a skill for Claude Code from khasky/awesome-agent-skills. It costs 136 tokens per session (3,361 once invoked), scanned A, original, MIT.

A security review of a public client—such as a browser extension, mobile app, desktop app, single-page web app, command-line tool, or SDK—that connects to a private backend. It checks what the shipped client reveals about that backend and whether the client has security weaknesses.

In plain words
What is it for?
Use it to inspect source code, comments, strings, tokens, network calls, permissions, build settings, dependencies, and other public-facing surfaces for leaked backend internals or abuse-enabling disclosure.
Why use it?
A public client must contain enough information to make its requests, but extra server details, secrets, or unsafe entry points can help attackers. The review records leaks and client-side security issues with locations and severity, then applies fixes.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions subagents; mentions AGENTS.md.

Part of the awesome-agent-skills plugin — 42 skills shipped together

Good fit Use it to inspect source code, comments, strings, tokens, network calls, permissions, build settings, dependencies, and other public-facing surfaces for leaked backend internals or abuse-enabling disclosure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khasky/awesome-agent-skills/awesome-leak-audit
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.

Any agent
npx skills add khasky/awesome-agent-skills --skill awesome-leak-audit
Clone the repo
git clone --depth 1 https://github.com/khasky/awesome-agent-skills

Made for: Claude Code.

Or install awesome-agent-skills, the plugin that ships this one along with the rest of its 42 skills.

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 awesome-leak-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-leak-audit/github.svg)](https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-leak-audit)
Your own site
<a href="https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-leak-audit"><img src="https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-leak-audit/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for awesome-leak-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/khasky/awesome-agent-skills/awesome-leak-audit"><img src="https://agentmods.dev/badge/skills/khasky/awesome-agent-skills/awesome-leak-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 136 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,361 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00136 $0.03361
Opus 5 $0.00068 $0.01681
Sonnet 5 $0.00027 $0.00672
Haiku 4.5 $0.00014 $0.00336

Measured today against content hash 29da45c01f94, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

awesome-leak-audit scanned grade A with 2 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 today.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/leak-sweep.ps1, scripts/leak-sweep.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Reads agent configuration directorieslowAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

Also pre-scan the repo for hidden instructions an attacker planted for *your* agent: `grep -rn "<!--" --include=*.md` (HTML-comment instructions in docs the agent reads), base64 blobs in comments, `jq '.scripts' package.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

In vendored/third-party code, add a supply-chain quick pass for obfuscation patterns: long `atob` strings, `String.fromCharCode` chains, `\xNN` escape runs. Extend description–behavior mismatch to dependencies: a package
skills/awesome-leak-audit/SKILL.md · 118 lines

How it starts

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

Public Client Leak Audit

Audit a public client codebase that talks to a private backend. Goal: the public surface must be self-contained — it may reveal the calls it makes and the data shapes it exchanges (unavoidable for any shipped client), but nothing beyond that. Every extra detail about how the server works is free reconnaissance for an attacker and a lever for abuse.

This skill produces three things: a findings list (leaks + client-side security holes, each with file:line and severity), a set of applied fixes, and a report with residual recommendations.

Reference files (load on demand — read the one you need, don't inline all of them):

  • references/leak-taxonomy.md — the categories of disclosure to hunt, why each matters, and starter search patterns.
  • references/rewrite-rules.md — the comment/string rewrite rule with before/after examples; how to decide keep-vs-cut.
  • references/client-hardening.md — runtime-independent client-side security checklist (capabilities, cross-context entry points, tokens, network, build config, supply chain).
  • references/browser-client.md — the browser half of that checklist (extension permissions, storage tiers, DOM/CSS sinks, bundler config, npm lifecycle scripts). Load it with client-hardening.md for an extension, SPA, or web SDK; skip it for a native, desktop, or CLI client.
  • references/report-template.md — the output report structure.
  • scripts/leak-sweep.sh / scripts/leak-sweep.ps1 — the same parameterized ripgrep sweep, for POSIX shells and for native Windows PowerShell (customize the pattern arrays per product). Run whichever matches the shell you are in; their output matches.

The core mental model

Sort every disclosure into one of two buckets:

  • Necessary-minimum (keep): the endpoints the client calls, the request/response shapes it actually sends and receives, its own retry/backoff/debounce choices, input validation caps, and the status → UI behavior mapping. A public client cannot hide these; pretending otherwise is security theater.
  • Over-disclosure (fix): anything describing what the server does with a request, server-side limits/quotas the client doesn't strictly need, endpoints the shipped client never calls, error branches that mirror internal server logic, anti-abuse mechanics, infra/tech-stack identifiers, private repo/paths, and test scaffolding that encodes backend behavior.

Read the full file on GitHub · 118 lines

Files

What ships with it

7 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today Changed 29da45c01f94
  2. 5d ago Changed · +12 lines · -71 tokens per session a42535fad546
  3. 12d ago First seen · 106 lines · 207 tokens per session scan A eb8ba6770a0e

Subscribe to this mod's changes

awesome-leak-audit is a skill published in the GitHub repository khasky/awesome-agent-skills (8 stars, last pushed yesterday), licensed MIT. It adds 136 tokens to every session and 3,361 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 2 findings (reads agent configuration directories, makes network calls). 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

idea-refine

Refines raw ideas into sharp, actionable concepts through structured divergent and convergent thinking. Use when an idea is still vague, when you need to stress-test assumptions before committing to a plan, or when you want to expand options before converging on one. Triggers on "ideate", "refine this idea", or…

addyosmani/agent-skills · 75 tokens

9router-web-fetch

Fetch URL → markdown / text / HTML via 9Router /v1/web/fetch using Ollama Cloud / Firecrawl / Jina Reader / Tavily Extract / Exa Contents. Use when the user wants to scrape a webpage, extract URL content, read article, or convert a URL to markdown.

decolua/9router · 67 tokens

9router-web-search

Web and X search via 9Router /v1/search using Tavily / Exa / Brave / Serper / SearXNG / Google PSE / Linkup / SearchAPI / You.com / Perplexity / Xquik. Use when the user wants to search the web, find articles, or search public X posts.

decolua/9router · 74 tokens

9router-stt

Speech-to-text via 9Router /v1/audio/transcriptions using OpenAI Whisper / Groq / Gemini / Deepgram / AssemblyAI / NVIDIA / HuggingFace models. Use when the user wants to transcribe audio, convert speech to text, or get subtitles from audio files.

decolua/9router · 63 tokens

9router-embeddings

Generate vector embeddings via 9Router /v1/embeddings using OpenAI / Gemini / Mistral / Voyage / Nvidia / GitHub embedding models for RAG, semantic search, similarity. Use when the user wants embeddings, vectors, RAG, semantic search, or to embed text.

decolua/9router · 66 tokens

chinese-git-workflow

A reference for configuring Git with Chinese code-hosting services such as Gitee, Coding.net, GitLab China, and CNB, including SSH, HTTPS, credentials, CI, and repository mirroring.

jnMetaCode/superpowers-zh · 69 tokens