
Research
/Security News
OpenAPI React Query Codegen Compromised in Mini Shai-Hulud npm Supply Chain Attack
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.
@fastify/forwarded
Advanced tools
Parse HTTP X-Forwarded-For header.
Updated version of the great https://github.com/jshttp/forwarded. Implements https://github.com/jshttp/forwarded/pull/9.
$ npm i @fastify/forwarded
const forwarded = require('@fastify/forwarded')
const addresses = forwarded(req)
Parse the X-Forwarded-For header from the request. Returns an array
of the addresses, including the socket address for the req, in reverse
order (i.e. index 0 is the socket address and the last index is the
furthest address, typically the end-user).
$ npm test
FAQs
Parse HTTP X-Forwarded-For header
The npm package @fastify/forwarded receives a total of 7,666,853 weekly downloads. As such, @fastify/forwarded popularity was classified as popular.
We found that @fastify/forwarded demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.

Research
/Security News
Ten malicious OpenAPI React Query Codegen versions were published to npm in the Mini Shai-Hulud attack, all with valid provenance.

Security News
Socket joins more than 100 technology, cybersecurity, and financial organizations calling for a global surge in cyber defense.

Product
Enterprise security teams can now detect malware, credential theft, suspicious network activity, and risky updates across Microsoft Edge extensions.