INCIDENT_RESPONSE_PLAN.md
This file
Path
.github/INCIDENT_RESPONSE_PLAN.md
117 lines · 3.6 KiB · Markdown
Last changed by
[meta] update security policy; add IRPJordan Harbandbefore adoption1aab8b2
History of this fileTake it
[meta] update security policy; add IRPJordan Harbandbefore adoption1aab8b2
lines 1–117why, one step back1# Incident Response Process for **nvm**23## Reporting a Vulnerability45We take the security of **nvm** very seriously. If you believe you’ve found a security vulnerability, please inform us responsibly through coordinated disclosure.67### How to Report89> **Do not** report security vulnerabilities through public GitHub issues, discussions, or social media.1011Instead, please use one of these secure channels:12131. **GitHub Security Advisories**14 Use the **Report a vulnerability** button in the Security tab of the [nvm-sh/nvm repository](https://github.com/nvm-sh/nvm).15162. **Email**17 Follow the posted [Security Policy](https://github.com/nvm-sh/nvm/security/policy).1819### What to Include2021**Required Information:**22- Brief description of the vulnerability type23- Affected version(s) and components24- Steps to reproduce the issue25- Impact assessment (what an attacker could achieve)2627**Helpful Additional Details:**28- Full paths of affected scripts or files29- Specific commit or branch where the issue exists30- Required configuration to reproduce31- Proof-of-concept code (if available)32- Suggested mitigation or fix3334## Our Response Process3536**Timeline Commitments:**37- **Initial acknowledgment**: Within 24 hours38- **Detailed response**: Within 3 business days39- **Status updates**: Every 7 days until resolved40- **Resolution target**: 90 days for most issues4142**What We’ll Do:**431. Acknowledge your report and assign a tracking ID442. Assess the vulnerability and determine severity453. Develop and test a fix464. Coordinate disclosure timeline with you475. Release a security update and publish an advisory and CVE486. Credit you in our security advisory (if desired)4950## Disclosure Policy5152- **Coordinated disclosure**: We’ll work with you on timing53- **Typical timeline**: 90 days from report to public disclosure54- **Early disclosure**: If actively exploited55- **Delayed disclosure**: For complex issues5657## Scope5859**In Scope:**60- **nvm** project (all supported versions)61- Installation and update scripts (`install.sh`, `nvm.sh`)62- Official documentation and CI/CD integrations63- Dependencies with direct security implications6465**Out of Scope:**66- Third-party forks or mirrors67- Platform-specific installs outside core scripts68- Social engineering or physical attacks69- Theoretical vulnerabilities without practical exploitation7071## Security Measures7273**Our Commitments:**74- Regular vulnerability scanning via GitHub Actions75- Automated security checks in CI/CD pipelines76- Secure scripting practices and mandatory code review77- Prompt patch releases for critical issues7879**User Responsibilities:**80- Keep **nvm** updated81- Verify script downloads via PGP signatures82- Follow secure configuration guidelines for shell environments8384## Legal Safe Harbor8586**We will NOT:**87- Initiate legal action88- Contact law enforcement89- Suspend or terminate your access9091**You must:**92- Only test against your own installations93- Not access, modify, or delete user data94- Not degrade service availability95- Not publicly disclose before coordinated disclosure96- Act in good faith9798## Recognition99100- **Advisory Credits**: Credit in GitHub Security Advisories (unless anonymous)101102## Security Updates103104**Stay Informed:**105- Subscribe to GitHub releases for **nvm**106- Enable GitHub Security Advisory notifications107108**Update Process:**109- Patch releases (e.g., v0.40.3 → v0.40.4)110- Out-of-band releases for critical issues111- Advisories via GitHub Security Advisories112113## Contact Information114115- **Security reports**: Security tab of [nvm-sh/nvm](https://github.com/nvm-sh/nvm/security)116- **General inquiries**: GitHub Discussions or Issues117