硬编码管理员邮箱被预先豁免,可能掩盖单账户特权风险
原文依据:1 处Skill 声称应用的管理员引导流程“有限”,并要求只要邮箱已验证且不能新增管理员,就不要因单个硬编码管理员邮箱扣分。来源中没有应用设计或威胁模型来支持这项前提;邮箱验证只证明邮箱控制权,不会消除账号接管、无法轮换或单点失陷风险。
当待审规则依赖一个硬编码邮箱授予管理员权限时,审计结果可能给出过高分数,使用户忽略该账户被攻破后获得全部管理员能力的风险。
该指令会在硬编码管理员邮箱同时检查 email_verified、且不能新增管理员时,明确要求审计者不要扣分。邮箱验证只能确认当前对邮箱的控制,并未评估单一账户被接管、管理员无法轮换或恢复等风险;来源也没有提供应用威胁模型来证明这些风险可接受。这可能使用户获得偏乐观的安全评分。用户可要求作者将这些残余风险单独报告,并说明轮换、恢复和强认证要求。
The admin bootstrapping process is limited in this app. If the rules use asingle hardcoded admin email (e.g., checking request.auth.token.email =='admin@example.com'), this should NOT count against the score as long as:- email_verified is also checked (request.auth.token.email_verified == true).- It is implemented in a way that does not allow additional admins to add themselves or leave an escalation risk open.