Back to All HooksPreToolUsePostToolUse
Secrets Hooks for Claude Code
2 hooks tagged with “secrets”
Secret Scanner
Scans files for accidentally committed secrets, API keys, and credentials before they are written
securitysecretsscanningprevention
Environment Variable Leak Detector
Scans files after edits for hardcoded secrets, API keys, and tokens that should be in environment variables
securitysecretsenvironment-variablesapi-keys+1
Use cases that include secrets
Browse more topics
api-keysaudioauditautomationbashbest-practicesbranchbritishbuildbundle-sizechangelogcicleanupcode-qualitycommitconventional-commitscoveragedead-codedefensedependenciesdocumentationenforcementenvironment-variableseslintfeedbackfile-sizeformatformattinggitgithubguardimportslintlintinglocalizationmacosmaintenancenotificationoptimizationorganizationperformancepermissionsprprettierpreventionproductivityprompt-injectionprotectionqualityrepositorysafetyscanningsecretssecurityspellingsupply-chaintddtestingtexttypescriptvulnerability