Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
HTTP request proxy middleware for node.js
Designed to be the simplest way possible to proxy http calls.
$ npm install --save bfn-proxy
Simple app. If created on heroku, go to https://applicationname.herokuapp.com/twitter.com/
require('http')
.createServer(require('bfn-proxy')())
.listen(process.env.PORT || 8080)
Simple app using middleware, i.e. http://servername.com/ipecho.net/plain
var express = require('express')
var pxy = require('bfn-proxy')()
var app = express()
app.use(pxy)
Only allow access from your local server with URI prefix '/pxy', i.e. http://127.0.0.1/pxy/www.bluefidelity.com/
var express = require('express')
var pxy = require('bfn-proxy')()
var app = express()
app.use('/pxy/', function (req, res, next) {
if (req.connection.remoteAddress !== '127.0.0.1') {
return next(new Error('Bad authentication data'))
}
pxy(req, res)
})
FAQs
HTTP request proxy middleware for node.js
The npm package bfn-proxy receives a total of 4 weekly downloads. As such, bfn-proxy popularity was classified as not popular.
We found that bfn-proxy 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.