| Version | Supported |
|---|---|
| 1.0.x | ✅ |
| < 1.0 | ❌ |
We take the security of nz-legislation 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: dylan.mordaunt@vuw.ac.nz
You should receive a response within 48 hours acknowledging your report.
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 issue
- Location of the affected source code (tag/branch/commit or direct URL)
- 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
-
Acknowledgment (within 48 hours)
- We'll confirm receipt of your report
-
Investigation (within 5 business days)
- We'll investigate the reported issue
- We may request additional information
-
Resolution (timeline depends on severity)
- Critical: Within 7 days
- High: Within 14 days
- Medium: Within 30 days
- Low: Within 60 days
-
Disclosure
- We'll coordinate with you on public disclosure
- We'll credit you for the discovery (if you wish)
- We'll publish a security advisory if appropriate
- ✅ Regular dependency updates via Dependabot
- ✅ CI/CD security checks
- ✅ Code review for all changes
- ✅ Minimal permissions principle
- ✅ Secure API key handling
- ✅ No sensitive data in logs
- API keys are stored locally (not encrypted)
- No runtime security scanning (yet)
- Dependencies are trusted from npm registry
Security updates will be released as patch versions (e.g., 1.0.1, 1.0.2) and announced via:
- GitHub Releases: https://github.com/edithatogo/nz-legislation/releases
- npm changelog: https://www.npmjs.com/package/nz-legislation
Thank you for helping keep nz-legislation and our users safe!