We actively support the following versions of GoCraft with security updates:
| Version | Supported |
|---|---|
| 1.x.x | ✅ |
| < 1.0 | ❌ |
We take the security of GoCraft 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: [INSERT SECURITY EMAIL]
You should receive a response within 48 hours. If for some reason you do not, please follow up via email to ensure we received your original message.
Please include the following information in your report:
- 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
- The location of the affected source code (tag/branch/commit or direct URL)
- Any special configuration required to reproduce the issue
- 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 the issue
This information will help us triage your report more quickly.
We prefer all communications to be in English.
-
Acknowledgment: We will acknowledge receipt of your vulnerability report within 48 hours.
-
Initial Assessment: We will perform an initial assessment of the reported vulnerability within 5 business days.
-
Investigation: Our security team will investigate the issue and determine:
- Whether the issue is a valid security vulnerability
- The severity and impact of the vulnerability
- Which versions are affected
- What fixes are required
-
Resolution Timeline:
- Critical vulnerabilities: Patches within 7 days
- High severity: Patches within 30 days
- Medium/Low severity: Patches in next regular release cycle
-
Disclosure: We follow responsible disclosure practices:
- We will work with you to understand the issue fully
- We will keep you informed of our progress
- We will coordinate the disclosure timeline with you
- We will credit you in the security advisory (unless you prefer to remain anonymous)
When using GoCraft, please follow these security best practices:
- Keep Updated: Always use the latest supported version
- Environment Variables: Never commit sensitive data like API keys or passwords to version control
- Generated Code Review: Review generated code before deploying to production
- Access Control: Implement proper authentication and authorization in generated applications
- Input Validation: Ensure proper input validation in your applications
- HTTPS: Always use HTTPS in production environments
When contributing to GoCraft:
- Dependency Security: Keep dependencies updated and scan for vulnerabilities
- Code Review: All code changes require review before merging
- Static Analysis: Use static analysis tools to identify potential security issues
- Input Sanitization: Properly sanitize and validate all user inputs
- Error Handling: Avoid exposing sensitive information in error messages
- Secrets Management: Never hardcode secrets or credentials
GoCraft includes several security features:
- Input validation for all template parameters
- Sanitization of user-provided values
- Protection against template injection attacks
- Secure defaults for authentication and authorization
- HTTPS enforcement options
- Input validation middleware
- SQL injection prevention (when using supported ORMs)
- CORS configuration options
- Dependency vulnerability scanning
- Static code analysis integration
- Secure build pipeline practices
- Templates are processed server-side and should be treated as trusted code
- User input is validated before template processing
- Generated code should be reviewed before production deployment
- GoCraft requires file system write access to generate projects
- Generated files should be reviewed before execution
- Temporary files are cleaned up after generation
- GoCraft may download dependencies during code generation
- Ensure network security policies allow necessary connections
- Consider using private package repositories in restricted environments
Security updates will be:
- Announced via GitHub Security Advisories
- Tagged with clear version numbers following semantic versioning
- Documented with detailed changelog entries
- Communicated through our official channels
We believe in responsible disclosure and will:
- Acknowledge security researchers who report vulnerabilities
- Provide credit in security advisories (unless anonymity is requested)
- Work collaboratively to understand and resolve issues
- Maintain confidentiality until patches are available
- Coordinate disclosure timing to protect users
For security-related questions or concerns:
- Security Email: [INSERT SECURITY EMAIL]
- General Contact: [INSERT GENERAL EMAIL]
- GitHub Issues: For non-security related bugs and features only
This security policy is subject to our Terms of Service and Privacy Policy.
By reporting a vulnerability, you agree to:
- Not publicly disclose the issue until we have had a chance to address it
- Not exploit the vulnerability for malicious purposes
- Act in good faith to avoid privacy violations and disruption to others
We commit to:
- Respond to your report in a timely manner
- Keep you informed of our progress
- Credit your contribution (unless you prefer anonymity)
- Not pursue legal action against researchers who follow this policy
Thank you for helping keep GoCraft and our users safe!