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.
Instead, please report them via email to security@lessup.dev (or create a private security advisory on GitHub).
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, 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!