git-hooks
Safeguard articles tagged "git-hooks" — guides, analysis, and best practices for software supply chain and application security.
3 articles
Gitea's RCE Through Git Hook Installation Was Confirmed Exploited in a Day
CVE-2026-60004, remote code execution in Gitea via the diffpatch API and Git hook installation, went from disclosure to confirmed exploitation in roughly 24 hours.
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.
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.
Self-healing security runs on Safeguard.
Your first fix PR is minutes away.
No sales call required, even your agent can complete the purchase over MCP.