# Security Policy The maintainers of `eml-tmLanguage` take the security of this project seriously. This document outlines our supported versions, vulnerability scope, and coordinated disclosure process. --- ## Supported Versions Security fixes and regular updates are provided for the latest release line. | Version | Supported | Notes | | ------- | ------------------ | ------------------------------------------------------------------- | | `0.2.x` | :white_check_mark: | Current active release line (Sublime Text 3 and TextMate 2) | | `0.1.x` | :x: | Legacy pre-0.2 releases (no new updates) | --- ## Reporting a Vulnerability **Please do not report security vulnerabilities via public GitHub issues, discussions, or pull requests.** Please submit vulnerability reports confidentially through GitHub's [Private Vulnerability Reporting](https://github.com/mariozaizar/eml-tmLanguage/security/advisories/new): 1. Navigate to the **Security** tab of the repository on GitHub. 2. Select **Advisories** from the left-hand menu. 3. Click **Report a vulnerability** to open a private disclosure draft. --- ## Scope ### In Scope - Regular Expression Denial of Service (ReDoS) or parser hangs in `email.tmBundle/Syntaxes/email.tmLanguage` or `email.YAML-tmLanguage` - Unsafe command execution, popup injection, or file handling in any future Sublime Text 3 plugins or TextMate 2 bundle commands - Supply-chain or permission issues in repository GitHub Actions workflows ### Out of Scope - Vulnerabilities in Sublime Text 3, TextMate 2, or third-party packages/bundles (please report those directly to their respective maintainers) --- ## What to Include in Your Report To help us reproduce and resolve the issue quickly, please include: - **Type of vulnerability**: e.g., ReDoS, unsafe plugin/command handling, or workflow issue. - **Proof of Concept**: A minimal, sanitized `.eml` file or steps to reproduce. - **Environment**: Operating system (macOS, Linux, Windows), Sublime Text 3 build or TextMate 2 version, and package version. - **Impact**: A brief description of what an attacker could achieve. - **Suggested Fix**: Any proposed patch or mitigation, if known. --- ## Response Process & Coordinated Disclosure 1. **Initial Acknowledgment**: We will acknowledge receipt of your report within **48 hours**. 2. **Investigation & Triage**: We will validate the report, assess severity, and share an initial response within **5 business days**. 3. **Remediation**: Confirmed vulnerabilities are fixed in a private security advisory branch. 4. **Coordinated Disclosure**: We follow a standard **90-day** coordinated disclosure window. Once a fix is released, we will publish a GitHub Security Advisory (requesting a CVE when appropriate) crediting the reporter unless anonymity is requested. --- ## Safe Harbor We support good-faith security research conducted in accordance with this policy. If you make a genuine effort to avoid privacy violations, data destruction, and service disruption while reporting vulnerabilities responsibly, we will not pursue legal action against you for your research on this repository.