Repository navigation
fix(security): 修复 CodeQL 三类真实问题并判定 7 条误报/已缓解告警 - #39
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
处理 code-scanning 10 条开放告警:3 类真实问题修复(本 PR),7 条 dismiss(误报/已缓解/测试代码,随合并另行操作)。
本 PR 修复
access预检 +writeFile改wx独占创建:已存在原子失败即跳过,消除 check-then-write 窗口(真实风险:竞态下覆盖用户既有封面)mdCell**先转义\再转义 `stripHtml实体解码由 6 段链式replace改单趟表映射:链式会把&lt;二次解码为<;单趟只解码一层,与 HTML 规范一致判定 dismiss(不改动代码)
stripHtml输出仅流向纯文本 sink(Vue 插值转义 / textarea / CSV / Markdown 导出),全应用无 HTML 渲染路径,注入前提不成立(false_positive)Test plan
npm run lint/typecheck/prettier --check全绿