We release patches for security vulnerabilities for the following versions:
| Version | Supported |
|---|---|
| 1.3.x | ✅ |
| 1.2.x | ❌ |
| < 1.0 | ❌ |
We take the security of CloudWeGo Template seriously. If you have discovered a security vulnerability, we appreciate your help in disclosing it to us in a responsible manner.
- Open a public GitHub issue
- Disclose the vulnerability publicly
- Exploit the vulnerability
Report security vulnerabilities to:
📧 Email: security@example.com
Or create a private security advisory on GitHub: https://github.com/yi-nology/cloudwego-template/security/advisories/new
Please include the following information in your report:
- Description of the vulnerability
- Steps to reproduce the issue
- Possible impact of the vulnerability
- Suggested fix (if any)
- Your name/handle (optional, for credit)
- ⏱️ We will acknowledge receipt of your report within 48 hours
- 🔍 We will investigate and provide an initial assessment within 7 days
- 🛠️ We will release a fix as soon as possible, depending on complexity
- 📢 We will publicly disclose the issue after the fix is released
- 🙏 We will credit you in our security advisories (unless you prefer to remain anonymous)
When using CloudWeGo Template:
-
Keep dependencies up to date
go mod tidy go get -u
-
Use environment variables for sensitive data
database: password: "${DB_PASSWORD}" redis: password: "${REDIS_PASSWORD}"
-
Enable security scanning
go install github.com/securego/gosec/v2/cmd/gosec@latest gosec ./...
-
Review configuration files
- Never commit secrets to version control
- Use
.gitignorefor sensitive files
-
Keep Go version updated
# Check for updates go version
No known security vulnerabilities in the current version.
Security updates will be announced via:
For general security questions:
- 💬 GitHub Discussions
- 📧 Email: security@example.com
Thank you for helping keep CloudWeGo Template secure! 🔒