
Research
/Security News
jscrambler npm Package Compromised in Supply Chain Attack
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.
mcap-logger
Advanced tools
Connect a logger against the mCAP Logger REST API with node
var Logger = require('mcap-logger');
var logger = new Logger({
auth: {
'user': '<USER>',
'pass': '<PASS>'
},
baseUrl: '<SERVER URL>'
});
logger.watch({
name: 'javascript.applications.3785733C-B873-4D43-AC88-8CB5C38407EA'
}).then(function(){
console.log('succ registered watcher');
}, function(){
console.log('error');
});
// callback when a log happend
logger.output = function(log){
if (log) {
Object.keys(log).forEach(function (l) {
console.log(log[l].message);
});
}
};
// stop watching
logger.unwatch();
npm test
or
mocha test
FAQs
Connect a logger against the mCAP Logger REST API with node
We found that mcap-logger 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
A compromised jscrambler npm release added a malicious preinstall hook that runs hidden native binaries on Linux, macOS, and Windows.

Research
/Security News
A malicious .NET package is typosquatting the Braintree SDK to steal live payment card data, merchant API keys, and host secrets from production apps.

Security News
/Research
Compromised Injective SDK npm version 1.20.21 exfiltrates wallet private keys and mnemonics through fake telemetry functionality.