Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
NodeJS >= 4.6.0
~ npm install clmloader
It's an better idea use this module with cl-router
const clmLoad = require('clmloader');
clmLoad({
path: 'abspath/dir', // absolute dir path
deps: [dep1, dep2], // deps pass to module function
defaultFile: 'router', // read which default file
attach: { //attach some args
common: 'xx'
}
});
router.js
module.exports = function(deps1, deps2) {
return Promise.resolve({
test: 2
});
};
- target_dir
- module1
- router.js
- module2
- router.js
Load results:
{
dir2: {
test: 2,
common: 'xx',
path: 'clmloader/tests/examples-1/dir2',
name: 'dir2'
},
dir1:{
test: 1,
path: 'clmloader/tests/examples-1/dir1',
name: 'dir1',
common: 'xx'
}
}
If you load with attach
, then result map sub object will all has common
.
FAQs
conglai module loader
The npm package clmloader receives a total of 0 weekly downloads. As such, clmloader popularity was classified as not popular.
We found that clmloader 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
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.