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.
coexist-parser-proxy
Advanced tools
Resolve the coexistent fault between body-parser and http-proxy
Resolve the coexistent fault among multer, body-parser and http-proxy(-middleware).
An Express.js middleware is exported. As a result, all that you need is to import and use it before hooking body-parser and http-proxy middleware.
npm i -S coexist-parser-proxy
const middleware = require('coexist-parser-proxy');
const express = require('express');
const app = express();
// ...
app.use(middleware);
// ...
app.use(bodyParser.json());
app.use(bodyParser.raw());
app.use(bodyParser.text());
// ...
app.use((req, res) => {
proxy.web(req, res, {target: 'http://mytarget.com:8080'});
})
FAQs
Resolve the coexistent fault between body-parser and http-proxy
The npm package coexist-parser-proxy receives a total of 208 weekly downloads. As such, coexist-parser-proxy popularity was classified as not popular.
We found that coexist-parser-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.