Supported Versions
Only the most recent version of chezmoi is supported with security updates.
Always upgrade to the latest version to receive security fixes.
Virus Scanner False Positives
Virus scanning software, especially on Windows machines, occasionally report viruses or trojans in the chezmoi binary. This is almost certainly a false positive.
Why This Happens
Go binaries, especially those that are compressed or use certain compilation techniques, can trigger heuristic virus detection. This is a known issue with Go programs.
For more information see Why does my virus-scanning software think my Go distribution or compiled binary is infected? in the Go FAQ.
What to Do
If your virus scanner flags chezmoi:
-
Verify you downloaded chezmoi from official sources:
-
Verify the checksum of the binary against the official checksums
-
Check the signed checksums using cosign
-
If you’re still concerned, build from source:
git clone https://github.com/twpayne/chezmoi.git
cd chezmoi
make build
-
Add an exception in your virus scanner for the chezmoi binary
Reporting a Vulnerability
Do not report security vulnerabilities through public GitHub issues.
Please report vulnerabilities through one of these channels:
GitHub Security Advisories
Open a security advisory on GitHub (preferred method).
Email
Send an email to [email protected].
GitHub Issue
If the vulnerability is minor or you’re unsure, you can open a GitHub issue.
What to Include
When reporting a vulnerability, please include:
- Description of the vulnerability
- Steps to reproduce the issue
- Affected versions
- Potential impact
- Suggested fix (if any)
Response Timeline
- Initial response: Within 48 hours
- Status update: Within 1 week
- Fix timeline: Depends on severity
- Critical: As soon as possible
- High: Within 2 weeks
- Medium: Within 1 month
- Low: Next release cycle
Disclosure Policy
We follow coordinated disclosure:
- Vulnerability is reported privately
- We confirm and investigate the issue
- A fix is developed and tested
- A new version is released
- Public disclosure after users have had time to upgrade
Security Best Practices
When using chezmoi:
Protect Your Source Directory
- Keep your dotfiles repository private if it contains sensitive data
- Use encryption for secrets
- Never commit unencrypted passwords or API keys
Use Templates for Secrets
Regular Updates
- Keep chezmoi updated to the latest version
- Subscribe to the GitHub releases for notifications
Verify Downloads
- Always verify checksums when downloading binaries
- Use official package managers when possible
- Check signatures using cosign
See Also