
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.
async-generator-function
Advanced tools
A function that returns the normally hidden `AsyncGeneratorFunction` constructor
A function that returns the normally hidden AsyncFunction constructor, when available.
npm install --save async-generator-function
const assert = require('assert');
const AsyncGeneratorFunction = require('async-generator-function')();
const fn = new AsyncGeneratorFunction('return 1');
assert.equal(fn.toString(), 'async function* anonymous(\n) {\nreturn 1\n}');
const iterator = fn();
iterator.next().then(x => {
assert.deepEqual(x, { done: true, value: 1 });
});
Clone the repo, npm install, and run npm test
FAQs
A function that returns the normally hidden `AsyncGeneratorFunction` constructor
The npm package async-generator-function receives a total of 1,470,154 weekly downloads. As such, async-generator-function popularity was classified as popular.
We found that async-generator-function 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.

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.