
Security News
Node.js Drops Bug Bounty Rewards After Funding Dries Up
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.
Use [nginx](http://nginx.org) as an npm module for tighter integration with node apps (e.g. test fixtures).
Use nginx as an npm module for tighter integration with node apps (e.g. test fixtures).
Build steps based on https://github.com/jirutka/nginx-binaries with some modifications (remove some modules and add in http3 support with libressl)
npm install nginx-dist
Example config, put in nginx.conf:
error_log stderr;
daemon off;
events {}
http {
# Respond to health checks
server {
listen unix:./nginx.sock;
location / {
echo "OK";
}
}
access_log off;
server {
listen 8080;
root .;
}
}
import nginx from "nginx-dist";
const server = await nginx();
server.stop();
If you want to bind to privileged ports (anything below 1024, like 80 for http och 443 for https) you need to set the capabilities for the binary.
Something like this should work:
sudo setcap 'cap_net_bind_service=+ep' ./node_modules/nginx-dist-*/nginx
FAQs
Use [nginx](http://nginx.org) as an npm module for tighter integration with node apps (e.g. test fixtures).
The npm package nginx-dist receives a total of 0 weekly downloads. As such, nginx-dist popularity was classified as not popular.
We found that nginx-dist demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.