The Attacks to Expect: Injection and Mass Assignment
The first things attackers try against an API are a MongoDB operator where text belongs, a body that sets fields it shouldn't, and errors that give details away, so an API checks that fields are text, copies only an allow-list of fields, answers errors in plain words and runs npm audit.
Updated

- Category
- Node.js
- Level
- Journeyman
- Tags
- Allow-List, Mass Assignment, nodejs, NoSQL Injection, npm audit, Query Operators, web-development