← Back to blog
Product November 28, 2026 by Javier Arancibia

skleaks: find secrets in your agent skill folders

skleaks icon

v0.1.0, experimental and unaudited. Findings are pattern matches, not confirmed leaks, and no findings does not prove there are no secrets.

Coding agents read skill folders, and a skill that describes how to operate a service is an easy place for a password or token to end up. skleaks is an offline scanner for those folders. It reports the rule, file and line, never the secret value, and it does not edit what it scans.

What a report looks like

Real output on a made-up skill containing two fake secrets, shortened:

| Severity | Rule         | Location                     | Length |
| high     | github-token | .../deploy-helper/SKILL.md:3 |     38 |
| medium   | url-password | .../deploy-helper/SKILL.md:4 |     11 |

Why the values are left out

If an agent runs the scan, the report goes into the model context. A report that quoted what it found would copy each secret there.

How it behaves

It checks the known skill folders under your home directory and scans two paths to the same place once. If something cannot be read, including a broken link, the scan is marked incomplete and exits 93; findings at or above medium exit 92.

skleaks skill install adds a skill called find-skills-leaks so that other agents know how to use the command.

Try it

Build from source with machin and a C compiler (tested on Linux x86_64 with machin 0.147.0):

git clone https://github.com/javimosch/skleaks && cd skleaks
./build.sh && install -m 755 skleaks ~/.local/bin/
skleaks skill install
skleaks scan --format md

Limits

Matches are not checked against any provider, some are false positives and there is no allowlist yet. Encoded or split secrets are missed. Binary files, files over 2 MiB by default, and dependency or build folders are skipped. Low-severity items such as emails and private IPs are hidden unless you pass --include-low. If a real secret was shared or committed, rotate it.

Project page · Source (MIT)

Enjoyed this post?

Follow for more on agent-first engineering, self-hosted systems, and building for autonomy.

Follow @javimosch