Skip to main content

mitm-find-secrets

Find leaked secrets, API keys, and credentials in traffic. Use when user asks about exposed keys, hardcoded secrets, or credential leakage.

跳到安装

来源信息

仓库
instavm/security-skills
最近来源活动
2026年3月23日 05:24
检测到的 SKILL.md 语言
英语
星标
86
分支
11

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
mitm-find-secrets
description
Find leaked secrets, API keys, and credentials in traffic. Use when user asks about exposed keys, hardcoded secrets, or credential leakage.
# Find Leaked Secrets Analyze the mitmproxy dump (log.txt) for exposed secrets for: $ARGUMENTS > **Requires**: `log.txt` in the current directory. If it's missing, capture traffic first: > ```bash > mitmdump --set flow_detail=3 2>&1 | tee log.txt > ``` ## Secret Types to Find ### 1. API Keys & Tokens - `api_key`, `apiKey`, `access_key` - `secret_key`, `secretKey`, `client_secret` - `token`, `auth_token`, `bearer` - Patterns: Long alphanumeric strings (32+ chars) ### 2. Cloud Credentials - AWS: `AKIA...` (access key ID) - GCP: `AIza...` (API key) - Azure: Connection strings - Firebase: Config objects ### 3. Payment Secrets - Merchant salts - HMAC keys - Encryption keys - PCI-sensitive data ### 4. Third-Party Services - SMS gateway credentials - Email service keys - Analytics tokens - CDN secrets ### 5. Internal Secrets - Database credentials - Internal API keys - JWT secrets - Encryption salts ## Common Leak Locations - JavaScript files - Mobile app API calls - Error responses with stack traces - Debug endpoints - Configuration endpoints ## Output Format For each finding: - **Secret Type**: Category of secret - **Location**: Where found (endpoint/file) - **Value**: Partially masked secret - **Service**: What it's used for - **Risk**: Potential impact - **Verification**: How to test if active
在 GitHub 查看