
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
@commitguard/cli
Advanced tools
Protect your codebase with every commit. CommitGuard automatically analyzes your code for security vulnerabilities, performance issues, and code quality problems before they enter your repository. Grab your free API key at https://commitguard.ai.
Get CommitGuard running in under 60 seconds. It works seamlessly with any git repository and integrates automatically with VSCode and other git clients.
1. Install CommitGuard globally
npm install -g @commitguard/cli
2. Navigate to your project
cd your-project
3. Initialize CommitGuard
commitguard init
4. Commit as usual
CommitGuard now runs automatically on every commit. It works with all git integrations including VSCode, terminal, and other git clients.
git commit -m "Add new feature"
[CommitGuard] Analyzing commit...
✓ Commit passed all checks
To bypass CommitGuard checks for a specific commit, add --skip to your commit message:
git commit -m "Add new feature --skip"
The --skip flag is automatically removed from the final commit message. When using git in your terminal, you'll be prompted to confirm if you want to bypass checks.
View or update CommitGuard preferences for your repository:
commitguard config
On the Pro plan, you can add custom rules through the config comand.
commitguard initInstall CommitGuard in your current repository.
$ commitguard init
✓ CommitGuard installed successfully
commitguard removeRemove CommitGuard from the current repository.
$ commitguard remove
✓ CommitGuard removed
commitguard configView or update CommitGuard preferences for the current repository. Pro plan users can add custom rules.
$ commitguard config
Select enabled checks for this project:
Security, Performance, Code Quality, Architecture
commitguard keysManage your global API key for CommitGuard.
$ commitguard keys
Current API key: sk-ant-***************
--skip in your commit messageTry reinstalling the hooks:
commitguard remove
commitguard init
Verify that the hooks are installed:
ls -la .git/hooks/
You should see a pre-commit hook file.
Add --skip to your commit message:
git commit -m "Emergency fix --skip"
The --skip flag is automatically removed from the final message.
Remove the hooks and uninstall the package:
commitguard remove
npm uninstall -g @commitguard/cli
For issues, feature requests, or questions related to this package please open an issue or email us at hello@commitguard.ai
MIT
FAQs
AI-powered git commit checker that blocks bad code before it ships
We found that @commitguard/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.