supply-chain-secrets

Detect hardcoded credentials and sensitive tokens in source code and Git history.

Updated Jul 30, 2026
One-click install
npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill supply-chain-secrets
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: supply-chain-secrets
Source: https://github.com/salmanabdurrahman/pi-pentest-agent/tree/main/skills/supply-chain-secrets
Command: npx skills add https://github.com/salmanabdurrahman/pi-pentest-agent --skill supply-chain-secrets

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill addresses the critical security risk of accidental credential exposure by identifying hardcoded secrets in source code, configuration files, and infrastructure templates before they can be exploited.

Core Features & Use Cases

  • Automated Detection: Scans repositories and files for API keys, private keys, and connection strings using pattern matching and metadata inspection.
  • Risk Mitigation: Provides a structured triage process to classify findings by severity and guides users through secure rotation workflows.
  • Use Case: Use this skill to audit a new repository for accidentally committed AWS access keys or database credentials before pushing to a shared environment.

Quick Start

Use the supply-chain-secrets skill to scan the current directory for any hardcoded credentials or sensitive tokens.

Frequently Asked Questions about supply-chain-secrets

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

FAQPage Schema
How do I detect hardcoded secrets in source code and configuration files?

Detect hardcoded secrets by scanning source code, configuration files, and infrastructure-as-code templates using passive pattern matching and fingerprinting to identify exposed API keys, private keys, and connection strings securely without validating against live services.

What is credential leakage in Git history and how do I scan for it?

Credential leakage in Git history occurs when sensitive tokens are committed to repositories. Scan local filesystems and Git history to detect exposed credentials using pattern matching and metadata inspection, ensuring secure, non-destructive security auditing across the entire repository.

Can I scan infrastructure-as-code templates for accidentally committed API keys?

Yes, you can scan infrastructure-as-code templates for accidentally committed API keys and database credentials. The skill operates across local filesystems and Git history to detect exposure before pushing to shared environments, mitigating critical security risks.

Does secret detection validate found credentials against live services?

Secret detection does not validate found credentials against live services. It implements passive pattern matching and fingerprinting to ensure secure, non-destructive security auditing, identifying hardcoded credentials without risking active authentication or triggering external service alerts.

What's the best way to triage and remediate detected credential exposure?

The best way to triage credential exposure is through a structured process that classifies findings by severity and guides users through secure rotation workflows. This mitigates risk by addressing accidentally committed AWS access keys or database credentials systematically.