Chapter 11: API Security · Room 3 of 5

Mass assignment

Mission

The profile screen lets you change your name with PATCH /api/v1/users/me. The server copies every field you send straight into your account. Build a request body that also makes you an admin.

After you solve it, a short lesson explains mass assignment, and how to defend against it.

Learn the background first: Module 11: API Security

More rooms in this chapter