| Version | Supported |
|---|---|
| 1.x | ✅ |
| < 1.0 | ❌ |
If you discover a security vulnerability in this package, please report it through GitHub's private vulnerability reporting:
- Go to the Security tab of this repository
- Click "Report a vulnerability"
- Fill out the form with:
- Description of the vulnerability
- Steps to reproduce
- Potential impact
- Any suggested fixes (optional)
- Confirmation that your report was received
- Regular updates on the fix progress
- Credit in the security advisory (unless you prefer to remain anonymous)
- A CVE will be requested for confirmed vulnerabilities when appropriate
When using this middleware:
- Always strip certificate headers at your reverse proxy to prevent spoofing
- Use
verifyHeader/verifyValueas defense-in-depth when using header-based auth - Keep dependencies updated - run
npm auditregularly - Validate certificate fields beyond just checking if authentication passed