79208281

Date: 2024-11-20 17:10:18
Score: 3
Natty:
Report link

Are you reading the first IP of the returned array, which should be the client one?

const clientIp = (req.headers['x-forwarded-for'] || '').split(',')[0].trim()
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Low reputation (0.5):
Posted by: Matteo Frana