Documentation Index
Fetch the complete documentation index at: https://mintlify.com/twpayne/chezmoi/llms.txt
Use this file to discover all available pages before exploring further.
Supported Versions
Only the most recent version of chezmoi is supported with security updates.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:
- GitHub Releases
- Official package managers (Homebrew, apt, etc.)
- The official install script at get.chezmoi.io
- Verify the checksum of the binary against the official checksums
- Check the signed checksums using cosign
-
If you’re still concerned, build from source:
- Add an exception in your virus scanner for the chezmoi binary
Reporting a Vulnerability
Please report vulnerabilities through one of these channels:GitHub Security Advisories
Open a security advisory on GitHub (preferred method).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
- Store secrets in a password manager
- Use template functions to retrieve secrets
- Use age or gpg encryption
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
- Releases - Information about release signing
- Code of Conduct