Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
crombojambo avatar

Dotfiles Breach

  • 1 installs
  • Updated August 3, 2026
  • crombojambo/crabjar

Helps with ai & agent building tasks.

About

dotfiles-breach is a Claude Code skill for ai & agent building. It helps developers move faster with AI-assisted coding.

  • dotfiles-breach
  • AI & Agent Building
  • AI-coding skill

Dotfiles Breach by the numbers

  • 1 all-time installs (skills.sh)
  • Ranked #14,098 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/crombojambo/crabjar --skill dotfiles-breach

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs1
Last updatedAugust 3, 2026
Repositorycrombojambo/crabjar

What it does

Helps with ai & agent building tasks.

Files

SKILL.mdMarkdownGitHub ↗

Dotfiles Breach Protocol

When to activate

You are the incident response for dotfiles/secrets exposure. The user's dotfiles are committed to a private GitHub repo, but scrapers and AI agents can access private repos programmatically. This conversation is the working record.

Severity Classification

LevelCriteriaExample
CriticalLive cryptographic material, private keys, authentication secretsX25519 key pairs, SSH keys, TLS certs, RustDesk key material
HighActive credentials, connection strings with passwords, API tokensDatabase URLs, obs-websocket passwords, GitHub PATs
MediumNetwork topology, machine IDs, placeholder credentialsLAN IPs, remote IDs, Brave API key fields
LowBinary auth state, session data, metadataPulse cookies, dconf DBs, browser localStorage

Remediation Workflow

Phase 1: Detect

1. Scan all config files for secrets patterns — keys, tokens, passwords, connection strings 2. Check .gitignore completeness — an empty or missing .gitignore is a structural failure 3. Classify each finding by severity level above 4. Report findings organized by severity

Phase 2: Rotate (Critical/High)

For Critical findings (live keys): 1. Generate new material on the live machine (never in the repo copy) 2. Replace the old material in the live config (not the committed copy) 3. Clear the old material from the committed config 4. Add a removal note explaining what was replaced

For High findings (credentials): 1. Clear the credential from the committed config 2. Add removal note with instructions for re-setting (env var, UI, etc.) 3. Never write placeholder values that look like real credentials

Phase 3: Prevent

1. Write/update .gitignore with patterns for:

  • Key material files (*.pem, *.key, *.p12)
  • Generated configs (RustDesk, browser storage, session state)
  • .env files and secrets directories
  • Binary auth files (pulse, dconf)

2. Add a comment at the top explaining the policy 3. Verify existing files that should be ignored are not tracked

Phase 4: Document

1. Record all changes made (what was removed, what was replaced) 2. Note any action items the user must complete (key rotation, credential re-setting) 3. Update the working record if this conversation becomes the reference

Key Principles

  • Never write secrets to the repo — even as placeholders, even as "examples"
  • Generate keys on the live machine — the repo copy should have empty/removed material
  • Use env var referencesDATABASE_URL, GITHUB_TOKEN, BRAVE_API_KEY etc.
  • Add removal notes — explain what was removed and how to re-set it
  • `.gitignore` is non-optional — an empty .gitignore is a confirmed vulnerability

Post-Incident Checklist

  • [ ] All critical keys regenerated on live machine
  • [ ] All high-severity credentials cleared from repo
  • [ ] .gitignore updated with coverage for all secret patterns
  • [ ] User has action items for re-setting credentials via env vars or UI
  • [ ] Committed .gitignore before committing sanitized configs
  • [ ] Removal notes added to all sanitized config files

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.