已开启
[安全审计] MKSH-CONF-004: 历史文件敏感信息泄露的范围。`histrap.c` 的 `hist_save()` 将交互式命令历史保存到文件,可能包含... #47
c_bing_b创建于 7月7日
openharmony_ci
7月7日 评论:
7月7日 评论:
感谢提交Issue!关于Issue的交互操作,请访问OpenHarmony社区支持命令清单。如果有问题,请联系 [@JerryH1011](https://gitcode.com/JerryH1011) [@LeonChan525](https://gitcode.com/LeonChan525) [@zhu-sheng-le](https://gitcode.com/zhu-sheng-le) 。如果需要调整订阅PR、Issue的变更状态,请访问链接。
Thanks for submitting the issue. For more commands, please visit OpenHarmony Command List. If you have any questions, please refer to committer gitcode for help. If you need to change the subscription of a Pull Request or Issue, please visit the link.


7月7日 添加了label:waiting_for_assign
安全审计问题确认 — MKSH-CONF-004
本 Issue 来自 AI Security Probe 7.0 对
openharmony/third_party_mksh的安全审计,属于问题确认表中待社区确认的问题。发生了什么问题?
历史文件敏感信息泄露的范围。
histrap.c的hist_save()将交互式命令历史保存到文件,可能包含密码、密钥等敏感信息。如果历史文件路径和权限配置不当,可能导致信息泄露。来源: 威胁建模
当前风险判断: Confirmed HIGH
证据位置:
histrap.c hist_save()关联修复项: MKSH-T06 (P1)
建议修复方式: 禁用交互式历史记录,或设置 HISTFILE 到安全目录,添加权限控制
需要确认的问题
建议确认方式
版本或分支信息