🟠 [安全] 自更新链路走明文 HTTP(update.json apkUrl) #5
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
位置:
update.json→apkUrl: http://124.222.97.212:8443/attachments/...;app/src/main/res/xml/network_security_config.xml为此放行124.222.97.212明文。风险:更新包经公网明文传输,可被中间人替换 APK。Android 签名校验是最后防线,但这属于单点薄弱——若用户侧被劫持并习惯"允许未知来源+覆盖安装",风险成立。
建议:
apkUrl改为https://gitea.xxcsn.site/...(域名 + certbot 自动续期已就绪)改动量:约 10 分钟,价值最高。