secret-scan-lite

Scan repositories for common secret patterns and environment file hygiene issues.

Updated Mar 11, 2026
One-click install
npx skills add https://github.com/Oiranca/copilot-agents-skills --skill secret-scan-lite
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: secret-scan-lite
Source: https://github.com/Oiranca/copilot-agents-skills/tree/main/skills/secret-scan-lite
Command: npx skills add https://github.com/Oiranca/copilot-agents-skills --skill secret-scan-lite

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps prevent the accidental exposure of sensitive information like API keys, tokens, and credentials by performing a lightweight scan before code is shared.

Core Features & Use Cases

  • Regex-based Secret Detection: Identifies common patterns associated with secrets and credentials.
  • Hygiene Checks: Verifies if sensitive environment files are ignored in .gitignore.
  • Use Case: Before submitting a pull request, run this skill to quickly check for any hardcoded API keys or tokens that might have been inadvertently included in the codebase.

Quick Start

Run a lightweight secret scan on the repository.

Frequently Asked Questions about secret-scan-lite

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

FAQPage Schema
How do I scan my codebase for accidentally committed API keys and credentials?

To scan for accidentally committed API keys and credentials, run a lightweight regex-based scan on your repository to identify common secret patterns and unsafe environment file hygiene signals before sharing code.

Does this secret scanner check if environment files are ignored in .gitignore?

Yes, the secret scanner performs hygiene checks to verify whether sensitive environment files are properly ignored in .gitignore, preventing accidental exposure of credentials during repository commits.

What's the best way to detect hardcoded tokens before submitting a pull request?

The best way to detect hardcoded tokens before submitting a pull request is to run a lightweight regex-based scan that checks for common secret patterns and repository hygiene issues.

Are there limitations to regex-based secret scanning for code hygiene?

Yes, limitations of regex-based secret scanning include only detecting known credential patterns and unsafe environment file signals, while maintaining strict output redaction and limiting document reads for efficiency.

How does output redaction work when scanning for accidentally committed secrets?

Output redaction when scanning for accidentally committed secrets works by strictly masking identified tokens and credentials in the scan results, ensuring sensitive values are never exposed in the skill's output.

Can I use secret-scan-lite to check for credentials without installing dependencies?

Yes, you can use secret-scan-lite to check for credentials without installing dependencies, as it operates as a standalone lightweight scanner requiring no external components to perform regex-based detection.