
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.
Similar to require-all, massquire
requires directories of modules into objects.
npm install massquire
var massquire = require('massquire');
var modules = massquire(dirname, opts);
Type: String
The name of the directory (path) that should be required.
Type: Object
Type: Boolean
Default: true
Requires all modules in the given directory and its subdirectories by default. Set recurse
to false
to require only the given directory.
Type: Function
Function that receives the full path of a file and should return true
to include the file.
Type: Function
Function that receives the full path of a file and should return true
to exclude the file.
Type: Function
Function that receives the full path of a directory and should return true
to include the directory.
Type: Function
Function that receives the full path of a directory and should return true
to exclude the directory.
Type: Function
Default: Strip .js or .json and camelCase
Function that receives the filename for each module and should return the keyname where the module will be stored to the object.
function(filename) {
// format the filename
return key;
}
Type: Function
Function that receives each required module and should return the desired module value.
function(module) {
return module();
}
FAQs
Requires directories of modules into objects.
The npm package massquire receives a total of 1 weekly downloads. As such, massquire popularity was classified as not popular.
We found that massquire 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.