🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@defi-wonderland/crypto-husky-checks

Package Overview
Dependencies
Maintainers
6
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@defi-wonderland/crypto-husky-checks

Automated security checks for your precommit hook

latest
Source
npmnpm
Version
1.5.6
Version published
Weekly downloads
45
-57.14%
Maintainers
6
Weekly downloads
 
Created
Source

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

:warning: This repository does not support Windows OS

Install

# Install the latest versions (will be fixed to the current latest version)
npm add -D husky@latest @defi-wonderland/crypto-husky-checks@latest

# Enable husky and setup the prepare script
npm pkg set scripts.prepare="husky && wonderland-crypto-husky-checks install"
npm run prepare

Note: Using @latest installs the exact version that is latest at the time of installation, not a version range. This means your package.json will have fixed versions like "husky": "9.1.7" without any caret (^) or tilde (~) prefix.

Troubleshooting

If you encounter an error like this on macOS:

cp: .../node_modules/@defi-wonderland/crypto-husky-checks/@defi-wonderland/crypto-husky-checks/src/find-crypto-keys.sh: No such file or directory

This is a known issue with path construction on macOS that has been fixed in the latest version. Please update to the latest version of the package.

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.

Keywords

checks

FAQs

Package last updated on 27 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts