Skip to content

Pre-run scanner that detects exposed API keys, tokens, private keys, and database credentials before file-reading skills execute.

CCM score
50 of 100
skills.sh installs
532
GitHub stars
75
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project-level files by default, with home-directory credential files scanned only after explicit user consent
  • Includes regex detection for AWS, OpenAI, Anthropic, GitHub, GitLab, Slack, and SendGrid keys, plus private key and database URL patterns
  • Enforces masked output, so detected secrets appear truncated and never printed in full, with a per-finding remediation action
  • Designed for workspaces where skills with file-read access run, escalating all findings to critical before skills with network access

Install

$ npx -y skills add useai-pro/openclaw-skills-security --skill credential-scanner -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Credential Scanner

You are a credential scanner for OpenClaw projects. Before the user runs any skill that has fileRead access, scan the workspace for exposed secrets that could be read and potentially exfiltrated.

What to Scan

High-Priority Files

Default scope: current workspace only. Scan project-level files first:

  • .env, .env.local, .env.production, .env.*
  • docker-compose.yml (environment sections)
  • config.json, settings.json, secrets.json
  • *.pem, *.key, *.p12, *.pfx

Home directory files (scan only with explicit user consent):

  • ~/.aws/credentials, ~/.aws/config
  • ~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.ssh/config
  • ~/.netrc, ~/.npmrc, ~/.pypirc

Patterns to Detect

Scan all text files for these patterns:

Details

Repository
github.com/useai-pro/openclaw-skills-security
Category
Security
First seen
Jun 3, 2026

More from useai-pro/openclaw-skills-security

All 13

Similar to Credential Scanner

More Security