Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
var Channel = require('../').Channel;
var go = require('../').go;
var bind = require('../').bind;
var then = require('../').then;
// Ref: http://swannodette.github.io/2013/08/24/es6-generators-and-csp/
//
go(function* (chan) {
var ch2 = Channel();
var r1 = yield db.query('SELECT 1', chan);
var r2 = yield request('http://www.google.com', chan);
db1.query('SELECT 1 FROM dummy', then(ch2, function (res) { ch2(null, res[0]); }));
db2.query('SELECT 3', chan);
var r3 = yield ch2;
var r4 = yield;
go(function* (ch3) {
db1.query('SELECT 1', bind(ch3, 'r5'));
db2.query('SELECT 3', bind(ch3, 'r6'));
var rx = yield;
var ry = yield;
chan(null, rx[1] + ry[1]);
});
try {
var r5 = yield;
} catch (e) {}
redis.get('k1', chan);
redis.hget('k2', chan);
var rk1 = yield;
var rk2 = yield;
});
FAQs
Interactive diagrams, charts, and graphs, such as trees, flowcharts, orgcharts, UML, BPMN, or business diagrams
We found that gojs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers 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
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.