
Research
PyPI Package Disguised as Instagram Growth Tool Harvests User Credentials
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
$ npm install exec-stack
const ExecStack = require('exec-stack');
const stack = new ExecStack();
stack.use('cars', next => {
console.log('I\'m specifically interested in cars');
next();
});
stack.use((event, next) => {
console.log('I\'m generic. Hence interested in anything, also', event);
next();
});
stack.run('cars');
stack.run('bikes').then(console.log('Done!'));
Output:
I'm specifically interested in cars
I'm generic. Hence interested in anything, also cars
I'm generic. Hence interested in anything, also bikes
Done!
Optional arguments are written in cursive.
Push a middleware to the stack. If event is omitted, the callback will be called for every execution of the stack.
Returns the position of the middleware in the stack.
Removes a specified middleware from the stack. The middleware is being referenced by a number representing its position in the stack.
Any other argument that is given to .execute()
will also be passed to the functions in the stack.
Returns a promise that is being resolved after everything has finished.
If any middleware calls next.throw() the promise will be rejected.
Set the context to be applied to middleware. When context is omitted it will be cleared to an empty object.
If you want to stop the execution of the stack use next.throw(*error*)
which also will reject the promise returned by .run()
FAQs
```javascript $ npm install exec-stack ```
The npm package exec-stack receives a total of 0 weekly downloads. As such, exec-stack popularity was classified as not popular.
We found that exec-stack 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
A deceptive PyPI package posing as an Instagram growth tool collects user credentials and sends them to third-party bot services.
Product
Socket now supports pylock.toml, enabling secure, reproducible Python builds with advanced scanning and full alignment with PEP 751's new standard.
Security News
Research
Socket uncovered two npm packages that register hidden HTTP endpoints to delete all files on command.