This website uses cookies to ensure you get the best experience.
Learn more.
A developer asks Copilot to implement a password-reset endpoint. The generated code compiles and its happy-path test passes. Before merging, which action best addresses the remaining risk?
Published
- Review token generation and expiry, test replay and invalid-token cases, and run the normal security checks.
- Compare the generated endpoint with a public example and merge if their structures match.
- Ask Copilot whether the endpoint is secure and accept the answer if it cites common best practices.
- Add more successful password-reset examples to the existing test without reviewing failure paths.
Comments — 0
Sign in to comment