Skip to content

defi-wonderland/crypto-husky-checks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Node.js CI license badge

Crypto Husky Checks

Avoid committing sensitive information by installing these automated security checks in your precommit hook.

Features:

  • Checks for crypto private keys on commited code

⚠️ This repository does not support Windows OS


Requirements

yarn add -D husky

Install

yarn add -D @defi-wonderland/crypto-husky-checks
npm set-script prepare "husky install && wonderland-crypto-husky-checks install"
npm run prepare

Checks:


find-crypto-keys.sh - Checks for crypto private keys on commited code. Should be added as a precommit hook

License

MIT license. Feel free to use, modify, and/or redistribute this software as you see fit. See the LICENSE file for more information.