security-secrets

Detect API keys, tokens, passwords, and private keys in codebases.

35|1|Updated Mar 5, 2026
One-click install
npx skills add https://github.com/jal-co/jalco-pi-mono --skill security-secrets-jal-co
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-secrets
Source: https://github.com/jal-co/jalco-pi-mono/tree/main/pi/.pi/agent/skills/security-secrets
Command: npx skills add https://github.com/jal-co/jalco-pi-mono --skill security-secrets-jal-co

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps identify and prevent the accidental exposure of sensitive information like API keys, passwords, and tokens within your codebase, mitigating security risks.

Core Features & Use Cases

  • High-Signal Pattern Matching: Utilizes a comprehensive set of regular expressions to detect common secret formats.
  • Automated Scanning: Integrates with tools like rg (ripgrep) and gitleaks for thorough code and history analysis.
  • Prioritized File Checks: Focuses scanning efforts on high-risk files such as .env files and configuration scripts.
  • Use Case: Proactively scan a new repository clone for any hardcoded AWS keys or GitHub tokens before they can be committed or exposed.

Quick Start

Run a comprehensive scan for secrets in the current directory.

Frequently Asked Questions about security-secrets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scan a codebase for exposed API keys and passwords?

Scan a codebase for exposed API keys and passwords by running automated checks using predefined regex patterns. This process detects common secret formats across various file types and commit history to prevent sensitive data exposure.

How does regex pattern matching detect sensitive data leaks in configuration files?

Regex pattern matching detects sensitive data leaks by applying high-signal regular expressions to identify common secret formats. It prioritizes high-risk files like .env files and configuration scripts to accurately flag potential security secrets.

Can I check commit history for hardcoded tokens and private keys?

You can check commit history for hardcoded tokens and private keys by integrating with dedicated scanning tools. This thorough history analysis identifies security secrets that may have been previously committed or exposed.

What's the best way to automate security auditing for secret exposure in a new repository?

Automate security auditing for secret exposure in a new repository by integrating with tools like ripgrep and gitleaks. This provides comprehensive automated checks across file types and commit history to satisfy security compliance requirements.

Does this code scanning approach work without installing external dependencies?

This code scanning approach utilizes predefined regex patterns and integrates with tools like ripgrep and gitleaks. It requires these dedicated scanning components to thoroughly analyze code and history for potential security secrets.