
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Bundled allows you to add a standalone extension system any application.
npm install bundled
bundle.js
module.exports = {
name: 'Hoozit',
version: '0.0.1',
description: 'This is a very cool hoozit', // Optional
nav: { title: 'Hoozit', url: 'http://hoozit.com' } // Custom properties can be added
};
app.js
var bundled = require('bundled')(app);
bundled.addPath('bundle/hoozit');
bundled.initialize(function(error) {
if (error) {
// Something went wrong
return
}
// All bundles initialized successfully
});
app.js
var bundled = require('bundled')(app);
bundled.addPath('bundle/hoozit');
bundled.get('nav'); // Returns an array of all the bundles value for **nav**
Single initialize function example:
module.exports = {
name: 'Hoozit',
version: '0.0.1',
description: 'This is a very cool hoozit',
nav: { title: 'Hoozit', url: 'http://hoozit.com' },
initialize: function(app, done) {
app.hoozit = 'I am a hoozit';
done();
}
};
Multiple initialize function example:
module.exports = {
name: 'Hoozit',
version: '0.0.1',
description: 'This is a very cool hoozit',
nav: { title: 'Hoozit', url: 'http://hoozit.com' },
initialize: [function(app, done) {
// Do something first. All first level initialization will be executed.
done();
}, function(app, done) {
// Then all second level initialization will be executed. This is handy for circular references.
app.hoozit = 'I am a hoozit';
done();
}]
};
For more information take a look at the tests.
Paul Serby follow me on twitter @serby
Licenced under the New BSD License
FAQs
A standalone bundle manager which can add an plugin system to any application
The npm package bundled receives a total of 21 weekly downloads. As such, bundled popularity was classified as not popular.
We found that bundled 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.