Aikido Secrets Pre-Commit Hook
Installation
curl -fsSL https://raw.githubusercontent.com/AikidoSec/pre-commit/0ed1821ab5e8112987eb5840105f2e0343564395/installation-samples/install-global/install-aikido-hook.sh | bashiex (iwr "https://raw.githubusercontent.com/AikidoSec/pre-commit/0ed1821ab5e8112987eb5840105f2e0343564395/installation-samples/install-global/install-aikido-hook.ps1" -UseBasicParsing)Testing the the pre-commit hook
const password = "eRwjQKVUSRX7uYV017B0cRHVKv45Gv8G"Detected secrets in staged files!
Secret #1:
File: sample.js
Line: 1
Secret: password = "****************************Gv8G"
Description: Detected a Generic API Key, potentially exposing access to various services and sensitive operations.Skipping a specific secret
Disable the Aikido Secrets pre-commit scan
Uninstall
Manual uninstall of global pre-commit hooks
Manual uninstall of only Aikido Git Hook
Related articles
Last updated
Was this helpful?