Skip to content
Back to skills

Scan

ASecurity

Scan the project for credentials hard-coded in ordinary files (passwords, API keys, tokens, private keys, connection strings with a password) without showing their values. Use when the user asks to scan or check the project for exposed or hard-coded credentials or secrets, or runs /gatekeeper:scan.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
securitypythonnodegitapidatabase

Works with

  • api

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add loverobusta/claude-gatekeeper-plugin --skill scan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Scan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Scan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/loverobusta-scan/badge)](https://www.skillsdirectory.com/skills/loverobusta-scan)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: scan
description: Scan the project for credentials hard-coded in ordinary files (passwords, API keys, tokens, private keys, connection strings with a password) without showing their values. Use when the user asks to scan or check the project for exposed or hard-coded credentials or secrets, or runs /gatekeeper:scan.
argument-hint: "[file or folder]"
---

The user wants to know which credentials are hard-coded in the project's ordinary files. Those files are readable by Claude, unlike `.env`, so anything found there can reach the model.

Target: `$ARGUMENTS` if given, otherwise `.` (the whole project).

1. Run `python3 .gatekeeper/vault.py scan <target>`. If `.gatekeeper/vault.py` doesn't exist, use the full `vault.py` path from the Gatekeeper session context, or `${CLAUDE_PLUGIN_ROOT}/scripts/vault.py`. Exit code 1 only means something was found.
2. The output lists each file with the KINDS of credentials found (for example `DB_PASSWORD x1, STRIPE_KEY x1`). Values are never printed. Don't open the files to look at them: reading them would put the real values into this conversation.
3. Reply briefly:
   - If nothing was found: "✅ No hard-coded credentials found in <target>." and stop.
   - Otherwise: "⚠️ Found credentials in N file(s):" then a short list, one line per file: `path`: kinds in plain words (for example "database password, Stripe key").
   - Then one line: move each credential out of the code (into `.env` or the vault, read from the environment in code), and rotate it if the file was ever committed or shared.
4. Note in one line that the scan reports credentials only, not domains, hosts or IP addresses, and that dependency and build folders (node_modules, dist, build, .git, vendor) and secret files like `.env` are skipped on purpose.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in security →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.