M5(T-M5-05): 安全加固清单(明文HTTP白名单 + 日志脱敏审计)
- 明文 HTTP 最小授权:新增 resources/base/profile/network_config.json(网络栈自动识别)—— base-config 默认禁明文,domain-config 仅放行 daoqi88.cn(含子域 tsgames/gameaudio)。附录B "明文域名显式放行" - 日志脱敏审计:grep 确认无 code/token/openid/unionid/AppSecret/AK/SK 明文落日志(命中均为 resultCode/responseCode/stub) - 已完成项复核:WebDebug 仅 debug(AppEnv.isDebug)、密钥下沉(微信code/七牛tokenProvider)、file 跨域最小授权(仅 filesDir/tsgames) - 自定义 scheme(gamepaywelcome/gamepaywx…)随支付 M6 落地(现声明未处理 scheme 会致意外唤起,故延期) WBS:M5 标记 T-M5-01/02/04/05 完成;余 T-M5-03 节流/06 可观测/07 冷启动/08 包体 devecocli build 通过。 Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"network-security-config": {
|
||||
"base-config": {
|
||||
"cleartextTrafficPermitted": false
|
||||
},
|
||||
"domain-config": [
|
||||
{
|
||||
"domains": [
|
||||
{
|
||||
"include-subdomains": true,
|
||||
"name": "daoqi88.cn"
|
||||
}
|
||||
],
|
||||
"cleartextTrafficPermitted": true
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user