We release patches for security vulnerabilities for the following versions:
| Version | Supported |
|---|---|
| 1.x.x | ✅ |
| < 1.0 | ❌ |
We take the security of WebGPU Sorting 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.
Please use GitHub's private vulnerability reporting flow:
- Open the repository's Security tab
- Create a Private vulnerability report
- Include the reproduction details listed below
If private reporting is unavailable for your environment, open a GitHub Security Advisory draft instead of using a public issue.
Please include the following information in your report:
- Type of issue (e.g., buffer overflow, code injection, 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 it
After you submit a report, we will:
- Confirm receipt of your vulnerability report within 48 hours
- Provide an estimated timeline for a fix
- Notify you when the vulnerability is fixed
- Credit you in the release notes (unless you prefer to remain anonymous)
We prefer all communications to be in English.
When using this library, please follow these security best practices:
- Input Validation: Always validate input data before passing it to GPU sorting functions
- Buffer Sizes: Be mindful of buffer sizes to prevent out-of-memory conditions
- Error Handling: Properly handle GPU errors and device loss events
- Resource Cleanup: Always call
destroy()methods to release GPU resources
- HTTPS: WebGPU requires a secure context (HTTPS) in production
- CSP: Configure Content Security Policy headers appropriately
- Origin Isolation: Use Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy headers
We would like to thank the following individuals for responsibly disclosing security issues:
- (No reports yet)
Thank you for helping keep WebGPU Sorting and its users safe!