Rate limit API

As SNYK is complaining:

✗ [Medium] Allocation of Resources Without Limits or ThrottlingPath: controllers/Admins.js, line 315

Info: This endpoint handler performs a file system operation and does not use a rate-limiting mechanism. It may enable the attackers to perform Denial-of-service attacks.

Consider using a rate-limiting middleware such as express-limit.

See https://www.npmjs.com/package/express-rate-limit

Edited Jul 16, 2024 by Michael Kretschmann
Assignee Loading
Time tracking Loading

Private personal CI stack from Kai KRETSCHMANN, for the fun of it!