We provide security updates for the following versions:
| Version | Supported |
|---|---|
| 1.0.7 | ✅ |
| 1.0.5 | ✅ |
| < 1.0.5 | ❌ |
We take the security of nabla-hooks seriously. If you believe you have found a security vulnerability, please report it to us as described below.
Please do not report security vulnerabilities through public GitHub issues.
Instead, please report them via email to: alban.andrieu@free.fr
Include the following information:
- Type of issue (e.g., buffer overflow, SQL injection, cross-site scripting, etc.)
- Full paths of source file(s) related to the manifestation of the issue
- Location of the affected source code (tag/branch/commit or direct URL)
- Step-by-step instructions to reproduce the issue
- Proof-of-concept or exploit code (if possible)
- Impact of the issue, including how an attacker might exploit it
This information will help us triage your report more quickly.
- Acknowledgment: You should receive an acknowledgment within 48 hours
- Initial Assessment: We will provide an initial assessment within 5 business days
- Progress Updates: We will keep you informed of our progress
- Disclosure: We will work with you to understand the issue and develop a fix
- Credit: You will be credited for the discovery (unless you prefer to remain anonymous)
- Validation: We validate the reported vulnerability
- Development: We develop a fix in a private repository
- Testing: We thoroughly test the fix
- Release: We release a security update
- Announcement: We announce the vulnerability and fix (after the fix is deployed)
When using nabla-hooks, follow these security best practices:
- Keep Updated: Always use the latest version
- Review Configuration: Regularly review your configuration files
- Secure Credentials: Never commit JIRA credentials or tokens to version control
- Use Environment Variables: Store sensitive data in environment variables
- Validate Inputs: Be cautious with user-provided commit messages
When using JIRA integration:
# ✅ Good - Use environment variables
export JIRA_USER=your-email@example.com
export JIRA_PASSWORD=your-api-token
export JIRA_URL=https://your-domain.atlassian.net
# ❌ Bad - Don't hardcode credentials
JIRA_USER="user@example.com" # In script filesWhen using custom certificates:
# Always use proper certificate paths
export JIRA_CERT_PATH=/etc/ssl/certs/ca-certificates.crt
# Don't disable SSL verification in productionThis project uses several dependencies. We:
- Regularly update dependencies
- Monitor security advisories
- Use tools like Dependabot, Bandit, and Checkov
Git hooks execute code on your system. Be aware:
- Hooks run with your user permissions
- Review hooks before installation
- Only install hooks from trusted sources
Be careful not to expose sensitive data:
- JIRA credentials
- API tokens
- Internal URLs
- Private repository information
We use several security tools to maintain code quality:
- Bandit: Python security linter
- Checkov: Infrastructure as code security scanning
- Gitleaks: Secret detection
- Grype: Vulnerability scanning
- Semgrep: Static analysis security testing
- Dependabot: Automated dependency updates
Run security scans locally:
# Run Bandit
bandit -r hooks/ pre_commit_hooks/
# Run Checkov
checkov --directory .
# Run Gitleaks
gitleaks detect --source . --verbose
# Run Grype
grype .When we receive a security bug report, we will:
- Confirm the problem and determine affected versions
- Audit code to find any similar problems
- Prepare fixes for all supported versions
- Release new versions as soon as possible
We aim to:
- Acknowledge reports within 48 hours
- Provide fixes within 30 days for critical vulnerabilities
- Provide fixes within 90 days for non-critical vulnerabilities
No security advisories have been published for this project yet.
We would like to thank the following individuals for responsibly disclosing security vulnerabilities:
(No entries yet)
For security-related questions or concerns, please contact:
- Email: alban.andrieu@free.fr
- Gitter: nabla-hooks/Lobby
Thank you for helping keep nabla-hooks and its users safe!