
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
transform inline bulk-require calls into statically resolvable require maps
transform inline bulk-require calls into statically resolvable require maps
The bulkify function signature is compatible with browserify's transform API.
var bulk = require('bulk-require');
var sections = bulk(__dirname, [ 'data/**/*.js', 'render/*.js' ]);
console.log(sections);
You can run this program in node directly:
$ node glob.js
{ data:
{ cats: { [Function] index: [Circular], meow: [Object] },
dogs: { [Function] index: [Circular], small: [Object], wolf: [Object] },
owners: { data: [Object] } },
render: { x: { oneoneone: 111, twotwotwo: 222 } } }
and use bulkify as a transform, yielding the same output:
$ browserify -t bulkify glob.js | node
{ data:
{ cats: { [Function] index: [Function], meow: [Object] },
dogs: { [Function] index: [Function], small: [Object], wolf: [Object] },
owners: { data: [Object] } },
render: { x: { oneoneone: 111, twotwotwo: 222 } } }
var bulkify = require('bulkify')
Return a transform stream b
for file
, rewriting require('bulk-require')
calls with inline require calls.
You can optionally set extra variables for the static evaluation with opts.vars.
With npm, do:
npm install bulkify
MIT
FAQs
transform inline bulk-require calls into statically resolvable require maps
The npm package bulkify receives a total of 1,426 weekly downloads. As such, bulkify popularity was classified as popular.
We found that bulkify demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.