
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.
@insidewarehouse/log4js-ain2
Advanced tools
An Ain2 based Syslog transport for log4js-node.
$ npm install log4js-ain2
To use this Syslog transport in log4js-node, you simply need to 'npm install' it and add it as an appender
Configuration file example:
{
"appenders": [
{
"type": "log4js-ain2",
"tag": "SYSLOG_TAG",
"facility": "daemon",
"hostname": "SYSLOG_SERVER",
"port": SYSLOG_PORT
}
]
}
Code example:
var log4js = require('log4js');
log4js.configure({
appenders: [
{
type: 'log4js-ain2',
tag: 'SYSLOG_TAG',
facility: 'daemon',
hostname: 'SYSLOG_SERVER',
port: SYSLOG_PORT
}
]
});
var logger = log4js.getLogger('log4js-ain2-tester');
logger.trace('trace -Entering cheese testing');
logger.debug('debug - Got cheese.');
logger.info('info - Cheese is Gouda.');
logger.warn('warn - Cheese is quite smelly.');
logger.error('error -Cheese is too ripe!');
logger.fatal('fatal - Cheese was breeding ground for listeria.');
NOTE: Options are passed through to Ain2
This is the mapping from log4js-node levels to ain2 levels
ALL -> debug
TRACE -> debug
DEBUG -> debug
INFO -> info
WARN -> warn
ERROR -> err
FATAL -> crit
See ain2
FAQs
An Ain2 based Syslog transport for log4js-node
The npm package @insidewarehouse/log4js-ain2 receives a total of 1 weekly downloads. As such, @insidewarehouse/log4js-ain2 popularity was classified as not popular.
We found that @insidewarehouse/log4js-ain2 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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.