# 安全

发现安全问题？请先私下告知我们，以便在公开之前修复。

## 报告漏洞

请使用 GitHub 的私密**[报告漏洞](https://github.com/mikailhossenimran/voltdownloadmanager/security/advisories/new)**表单。只有维护者可以查看。请说明您发现的问题、复现方法以及使用的版本（可在**帮助 → 关于**中查看）。请勿公开提交安全问题。

我们会尽快答复。在详细信息公开前，我们会先发布修复程序。除非您不希望公开致谢，否则我们会在安全公告和发行说明中注明您的贡献。在 0.x 版本期间，只有最新版本会获得安全修复。

## 发布方式

- 每个版本都由 **GitHub Actions** 在 GitHub 的服务器上从公共源代码构建；构建日志是公开的。
- 每个版本都列出了 `SHA256SUMS.txt` 中每个文件的 **SHA-256** 校验和。请对照它检查您的下载：请参阅[下载](https://vdm.mikaillab.com/zh-hans/download.html#check-your-download)。
- Get VDM **only from this site or the project's GitHub releases**. Copies elsewhere may be altered.
- Windows 安装程序尚未进行代码签名，因此 Windows SmartScreen 可能会在首次启动前发出警告。代码签名功能将添加：请参阅[代码签名政策](https://vdm.mikaillab.com/zh-hans/code-signing-policy.html)。

## 安全保障

- **帮助程序运行前会经过验证。**yt-dlp 会根据其开发者的签名密钥进行验证，ffmpeg 则会根据其公布的校验和进行验证。
- **Nothing listens on the network.** The automation API is off by default and, when on, answers only on `127.0.0.1` with a secret token. The browser helper answers only VDM's own extension.
- **下载的文件名会先经过清理，再转换为路径**，因此服务器无法在您选择的文件夹之外写入文件。
- **凭据仅用于对应的网站。**登录信息和 Cookie 只会发送到所属主机，即使经过重定向也是如此。
- **不收集遥测数据**：请参阅[隐私政策](https://vdm.mikaillab.com/zh-hans/privacy.html)。

技术政策以及各项政策对应的代码见 [SECURITY.md](https://github.com/mikailhossenimran/voltdownloadmanager/blob/main/SECURITY.md)。

[在 GitHub 上编辑此页面](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/website/content/security.md) [报告此页面的问题](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Security&page=https%3A//vdm.mikaillab.com/security.html) [页面历史](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/website/content/security.md)
