public-surface-audit

Solid

Scans git-tracked (public) files for operator-private tokens that should live only in gitignored files — real usernames, absolute home paths, companion-store names, company asset names. Reports file:line + matched token + severity, so a public/private split stays clean before publish. Triggered by "public surface audit", "did I leak anything", "check tracked files for private tokens", "private token scan", "public-surface-audit".

AI & Automation 8 stars 0 forks Updated today MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
32
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# public-surface-audit — Operator-Private Token Leak Scan Scans the git-tracked file set (the public surface) for operator-private tokens that were supposed to stay in gitignored files (e.g. `CLAUDE.local.md`, companion store). After a public/private split, a front-door fix is not enough — a leaked username or absolute home path anywhere in the tracked set breaks the "public repo = model-agnostic methodology only" invariant. > While `marketplace-gate` Check 5 answers "is this repo broadly safe to publish?" (API keys, internal > domains, license), `public-surface-audit` answers a narrower question: "did any operator-private > token survive the public/private split into a tracked file?" It scans `git ls-files` only — gitignored > files like `CLAUDE.local.md` are intentionally out of scope (they are the *correct* home for these tokens). ## Triggers - `/public-surface-audit` - `/public-surface-audit --target <repo path>` - `/public-surface-audit --json` (machine-parseable verdict for hook-gating — see Step 5) - "Did I leak anything into the public repo?", "public surface audit", "private token scan" - "Check tracked files for private tokens", "is my public/private split clean?" - "Did any operator-private token survive into a tracked file?", "scan before publish" --- ## Scope — Tracked Files Only This skill scans **only `git ls-files`** (committed/staged tracked files). Gitignored files are deliberately excluded — `CLAUDE.local.md`, the companion store, and local session d...

Details

Author
chrono-meta
Repository
chrono-meta/forge-harness
Created
2 months ago
Last Updated
today
Language
Shell
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

API & Backend Solid

public-client-leak-audit

Audit a public-facing client (browser extension, mobile/desktop app, SPA, CLI, SDK, or any open-sourced client that talks to a private backend) so its public surface stays self-contained and doesn't help attackers. Use when asked to review a repo for leaked backend internals, secrets, or abuse-enabling disclosure; to check that comments/docs/tests don't reveal server-side mechanics (rate limits, anti-abuse, quotas, test backdoors, infra/tech stack, DB/schema, env-var names); to scrub a client before open-sourcing or a store/app-store submission; or for client-side security hardening (permissions, IPC/message sender validation, auth-token handling, DOM/XSS sinks, build-time config, secret bundling). Triggers: 'audit for leaks', 'does this leak backend details', 'is this safe to make public', 'security review of the client/extension', 'what does our API disclose', 'harden the client'.

2 Updated today
khasky
AI & Automation Listed

gatekeeper

Scan a repo for secrets and private info before it goes public: API keys, tokens, private keys, connection strings, leaked local paths, and configurable deny terms.

1 Updated 3 days ago
JayOfemi
AI & Automation Listed

pre-publish-scan

Systematic pre-open-source LEAK GATE for any Bubble repo. Run BEFORE making (or while a repo is) public, and at each step of an open-sourcing effort, to catch operator PII ({{OPERATOR}}/{{OPERATOR_2}} Telegram IDs), internal infra (Tailscale FQDN/IP, Mac paths), internal Notion IDs, secret-map docs, and raw secret prefixes — in the working tree AND git history. Use whenever you're about to publish, push to a public repo, open-source a skill/plugin/repo, run a launch, or whenever {{OPERATOR}} says "is this clean to share / can this go public / scan for leaks". This is the GATE: a repo does not go public until this exits clean.

0 Updated today
Bubble-invest