Tag
git-hooks
Safeguard articles tagged "git-hooks" — guides, analysis, and best practices for software supply chain and application security.
2 articles
Open Source
lint-staged (npm): A Security Review and Safe Setup Guide
The lint-staged npm package runs linters and formatters only on your git-staged files, keeping commits clean and fast. Here is how to configure it safely and what its command-running design means for security.
Jul 1, 20255 min read
How-To Guide
Setting Up Pre-Commit Security Hooks
Catch secrets, vulnerable patterns, and misconfigurations before they reach your repository with pre-commit hooks that developers will actually keep enabled.
Oct 12, 20226 min read