
Research
5 Malicious Chrome Extensions Enable Session Hijacking in Enterprise HR and ERP Systems
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.
coroutinify
Advanced tools
Coroutinify is a simple Generator based control flow middlware package for Node.js.
It's like Bluebirds' coroutine and uses it internally. In spite of Bluebird's coroutine, it can be used not only with GeneratorFunctions but also with objects which contain GeneratorFunctions. It supports ES6 classes and Symbol keys too.
In case of object the original functions are not removed but added Gen suffix to its name.
const co = require('coroutinify');
function* generator() {
let index = 0;
while(index < 3)
yield index++;
return index;
}
co(generator)()
.then(value => console.log(value));
const co = require('coroutinify');
const Promise = require('bluebird');
let objcet = {};
object.gen1 = function* () {
let index = 0;
while(index < 3)
yield index++;
return index;
};
objcet.gen2 = function* () {
let index = 0;
while(index < 3)
yield index++;
return index;
};
objcet[Symbol.for('gen3')] = function* () {
let index = 0;
while(index < 3)
yield index++;
return index;
};
co(object);
Promise.all([
object.gen1(),
object.gen2(),
objcet[Symbol.for('gen3')]()])
.then(results => console.log(results));
const co = require('coroutinify');
const Promise = require('bluebird');
class ES6 {
*gen1 () { yield 1; }
*gen2 () { yield 2; }
*[Symbol.for('gen3')] { yield 3; }
}
let es6Instance = new ES6();
co(es6Instance);
Promise.all([
es6Instance.gen1(),
es6Instance.gen2(),
es6Instance[Symbol.for('gen3')]()])
.then(results => console.log(results));
FAQs
generator based control flow middlware
We found that coroutinify 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
Five coordinated Chrome extensions enable session hijacking and block security controls across enterprise HR and ERP platforms.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.