sensitive-info-scanner

Scan repositories and directories for API keys, credentials, and PII.

2|1|Updated Feb 2, 2019
One-click install
npx skills add https://github.com/Foo-x/dotfiles --skill sensitive-info-scanner
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: sensitive-info-scanner
Source: https://github.com/Foo-x/dotfiles/tree/main/claude/skills/sensitive-info-scanner
Command: npx skills add https://github.com/Foo-x/dotfiles --skill sensitive-info-scanner

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automatically detects sensitive information like API keys, credentials, and Personally Identifiable Information (PII) within a repository using semantic analysis, preventing accidental leaks.

Core Features & Use Cases

  • Semantic Analysis: Goes beyond simple pattern matching to understand code context for higher accuracy.
  • Comprehensive Detection: Identifies secrets via variable names, file names, string patterns, and contextual clues.
  • Use Case: Before pushing code to a public repository, run this Skill to ensure no API keys or sensitive user data are accidentally included, safeguarding your project and users.

Quick Start

Run a sensitive information scan on the current directory.

Frequently Asked Questions about sensitive-info-scanner

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

FAQPage Schema
How do I scan a repository for API keys and sensitive information before pushing code?

To scan a repository for API keys and sensitive information, you can trigger a secret scan on your current directory to automatically detect credentials and PII using semantic analysis. This prevents accidental data leaks by checking contextual clues before you push code.

How does semantic analysis detect secrets differently from simple pattern matching?

Semantic analysis detects secrets by understanding code context rather than relying solely on simple pattern matching. It identifies sensitive information by analyzing variable names, file names, string patterns, and contextual clues for higher accuracy in confidentiality checks.

Can I run a sensitive data detection scan on any directory?

Yes, you can run a sensitive data detection scan on any directory. The tool utilizes a multi-phase workflow that includes scope confirmation and file prioritization to systematically identify PII and credentials within your specified repository structure.

What is the best way to check my code for PII and credentials?

The best way to check code for PII and credentials is to perform a comprehensive security scan using semantic analysis. This approach evaluates variable names and file context to ensure no sensitive user data is accidentally included in your project.

What types of sensitive information can a secrets scan identify in my codebase?

A secrets scan can identify various types of sensitive information in your codebase, including API keys, credentials, and Personally Identifiable Information (PII). It detects these secrets through comprehensive semantic analysis of string patterns and contextual clues.

Why should I use semantic analysis for a security scan instead of basic string search?

You should use semantic analysis for a security scan because it goes beyond basic string search to understand code context. This higher accuracy method identifies sensitive data via variable names and contextual clues, preventing accidental leaks of credentials and PII.