Skip to content

A full-featured download manager.

docs: add community health documentation

Dr_rOot393e8523a5b7
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
new file mode 100644
index 00000000..2758b9e8
--- /dev/null
+++ b/.github/pull_request_template.md
@@ -0,0 +1,39 @@
+## Summary / 概述
+
+<!--
+Explain what this pull request changes and why.
+请说明此 Pull Request 修改了什么,以及为什么需要修改。
+-->
+
+## Related issue / 相关 Issue
+
+<!-- Use "Closes #123" when merging this pull request should close an issue. -->
+
+## Changes / 改动
+
+-
+
+## Validation / 验证
+
+<!-- Check every command you ran. Add focused tests and manual checks below. -->
+
+- [ ] `pnpm run check:boundaries`
+- [ ] `pnpm run lint`
+- [ ] `pnpm exec tsc --noEmit`
+- [ ] Relevant automated tests / 相关自动化测试
+- [ ] Manual verification, if applicable / 必要的手动验证
+
+Validation details / 验证详情:
+
+<!-- Include exact test commands, environments, and results. -->
+
+## Screenshots or recordings / 截图或录屏
+
+<!-- Required for visible UI changes. Delete this section when not applicable. -->
+
+## Checklist / 检查清单
+
+- [ ] This pull request targets `main` and contains one focused change.
+- [ ] User-visible text is localized, and paired English/Chinese documentation stays aligned.
+- [ ] No credentials, private URLs, personal paths, or other sensitive information are included.
+- [ ] I have read and followed the [contribution guidelines](https://github.com/agalwood/Motrix/blob/main/CONTRIBUTING.md) and [Code of Conduct](https://github.com/agalwood/Motrix/blob/main/CODE_OF_CONDUCT.md).
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
new file mode 100644
index 00000000..f8037189
--- /dev/null
+++ b/CONTRIBUTING.md
@@ -0,0 +1,136 @@
+# Contributing to Motrix
+
+English | [简体中文](CONTRIBUTING.zh-CN.md)
+
+Thank you for contributing to Motrix. Code, tests, documentation, translations, issue reports, and design feedback are all valuable ways to improve the project.
+
+Participation in this project is governed by the [Code of Conduct](CODE_OF_CONDUCT.md). Report suspected vulnerabilities privately according to the [Security Policy](SECURITY.md); never disclose them in a public issue, discussion, or pull request.
+
+## Choose the Right Channel
+
+- Search the [open and closed issues](https://github.com/agalwood/Motrix/issues?q=is%3Aissue) before creating a new report.
+- Use the repository's [issue forms](https://github.com/agalwood/Motrix/issues/new/choose) for reproducible bugs and focused feature requests.
+- Use [GitHub Discussions](https://github.com/agalwood/Motrix/discussions) for support questions, usage guidance, and ideas that are not yet ready to become an issue.
+- Discuss significant features, architecture changes, new dependencies, and breaking changes before investing in an implementation.
+- Keep each issue and pull request focused on one problem or capability.
+
+## Prepare a Development Environment
+
+Development requires Git, Node.js 22 or later, and the pnpm version declared in the `packageManager` field of `package.json`.
+
+Fork the repository if you do not have write access, then clone your fork and install the dependencies:
+
+```bash
+git clone https://github.com/<your-account>/Motrix.git
+cd Motrix
+pnpm install
+pnpm start
+```
+
+Create your development branch from the latest `main` and target `main` with your pull request. The legacy `master` branch only preserves the v1 codebase and is frozen; do not submit new changes to it.
+
+Branch names use `<type>/<snake_case_topic>_<YYYYMMDD>`. You may place an issue number before the topic when one is available, for example `fix/1970_conduct_links_20260826`.
+
+## Understand the Architecture
+
+Motrix Turbo has one host-neutral product core behind two application shells: an Electron desktop application and a Node/Web server. The shared renderer runs in both environments. This separation keeps product behavior reusable, prevents Electron concerns from leaking into the server, and allows the download engine to be replaced behind a stable adapter.
+
+### Layer Responsibilities
+
+| Directory | Responsibility | Dependency boundary |
+| --- | --- | --- |
+| `src/renderer/` | Shared Electron/browser user interface | Imports `@shared/` and renderer-local modules. Product behavior is accessed through `@renderer/lib/transport`. |
+| `src/preload/` | Narrow Electron context bridge | Uses Electron and pure protocol values or types from `src/shared/`; it does not contain product behavior. |
+| `src/main/` | Electron shell, IPC, windows, menus, and operating-system integration | May compose `src/core/`, `src/shared/`, and Electron-specific adapters. |
+| `src/server/` | Node/Docker shell, HTTP/WebSocket endpoints, and server platform integration | May compose `src/core/`, `src/shared/`, and server libraries; it must not import Electron or `src/main/`. |
+| `src/core/` | Host-neutral application services, domain behavior, engine orchestration, and plugin policy | May use `src/shared/` and host-neutral libraries; it must not import either application shell. |
+| `src/shared/` | Cross-layer schemas, protocol constants, types, locale data, and pure utilities | Must remain free of I/O, timers, network access, Electron APIs, and Node-specific APIs. |
+| `packages/native-host/` | Standalone Rust native-messaging host for browser-extension pairing | Communicates through the published bridge contract and does not depend on system Node.js or Electron. |
+| `src/test-utils/` | Test-only fixtures and helpers | Must never be imported by production code. |
+
+### Transport and Protocol Flow
+
+The renderer uses the same command, query, and event contract in both hosts:
+
+```text
+Electron: renderer -> ElectronTransport -> preload -> main IPC -> core
+Browser: renderer -> HttpWsTransport -> server RPC/events -> core
+```
+
+Feature code in the renderer must use `@renderer/lib/transport`; direct `window.motrix` access is limited to the Electron transport and narrowly scoped platform adapters. Channel names and payload contracts belong in `src/shared/protocol/`. Use `Commands`, `Queries`, `Events`, and their `Bridge*` counterparts instead of raw channel strings.
+
+### Engine, Bridge, and Plugin Boundaries
+
+- Product-level code targets `EngineAdapter` in `src/core/engine/engine-adapter.ts`. aria2 RPC types and conversion logic remain inside the concrete aria2 adapter, while `EngineSupervisor` exclusively owns the engine lifecycle.
+- MDXP uses JSON-RPC 2.0 over HTTP and WebSocket. The `@motrix/mdxp` package is the source of truth for wire schemas, method constants, error codes, and connection behavior; do not duplicate those contracts locally.
+- Host-neutral plugin state, policy, installation, capabilities, and sandbox orchestration live in `src/core/plugin/`. Electron and Node/Docker wiring live in `src/main/plugin/` and `src/server/plugin/`, respectively.
+- Plugin guest code runs in a separate QuickJS worker and reaches host behavior only through the typed capability bridge. New host-specific capabilities must be implemented and tested in both capability hosts.
+
+Run `pnpm run check:boundaries` whenever imports or layer responsibilities change. The automated check is a baseline, not a substitute for reviewing the dependency direction described above.
+
+## Follow the Implementation Standards
+
+### Code and Files
+
+- Write code, comments, identifiers, filenames, commit messages, and pull request titles in English.
+- Use `kebab-case` for JavaScript, TypeScript, TSX, and stylesheet filenames.
+- Use `import type` for type-only imports and the `node:` prefix for Node.js built-ins.
+- Prefer the configured alias over deep relative imports, but confirm that the alias is available in the target runtime.
+- Add or update tests whenever behavior changes. Production code must not depend on test helpers or generated build output.
+
+### User-Visible Text and Documentation
+
+- Localize all user-visible application and operator text through the existing i18next resources; do not hard-code interface strings.
+- Update every registered locale when adding or changing a translation key, and preserve the exact placeholder set across locales.
+- When editing one file in an English/Simplified Chinese documentation pair, update the other in the same change. Keep headings, commands, paths, and examples aligned while using idiomatic language in each version.
+- Do not commit credentials, private URLs, personal paths, private plans, generated local state, or unrelated changes.
+
+### Commits
+
+Use Conventional Commits:
+
+```text
+<type>(<optional-scope>): <imperative summary>
+```
+
+Allowed types are `feat`, `fix`, `refactor`, `perf`, `test`, `docs`, `chore`, `ci`, and `style`. Write the summary in lowercase, omit the trailing period, and keep it under 72 characters. Add a body when the rationale is not obvious and a `BREAKING CHANGE:` footer when applicable.
+
+## Validate the Change
+
+Run the required gate before every commit:
+
+```bash
+pnpm run check:boundaries
+pnpm run lint
+pnpm exec tsc --noEmit
+```
+
+Run every additional check that matches the change:
+
+- behavior or logic: focused Vitest tests, or `pnpm test` for broad cross-cutting changes;
+- covered browser or Electron user flows: `pnpm test:e2e`;
+- locale resources or internationalization behavior: `pnpm run check:i18n`;
+- added or renamed files: `pnpm run check:file-names`;
+- plugin manifest contracts: `pnpm run check:schema-parity`;
+- dependencies, bundled assets, or license metadata: `pnpm run check:third-party-notices`;
+- native-host Rust code: the formatting, lint, and test commands below.
+
+For native-host Rust changes, run:
+
+```bash
+cargo fmt --manifest-path packages/native-host/Cargo.toml --all -- --check
+cargo clippy --manifest-path packages/native-host/Cargo.toml --all-targets --locked -- -D warnings
+cargo test --manifest-path packages/native-host/Cargo.toml --locked --all-targets
+```
+
+Review the final diff, run `git diff --check`, and record the exact commands and results in the pull request. Do not suppress failures or discard command exit codes.
+
+## Submit a Pull Request
+
+- Target `main`, link the related issue, and explain both the problem and the chosen solution.
+- Complete the pull request template, including the exact validation commands, environments, and results.
+- Include screenshots or recordings for visible interface changes.
+- Keep generated files and dependency changes limited to what the pull request requires.
+- Address review feedback with follow-up commits. Maintainers normally squash feature pull requests when merging.
+
+Contributions are accepted under the repository's [MIT License](LICENSE). Third-party assets may have different terms documented in [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md).
diff --git a/CONTRIBUTING.zh-CN.md b/CONTRIBUTING.zh-CN.md
new file mode 100644
index 00000000..01df438b
--- /dev/null
+++ b/CONTRIBUTING.zh-CN.md
@@ -0,0 +1,136 @@
+# 为 Motrix 做贡献
+
+[English](CONTRIBUTING.md) | 简体中文
+
+感谢你参与 Motrix 项目。代码、测试、文档、翻译、Issue 反馈和设计建议都能帮助项目持续改进。
+
+参与项目即表示你同意遵守[行为准则](CODE_OF_CONDUCT.zh-CN.md)。如需报告疑似安全漏洞,请按照[安全策略](SECURITY.zh-CN.md)私密提交;切勿在公开 Issue、Discussion 或 Pull Request 中披露漏洞信息。
+
+## 选择合适的沟通渠道
+
+- 创建反馈前,请先搜索[现有及已关闭的 Issue](https://github.com/agalwood/Motrix/issues?q=is%3Aissue)。
+- 使用项目的 [Issue 表单](https://github.com/agalwood/Motrix/issues/new/choose)反馈可复现的问题或明确的功能建议。
+- 使用 [GitHub Discussions](https://github.com/agalwood/Motrix/discussions)咨询使用问题、获取帮助,或讨论尚未成熟到可以创建 Issue 的想法。
+- 在投入实现之前,请先讨论重要功能、架构调整、新增依赖和破坏性变更。
+- 每个 Issue 和 Pull Request 应只处理一个明确的问题或功能点。
+
+## 准备开发环境
+
+开发需要 Git、Node.js 22 或更高版本,以及 `package.json` 中 `packageManager` 字段指定的 pnpm 版本。
+
+如果你没有仓库写入权限,请先 Fork 仓库,再克隆自己的 Fork 并安装依赖:
+
+```bash
+git clone https://github.com/<your-account>/Motrix.git
+cd Motrix
+pnpm install
+pnpm start
+```
+
+请从最新的 `main` 创建开发分支,并将 Pull Request 提交到 `main`。`master` 仅保留旧版 v1 代码,已经冻结;请勿向该分支提交新改动。
+
+分支名称使用 `<type>/<snake_case_topic>_<YYYYMMDD>` 格式。如果存在对应 Issue,可以在主题前加入 Issue 编号,例如 `fix/1970_conduct_links_20260826`。
+
+## 了解项目架构
+
+Motrix Turbo 采用宿主无关的产品核心,并在其外部提供两种应用宿主:Electron 桌面应用和 Node/Web 服务端。两种运行方式共用同一套渲染层。这样的分层可以复用产品行为,避免 Electron 相关逻辑渗透到服务端,并允许下载引擎在稳定的适配器之后独立替换。
+
+### 各层职责
+
+| 目录 | 职责 | 依赖边界 |
+| --- | --- | --- |
+| `src/renderer/` | Electron 与浏览器共用的渲染层 | 只导入 `@shared/` 和渲染层内部模块;通过 `@renderer/lib/transport` 访问产品能力。 |
+| `src/preload/` | 受限的 Electron 上下文桥接层 | 使用 Electron,以及 `src/shared/` 中的纯协议值或类型;不承载产品行为。 |
+| `src/main/` | Electron 宿主、IPC、窗口、菜单和操作系统集成 | 可以组合 `src/core/`、`src/shared/` 和 Electron 专用适配器。 |
+| `src/server/` | Node/Docker 宿主、HTTP/WebSocket 端点和服务端平台集成 | 可以组合 `src/core/`、`src/shared/` 和服务端库;不得导入 Electron 或 `src/main/`。 |
+| `src/core/` | 宿主无关的应用服务、领域行为、引擎编排和插件策略 | 可以使用 `src/shared/` 和宿主无关的库;不得导入任一应用宿主。 |
+| `src/shared/` | 跨层 Schema、协议常量、类型、语言数据和纯工具函数 | 不得执行 I/O,不得使用定时器、网络、Electron API 或 Node.js 专用 API。 |
+| `packages/native-host/` | 用于浏览器扩展配对的独立 Rust 原生消息宿主 | 通过已发布的桥接契约通信,不依赖系统 Node.js 或 Electron。 |
+| `src/test-utils/` | 仅供测试使用的 Fixture 和辅助工具 | 生产代码不得导入此目录。 |
+
+### 传输与协议流向
+
+渲染层在两种宿主中使用同一套命令、查询和事件契约:
+
+```text
+Electron: renderer -> ElectronTransport -> preload -> main IPC -> core
+Browser: renderer -> HttpWsTransport -> server RPC/events -> core
+```
+
+渲染层中的功能代码必须使用 `@renderer/lib/transport`;只有 `ElectronTransport` 和范围严格受限的平台适配器可以直接访问 `window.motrix`。通道名称和载荷契约属于 `src/shared/protocol/`。请使用 `Commands`、`Queries`、`Events` 及其 `Bridge*` 对应项,不要使用原始通道字符串。
+
+### 引擎、桥接与插件边界
+
+- 产品层代码面向 `src/core/engine/engine-adapter.ts` 中的 `EngineAdapter`。aria2 RPC 类型和转换逻辑必须保留在具体的 aria2 适配器内部;引擎生命周期仅由 `EngineSupervisor` 负责。
+- MDXP 通过 HTTP 和 WebSocket 使用 JSON-RPC 2.0。`@motrix/mdxp` 软件包是线协议 Schema、方法常量、错误码和连接行为的唯一事实来源;不要在本仓库中重复定义这些契约。
+- 宿主无关的插件状态、策略、安装、能力和沙箱编排属于 `src/core/plugin/`。Electron 与 Node/Docker 的装配分别属于 `src/main/plugin/` 和 `src/server/plugin/`。
+- 插件代码在独立的 QuickJS Worker 中运行,只能通过类型化的能力桥访问宿主能力。新增宿主专用能力时,必须在两种能力宿主中完成实现和测试。
+
+修改导入关系或分层职责后,请运行 `pnpm run check:boundaries`。自动化检查只是基线,不能替代对上述依赖方向的人工审查。
+
+## 遵循实现规范
+
+### 代码与文件
+
+- 代码、注释、标识符、文件名、提交信息和 Pull Request 标题使用英文。
+- JavaScript、TypeScript、TSX 和样式文件使用 `kebab-case` 命名。
+- 仅用于类型的导入使用 `import type`,Node.js 内置模块使用 `node:` 前缀。
+- 优先使用已配置的路径别名,不要使用层级过深的相对导入;同时需要确认目标运行环境支持该别名。
+- 行为发生变化时,请添加或更新测试。生产代码不得依赖测试辅助工具或生成的构建产物。
+
+### 用户可见文本与文档
+
+- 所有用户可见的应用及操作端文本都必须通过现有 i18next 资源进行本地化;不要硬编码界面字符串。
+- 新增或修改翻译键时,需要更新所有已注册语言,并保持各语言中的占位符集合完全一致。
+- 修改中英文文档对中的任一文件时,应在同一改动中更新另一份。标题、命令、路径和示例需要保持一致,正文则应使用符合各自语言习惯的表达。
+- 不要提交凭证、私有地址、个人路径、私密计划、本地生成状态或无关改动。
+
+### 提交信息
+
+使用 Conventional Commits 格式:
+
+```text
+<type>(<optional-scope>): <imperative summary>
+```
+
+允许的类型包括 `feat`、`fix`、`refactor`、`perf`、`test`、`docs`、`chore`、`ci` 和 `style`。摘要使用小写开头的英文祈使短语,不加句号,并控制在 72 个字符以内。如果改动理由不直观,请补充正文;如有破坏性变更,请添加 `BREAKING CHANGE:` 尾注。
+
+## 验证改动
+
+每次提交前都需要运行以下必要检查:
+
+```bash
+pnpm run check:boundaries
+pnpm run lint
+pnpm exec tsc --noEmit
+```
+
+还需要根据改动内容运行对应检查:
+
+- 行为或逻辑:运行相关 Vitest 测试;涉及多个模块时运行 `pnpm test`;
+- 已有浏览器或 Electron 用户流程:运行 `pnpm test:e2e`;
+- 语言资源或国际化行为:运行 `pnpm run check:i18n`;
+- 新增或重命名文件:运行 `pnpm run check:file-names`;
+- 插件 Manifest 契约:运行 `pnpm run check:schema-parity`;
+- 依赖、捆绑资源或许可证元数据:运行 `pnpm run check:third-party-notices`;
+- 原生消息宿主的 Rust 代码:运行下方的格式检查、Lint 和测试命令。
+
+修改原生消息宿主的 Rust 代码时,请运行:
+
+```bash
+cargo fmt --manifest-path packages/native-host/Cargo.toml --all -- --check
+cargo clippy --manifest-path packages/native-host/Cargo.toml --all-targets --locked -- -D warnings
+cargo test --manifest-path packages/native-host/Cargo.toml --locked --all-targets
+```
+
+提交前请审查最终差异,运行 `git diff --check`,并在 Pull Request 中记录准确的命令和结果。不要隐藏失败,也不要丢弃命令的退出状态。
+
+## 提交 Pull Request
+
+- 目标分支使用 `main`,关联对应 Issue,并说明问题以及选择当前方案的原因。
+- 完整填写 Pull Request 模板,包括准确的验证命令、环境和结果。
+- 可见界面发生变化时,请提供截图或录屏。
+- 生成文件和依赖改动应仅限于当前 Pull Request 所需范围。
+- 使用后续 Commit 响应评审意见;维护者通常会在合并功能 Pull Request 时采用压缩合并(squash merge)。
+
+贡献内容按照项目的 [MIT License](LICENSE) 接受。第三方资源可能适用其他条款,详情请参阅 [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md)。
diff --git a/README.md b/README.md
index 2fc2607c..70bc4877 100644
--- a/README.md
+++ b/README.md
@@ -264,6 +264,12 @@ aria2 (download engine)
The Electron desktop app and the Node.js headless server share the same core. Platform-specific capabilities such as notifications and secret storage have separate implementations with consistent behavior.
+## 🤝 Contributing
+
+Contributions of code, tests, documentation, translations, issue reports, and design feedback are welcome. Before opening a pull request, read the [contribution guidelines](./CONTRIBUTING.md) for the development workflow, architecture boundaries, implementation standards, and required validation.
+
+All participants must follow the [Code of Conduct](./CODE_OF_CONDUCT.md). Report suspected vulnerabilities privately according to the [Security Policy](./SECURITY.md), not through a public issue or discussion.
+
## 📜 License
[MIT](./LICENSE) © 2018-present Dr_rOot
diff --git a/README.zh-CN.md b/README.zh-CN.md
index 4d7d8917..12cb573d 100644
--- a/README.zh-CN.md
+++ b/README.zh-CN.md
@@ -246,6 +246,12 @@ aria2(下载引擎)
Electron 桌面应用和 Node headless 服务端共用同一个 core。通知、secret 存储等功能在两种环境中各有对应实现,但使用方式保持一致。
+## 🤝 参与贡献
+
+我们欢迎代码、测试、文档、翻译、Issue 反馈和设计建议等各种形式的贡献。创建 Pull Request 前,请阅读[贡献指南](./CONTRIBUTING.zh-CN.md),了解开发流程、架构边界、实现规范和必要的验证要求。
+
+所有参与者都必须遵守[行为准则](./CODE_OF_CONDUCT.zh-CN.md)。如需报告疑似安全漏洞,请按照[安全策略](./SECURITY.zh-CN.md)私密提交,不要创建公开 Issue 或 Discussion。
+
## 📜 许可协议
[MIT](./LICENSE) © 2018-present Dr_rOot
diff --git a/SECURITY.md b/SECURITY.md
new file mode 100644
index 00000000..f5a3e3d0
--- /dev/null
+++ b/SECURITY.md
@@ -0,0 +1,33 @@
+# Security Policy
+
+English | [简体中文](SECURITY.zh-CN.md)
+
+## Supported Versions
+
+Motrix provides security fixes for the latest published Motrix Turbo v2 release. Older v2 prereleases and the frozen legacy v1 line are not routinely supported; users should reproduce an issue on the latest release before reporting it when possible.
+
+| Version | Supported |
+| --- | --- |
+| Latest published Motrix Turbo v2 release | Yes |
+| Older Motrix Turbo v2 prereleases | No |
+| Legacy Motrix v1 releases | No |
+
+## Reporting a Vulnerability
+
+Do not open a public issue, discussion, or pull request for a suspected vulnerability.
+
+Report it privately through [GitHub's private vulnerability reporting](https://github.com/agalwood/Motrix/security/advisories/new). Include as much of the following information as possible:
+
+- the affected Motrix version, runtime, operating system, and architecture;
+- the affected component and security impact;
+- the smallest reliable reproduction or proof of concept;
+- relevant logs or screenshots with credentials, tokens, private URLs, and personal paths removed; and
+- any known mitigations or suggested fixes.
+
+The maintainers will review the report, keep communication within the private advisory, and coordinate remediation and disclosure according to the severity and available maintainer capacity. Please keep vulnerability details confidential until a fix or advisory is published, or disclosure is otherwise agreed upon.
+
+## Scope
+
+This policy covers the Motrix desktop and server applications, the native messaging host, official release artifacts and container images, and first-party code in this repository.
+
+Report vulnerabilities in third-party plugins or services to their maintainers unless the issue also demonstrates a vulnerability in Motrix's sandbox, permission model, update verification, or host integration. General bugs and support requests belong in the [public issue forms](https://github.com/agalwood/Motrix/issues/new/choose) or [GitHub Discussions](https://github.com/agalwood/Motrix/discussions).
diff --git a/SECURITY.zh-CN.md b/SECURITY.zh-CN.md
new file mode 100644
index 00000000..0d080c5a
--- /dev/null
+++ b/SECURITY.zh-CN.md
@@ -0,0 +1,33 @@
+# 安全策略
+
+[English](SECURITY.md) | 简体中文
+
+## 支持版本
+
+Motrix 为当前最新发布的 Motrix Turbo v2 版本提供安全修复。较早的 v2 预发布版本和已经冻结的旧版 v1 发布线通常不再受支持;如条件允许,请先在最新版本上复现问题再提交报告。
+
+| 版本 | 是否支持 |
+| --- | --- |
+| 最新发布的 Motrix Turbo v2 版本 | 是 |
+| 较早的 Motrix Turbo v2 预发布版本 | 否 |
+| 旧版 Motrix v1 版本 | 否 |
+
+## 报告安全漏洞
+
+如怀疑存在安全漏洞,请勿创建公开 Issue、Discussion 或 Pull Request。
+
+请通过 [GitHub 私密漏洞报告](https://github.com/agalwood/Motrix/security/advisories/new)进行报告,并尽量提供以下信息:
+
+- 受影响的 Motrix 版本、运行方式、操作系统和处理器架构;
+- 受影响的组件及安全影响;
+- 最小可靠复现步骤或概念验证;
+- 已移除凭证、令牌、私有地址和个人路径的相关日志或截图;
+- 已知的缓解措施或修复建议。
+
+维护者会评估报告,通过私密 Advisory 保持沟通,并根据严重程度及维护资源协调修复与披露。在修复或安全公告发布之前,或双方另行约定披露之前,请对漏洞详情保密。
+
+## 适用范围
+
+本策略适用于 Motrix 桌面端与 Server、原生消息宿主、官方发布产物与容器镜像,以及本仓库中的第一方代码。
+
+第三方插件或服务中的漏洞应报告给对应维护者;如果问题同时证明 Motrix 的沙箱、权限模型、更新校验或宿主集成存在漏洞,则应向 Motrix 报告。普通 Bug 和支持请求请使用公开的 [Issue 表单](https://github.com/agalwood/Motrix/issues/new/choose)或 [GitHub Discussions](https://github.com/agalwood/Motrix/discussions)。