| Version | Supported |
|---|---|
| 1.x.x | ✅ |
| 0.x.x | ❌ |
We take the security of zodkit seriously. If you have discovered a security vulnerability, please follow these steps:
- DO NOT create a public GitHub issue for security vulnerabilities
- Send a detailed report to the maintainers via:
- GitHub Security Advisories (preferred)
- Direct message to project maintainers
Please include the following information in your report:
- Description of the vulnerability
- Steps to reproduce the issue
- Potential impact
- Suggested fix (if available)
- Your contact information for follow-up
- Initial Response: Within 48 hours
- Status Update: Within 7 days
- Resolution Target: Within 30 days for critical issues
- The reported issue will be confirmed and analyzed
- A fix will be developed and tested
- A security advisory will be prepared
- The fix will be released as soon as possible
- Credit will be given to the reporter (unless anonymity is requested)
When using zodkit in your projects:
- Keep Dependencies Updated: Regularly update zodkit and its dependencies
- Validate Configurations: Ensure your Zod schemas are properly configured
- Limit File System Access: Be cautious with file patterns and paths
- Review Generated Code: Always review any code generated by zodkit
- Use Latest Stable Version: Avoid using pre-release versions in production
zodkit requires file system access to read and validate files. Ensure:
- File patterns are restricted to intended directories
- Sensitive files are excluded from validation
- Configuration files are properly secured
- Validate all user inputs before processing
- Use strict schema definitions
- Avoid dynamic schema generation from untrusted sources
zodkit relies on several third-party packages. We:
- Regularly audit dependencies for vulnerabilities
- Keep dependencies up-to-date
- Use
npm auditin our CI/CD pipeline
zodkit includes several security features:
- Input Validation: All configurations are validated with Zod schemas
- Path Sanitization: File paths are sanitized before access
- No Code Execution: zodkit only analyzes code, never executes it
- Dependency Scanning: Regular security audits of dependencies
For any security concerns or questions, please contact the maintainers through GitHub.
We appreciate the security research community's efforts in helping keep zodkit and its users safe.