Repository navigation
docs(security): HR2 威胁模板与四域威胁模型 - #126
Merged
Merged
Conversation
新增威胁模型模板与 PackageOps 供应链、上传文件、认证会话、MCP/AI 工具四个领域的威胁模型文档。本提交只写安全设计文档,不改业务代码、不建库、不实现 12h/12i。 Generated with Devin Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This was referenced Nov 28, 2026
supdger
added a commit
that referenced
this pull request
Nov 29, 2026
supdger
added a commit
that referenced
this pull request
Nov 29, 2026
supdger
added a commit
that referenced
this pull request
Nov 29, 2026
supdger
added a commit
that referenced
this pull request
Nov 29, 2026
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
覆盖范围
server/docs/security/threat-models/README.mdserver/docs/security/threat-models/template.mdserver/docs/security/threat-models/packageops-supply-chain.mdserver/docs/security/threat-models/file-upload.mdserver/docs/security/threat-models/auth-session.mdserver/docs/security/threat-models/mcp-ai-tools.md验证
python3 /Users/supdger/agent-work/grokbot/devin-queue/naming_check.py notes server/docs/security/threat-models/*.md:通过(输出仅 INFO,无 FAIL/WARN)。git diff --check:通过(对 6 个新增文档检查无 whitespace error)。bash tools/pre-merge.sh --fast:通过;关键结果包括契约一致、PHPStan no errors、deptrac violations 0、前端tsc --noEmit/eslint 通过、vitest 125 个文件 536 passed/2 skipped、PHPUnit unit 737 tests/6877 assertions OK。server/vendor缺失失败;按仓库常规执行cd server && composer install后复跑通过。composer install改动的server/webman、server/windows.php已恢复,未纳入提交。范围声明
Test plan