
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.
Modern log utility for node apps
See more at http://robinqu.github.io/catlog.
Just like the popular visionmedia/debug.
const debug = require('catlog')('app:main');
debug('I am here');
debug('Hi, babe!');
But the log goes to other handlers (fs_handler as default) as well. So your debug info will have chances to be recorded by fs_handler
in files, instead of being deserted if no DEBUG
env is set.
Behave like old-fashined log utilites.
const logger = require('catlog')();
logger.info('good news');
logger.warn('important notice');
logger.error('bad news');
logger.debug('verbose news');
//also have alias, as `log`
logger.log('bad news');
All settings are shared in the same process. And configure it on logging context, using:
const logger = require('catlog')({
methods: {
foobar: {
target: 'stdout',
level: 70
}
},
category: 'special_app'
});
MIT
FAQs
Logging utility withou pain
The npm package catlog receives a total of 29 weekly downloads. As such, catlog popularity was classified as not popular.
We found that catlog 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.
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.