
Security News
Next.js Patches Critical Middleware Vulnerability (CVE-2025-29927)
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
HTTP server with basic authentication.
Via git (or downloaded tarball):
$ git clone git://github.com/SDA/http-auth2.git
Via npm:
$ npm install http-auth2
var httpAuth = require('http-auth2');
httpAuth.createServer(function(username) {
// Multiple username/password combinations are supported.
if (username == 'user1') return 'password1';
if (username == 'user2') return 'password2';
return false;
}, function (request, response) {
response.writeHead(200, {'Content-Type': 'text/html'});
response.end("<pre>If you can read this, you've authenticated successfully.</pre>");
}).listen(8000);
Based on work by Gevorg Harutyunyan: https://github.com/gevorg/http-auth
The GPL version 3, read it at http://www.gnu.org/licenses/gpl.txt
FAQs
HTTP server with basic authentication.
The npm package http-auth2 receives a total of 2 weekly downloads. As such, http-auth2 popularity was classified as not popular.
We found that http-auth2 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
Next.js has patched a critical vulnerability (CVE-2025-29927) that allowed attackers to bypass middleware-based authorization checks in self-hosted apps.
Security News
A survey of 500 cybersecurity pros reveals high pay isn't enough—lack of growth and flexibility is driving attrition and risking organizational security.
Product
Socket, the leader in open source security, is now available on Google Cloud Marketplace for simplified procurement and enhanced protection against supply chain attacks.