docs: update project documentation with P0/P1/P2 fix status
- Add security features section to README - Add security architecture section 12.1 and 12.2 to ARCHITECTURE - Add validation commands section to DEPLOYMENT - Update PRD with fix completion status
This commit is contained in:
35
docs/PRD.md
35
docs/PRD.md
@@ -7,8 +7,8 @@
|
||||
| 产品名称 | 用户管理系统 (User Management System) |
|
||||
| 文档版本 | v1.0 |
|
||||
| 创建日期 | 2026-03-10 |
|
||||
| 最后更新 | 2026-03-11 |
|
||||
| 文档状态 | 草稿 |
|
||||
| 最后更新 | 2026-04-18 |
|
||||
| 文档状态 | 已完成 |
|
||||
|
||||
---
|
||||
|
||||
@@ -629,6 +629,37 @@
|
||||
|
||||
## 后续迭代功能
|
||||
|
||||
### 已完成的安全和质量修复(2026-04-18)
|
||||
|
||||
所有 P0、P1、P2 问题已在 `fix/status-review-sync-20260409` 分支上全部修复并验证通过。
|
||||
|
||||
| 问题ID | 描述 | 严重等级 | 状态 |
|
||||
|--------|------|----------|------|
|
||||
| P0-01 | LIKE 查询 SQL 注入风险 | P0 | ✅ 已修复 |
|
||||
| P0-02 | 登录失败计数器竞态条件 | P0 | ✅ 已修复 |
|
||||
| P0-03 | Token 刷新黑名单写入失败 | P0 | ✅ 已修复 |
|
||||
| P0-04 | 密码重置验证码 Replay 攻击 | P0 | ✅ 已修复 |
|
||||
| P0-05 | CORS 默认配置危险 | P0 | ✅ 已修复 |
|
||||
| P0-06 | UpdateUser IDOR 越权 | P0 | ✅ 已修复 |
|
||||
| P0-07 | Login 绕过 TOTP | P0 | ✅ 已修复 |
|
||||
| P0-08 | 游标分页数据错乱 | P0 | ✅ 已修复 |
|
||||
| P1-01 | 错误处理中间件泄露信息 | P1 | ✅ 已修复 |
|
||||
| P1-02 | OAuth context 丢失 | P1 | ✅ 已修复 |
|
||||
| P1-03 | 导出功能泄露信息 | P1 | ✅ 已修复 |
|
||||
| P1-04 | CountByResultSince 错误忽略 | P1 | ✅ 已修复 |
|
||||
| P1-05 | DeleteRole 非事务性 | P1 | ✅ 已修复 |
|
||||
| P1-06 | ChangePassword 无 Token 失效 | P1 | ✅ 已修复 |
|
||||
| P1-07 | SetDefault 非原子性 | P1 | ✅ 已修复 |
|
||||
| P1-08 | 连接池参数硬编码 | P1 | ✅ 已修复 |
|
||||
| P1-09 | rows.Err() 未检查 | P1 | ✅ 已修复 |
|
||||
| P2-10 | ActivateEmail 使用 GET | P2 | ✅ 已修复 |
|
||||
| P2-11 | ValidateResetToken 使用 GET | P2 | ✅ 已修复 |
|
||||
| P2-13 | cursor.Encode 忽略错误 | P2 | ✅ 已修复 |
|
||||
| P2-14 | initDefaultData 无错误聚合 | P2 | ✅ 已修复 |
|
||||
| P2-15 | JWT NewJWT 返回损坏对象 | P2 | ✅ 已修复 |
|
||||
|
||||
详细验证报告:`docs/status/REAL_PROJECT_STATUS.md`
|
||||
|
||||
### 规则引擎(权限管理增强)
|
||||
|
||||
#### 功能描述
|
||||
|
||||
Reference in New Issue
Block a user