Skip to main content
DevTools24

密钥扫描器

扫描代码中泄露的密钥和凭据。在提交前检测 AWS 密钥、GitHub 令牌、API 密钥等。

All scanning happens locally in your browser
Detected Secret Types:
AWS Access KeyAWS Secret KeyGitHub TokenGitHub Personal Access Token (Classic)Slack TokenSlack WebhookGoogle API KeyStripe Secret KeyStripe Publishable KeyStripe Test KeyTwilio API KeySendGrid API KeyMailchimp API Keynpm TokenPyPI TokenHeroku API KeyPrivate KeyPassword in URL
Note: This scanner uses pattern matching and may produce false positives. Always review detected items manually. Placeholders and environment variables are typically filtered out.

Secret Detection - 技术详情

Accidentally committing secrets to version control is a common security issue. Secrets include API keys, database passwords, OAuth tokens, and private keys. Use pre-commit hooks and secret scanning tools to prevent leaks.

命令行替代方案

# Use git-secrets or gitleaks\ngitleaks detect --source .\n\n# Pre-commit hook example\npre-commit install

参考

查看官方规范