latiotech

Harden Credentials — Git skill for Claude Code

Git community

Scan for leaked secrets, set up pre-commit hooks, and harden credential hygiene.

How to install Harden Credentials

Installs to ~/.claude/skills/latiotech-secure-supply-chain-skills-harden-credentials/SKILL.md

Terminal
mkdir -p ~/.claude/skills/latiotech-secure-supply-chain-skills-harden-credentials && curl -fsSL https://raw.githubusercontent.com/latiotech/secure-supply-chain-skills/HEAD/commands/harden-credentials.md -o ~/.claude/skills/latiotech-secure-supply-chain-skills-harden-credentials/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Harden Credentials does


description: Scan for leaked secrets, set up pre-commit hooks, and harden credential hygiene allowed-tools: Read, Write, Edit, Glob, Grep, Bash(git:*, gh:*, betterleaks:*, pip:*, npx:*, curl:*, which:*, brew:*, cargo:*) argument-hint: [directory]

Audit and harden credential hygiene across the project. **This command takes action by default** - it scans for leaked secrets, adds protective gitignore rules, sets up pre-commit hooks, and fixes credential anti-patterns. Changes are explained

Alternatives in Git

  • Om Peer Scan — Peer PR Deep Scan 4.6k ★
  • Linting — Run rm -rf .mypy_cache && pre-commit run --all-files and fix the issues 3.1k ★
  • TDD Guard — by Nizar Selander - A hooks-driven system that monitors file operations in real-time and blocks changes that v 1.9k ★

Full documentation available on GitHub

View Source Repository