
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
@defi-wonderland/crypto-husky-checks
Advanced tools
Automated security checks for your precommit hook
Avoid committing sensitive information by installing these automated security checks in your precommit hook.
Features:
:warning: This repository does not support Windows OS
# 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
@latestinstalls 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.
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.
find-crypto-keys.sh - Checks for crypto private keys on commited code. Should be added as a precommit hook
MIT license. Feel free to use, modify, and/or redistribute this software as you see fit. See the LICENSE file for more information.
FAQs
Automated security checks for your precommit hook
The npm package @defi-wonderland/crypto-husky-checks receives a total of 35 weekly downloads. As such, @defi-wonderland/crypto-husky-checks popularity was classified as not popular.
We found that @defi-wonderland/crypto-husky-checks demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

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.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.