
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
https_connection_binder
Advanced tools
A component for calling http(s) based web services or URIs/URLs wrapped around the famous request framework for nodejs. It uses buikder pattern for configuring the component before calling the web services or URLs. It still uses the classic callback mechanism to return data asynchronosuly to the caller. Promisify is the coming next....
CMPHttpConnectionProxy This is the interface exposed to the outside world.
Sets the URL of the resource to be accessed; returns the proxy instance
Sets the Query parameters for the resource to be accessed; returns the proxy instance
Sets the Http Header parameters for the resource to be accessed; returns the proxy instance
Sets the JSON body for the resource to be accessed; returns the proxy instance
Sets the URL-Encoded body for the resource to be accessed; returns the proxy instance
Sets the Byte array/Buffer body for the resource to be accessed; returns the proxy instance
End step of the configuration process; returns the proxy instance
Performs GET HTTP(S) call
Performs POST HTTP(S) call
Performs PUT HTTP(S) call
Performs PATCH HTTP(S) call
Performs DELETE HTTP(S) call
const _express = Express();
const CMPHttpConnectionProxy = require("httpconnection");
....
_express.get('/getTest', (req, res) =>
{
let proxy = (new CMPHttpConnectionProxy())
.url("https://jsonplaceholder.typicode.com/todos/1")
.build();
proxy.getAsync((response) =>
{
console.log(response);
res.send(response.responseBody);
});
});
_express.post('/postTest', (req, res) =>
{
let body = { "title" : "This is a test" };
let proxy = (new CMPHttpConnectionProxy())
.url("https://jsonplaceholder.typicode.com/posts")
.jsonBody(body)
.build();
proxy.postAsync((response) =>
{
console.log(response);
res.send(response.responseBody);
});
});
FAQs
HttpConnection binder component for popular request npm package
We found that https_connection_binder 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

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