Amazon Interview Question

Secure code review with mitigations Threat model