ledger-live: Skill for Claude Code

.agents/skills/detect-data-leaks/SKILL.md

detect-data-leaks is a skill for Claude Code, Codex from LedgerHQ/ledger-live. It costs 30 tokens per session (1,812 once invoked), scanned A, original, MIT.

A check for new leaks of personally identifying information from the current code changes to outside services.

In plain words
What is it for?
Use it to review a branch for risky data sent to services such as Datadog, Sentry, or Mixpanel.
Why use it?
It helps find sensitive data that may be sent to logging, crash-reporting, analytics, or other third-party systems.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is LedgerHQ/ledger-live's own configuration. It tells Claude Code and Codex how to work on ledger-live itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything ledger-live configures →

Reuse

Borrowing it

Nothing to install: this file belongs to LedgerHQ/ledger-live. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/LedgerHQ/ledger-live/develop/.agents/skills/detect-data-leaks/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/LedgerHQ/ledger-live

Made for: Claude Code, Codex.

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 detect-data-leaks

README.md
[![agentmods](https://agentmods.dev/badge/skills/ledgerhq/ledger-live/detect-data-leaks/github.svg)](https://agentmods.dev/skills/ledgerhq/ledger-live/detect-data-leaks)
Your own site
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/detect-data-leaks"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/detect-data-leaks/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 detect-data-leaks

Your own site · 80×15
<a href="https://agentmods.dev/skills/ledgerhq/ledger-live/detect-data-leaks"><img src="https://agentmods.dev/badge/skills/ledgerhq/ledger-live/detect-data-leaks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,812 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 120
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00030 $0.01812
Opus 5.5 $0.00012 $0.00725
Sonnet 5.5 $0.00006 $0.00362
Haiku 4.5 $0.00003 $0.00181

Measured yesterday against content hash 72e1627221aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

detect-data-leaks 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 yesterday.

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.

.agents/skills/detect-data-leaks/SKILL.md · 140 lines

How it starts

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

Scope — what is PII, what is NOT

We only consider PII that is sent to third-party services. Any call to our own backend with PII is not considered a data leak.

Every third-party service should be considered, but each has a different risk level. Logging services are the highest risk.

Some information is only PII in context — for example, public addresses are not PII by themselves, but on a logging service such as Datadog, an address can be linked to a location and device, allowing identification of the person behind it.

Crash reports need to be studied alongside logs — they are a common source of data leaks.

Any service that queries the blockchain for an address is not a concern — the query is mandatory for the system to function and the data is not linked to any other identifiable information. This applies to all coin modules. Examples:

  • Kaspa → api.kaspa.org
  • EVM (Ethereum, BSC, Polygon…) → Etherscan-family
  • Tron → TronGrid (api.trongrid.io)

Known third-party sinks in this repo

Prioritize these, but do not exclude others:

  • Datadog
  • Sentry
  • Mixpanel

Analytics also leave from the monorepo layers (shared/, domain/, features/, devtools/), not only the apps:

  • @shared/analytics owns track() and trackPage(); @shared/analytics-react wraps them in <Track> and <TrackScreen> (universal, web and native). The apps plug their vendor (setAnalytics) and filters into this pipeline, so a layer call reaches the same vendor as an app call.
  • Feature packages send events either through those functions (@features/flow-fear-and-greed, and @features/platform-pay-analytics, which builds createPayAnalyticsHelper on @shared/analytics's track) or through an adapter the app injects (createContactsAnalyticsHelper in @features/flow-contacts). For an injected adapter, read the app side that builds it: that is where the payload reaches the vendor.
  • @features/platform-coin-observability decides when coin errors reach Datadog.

High-risk variables

Read the full file on GitHub · 140 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. yesterday Changed · +19 lines 72e1627221aa
  2. 26d ago Changed 0363e36668d4
  3. 2mo ago First seen · 121 lines · 30 tokens per session scan A 245e0f620036

Subscribe to this mod's changes

detect-data-leaks is a skill published in the GitHub repository LedgerHQ/ledger-live (624 stars, last pushed yesterday), licensed MIT. It adds 30 tokens to every session and 1,812 once invoked, about $0.0001 per session on Opus 5.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-30.