Review Code for Security
Talk it through out loud with your AI coach.
The problem
- medium
- Pro
You're reviewing a pull request that adds an endpoint to export a team's data as a spreadsheet. Explain what you'd look for from a security point of view.
What a strong answer covers
- Who is allowed to use the endpoint and whether that's enforced.
- How the endpoint handles what it's given.
- Risks hiding in the exported file itself.
- Abuse, limits and a record of exports.
Common mistake: Checking only that the user is signed in, not that they belong to the team whose data they export.
Knowing this is half of it. Saying it clearly out loud is the part the coach helps you practise.
Practise it out loud