
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.
cache service for javascript
npm install --save rx-cache
var request = require("request");
const { Observable } = require("rxjs");
const { dispatch, buildPartnerRequest } = require("rx-cache");
const Background = {
blue: "\x1b[44m%s\x1b[0m",
yellow: "\x1b[33m%s\x1b[0m",
red: "\x1b[41m"
};
const partnerRequest = (partner, params, notify) => {
request.get(
partner,
{
headers: {
accept: "application/vnd.github.v3+json",
"user-agent": "not v1.2.3" // v1.2.3 will be current version
},
params
},
(error, response, body) => {
const { id, node_id: nodeId } = JSON.parse(body);
notify({
id,
nodeId
});
}
);
};
const partner1 = buildPartnerRequest(
partnerRequest,
"https://api.github.com/repos/ysfmag/advanced-react",
{}
);
const partner2 = buildPartnerRequest(
partnerRequest,
"https://api.github.com/repos/ysfmag/amplify-js",
{}
);
var partner3 = buildPartnerRequest(
partnerRequest,
"https://api.github.com/repos/ysfmag/rx-smart-cache",
{}
);
dispatch(partner3).subscribe(e => {
console.log("parnter3");
console.log(Background.blue, JSON.stringify(e));
});
dispatch(partner1).subscribe(e => {
console.log("parnter1");
console.log(Background.blue, JSON.stringify(e));
});
dispatch(partner1).then(e => {
console.log("parnter1 1 then function");
console.log(Background.red, JSON.stringify(e));
});
dispatch(partner1).then(e => {
console.log("parnter1 2 then function");
console.log(Background.red, JSON.stringify(e));
});
dispatch(partner1).then(e => {
console.log("parnter1 3 then function");
console.log(Background.red, JSON.stringify(e));
});
dispatch(partner2).subscribe(e => {
console.log(Background.blue, JSON.stringify(e));
});
MIT © youssef maghzaz
FAQs
cache service for javascript
We found that rx-cache 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.