Day 8 Mission 02 Quality

Mission 02. Evaluate Member Service Quality

Score usability on several dimensions and fix the security weakness of revealing specific login errors.

Mission 02 Mission 02 Member Service Quality Lab Guide

📥 Lab input

  • • day8_robust_user_service.js

💾 Lab output

  • • day8_usability_evaluation.md

1. Story and lab background

Do a final check of the strengthened member JavaScript guard script and extract multi-dimension usability scores. During the AI audit, notice that showing 'no such username' and 'wrong password' differently gives hackers a hint about whether an email is registered, helping account takeover — and build a final quality report that closes this hole with a single failure message.

2. Learning goals

  • Score usability against the 3 key measures of member features (control accessibility, error prevention, security consistency).
  • Identify the security weakness (Information Leak) where detailed failure reasons encourage brute-force account cracking.
  • Apply an exception patch, as AI's audit recommends, that unifies messages into one: 'email or password is incorrect'.

3. Codex AI Prompt Card

Copy the prompt below, paste it into the Codex Client AI chat and get guidance.

Based on the finished sign-up and lock guard logic, audit 1) sign-up control accessibility, 2) error prevention and 3) security on several dimensions, and return an overall quality evaluation (Usability Evaluation) including fixes for security weaknesses.
← Previous step Next step →