You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Electron应用遭Windows Defender标记为PUA,安装失败求助

Electron应用被微软病毒与威胁防护标记为PUAAdvertising:Win32/CrossRider,导致自动更新失败

我们团队已经持续2年发布Mac和Windows平台的Electron应用,最近遇到一个棘手问题:Windows版本的应用(包括之前正常的旧版本)被微软病毒与威胁防护标记为PUA (Potentially Unwanted Software) PUAAdvertising:Win32/CrossRider。

具体情况:

  • 我们将应用安装包发布在AWS S3存储桶,通过electron-updater检测新版本并自动下载.exe文件到路径\AppData\Local\theappnamehere-updater\pending\theappnamehere.exe,但因为被标记为PUA,更新安装直接失败
  • 手动在Windows安全中心设置“允许在设备上运行”后,警告会消失,应用也能正常安装运行
  • 我们使用的是DigiCert的.p12代码签名证书,相关依赖版本如下:
    • electron: "23.1.0"
    • electron-builder: "23.6.0"
    • electron-updater: "^4.3.9"

有没有人遇到过类似的问题?

内容的提问来源于stack exchange,提问作者Ismoil Shokirov

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.02 20:17:03