Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
bunyan-amqp
Advanced tools
AMQP 0.9.1 compatible transport stream for use with the Bunyan logging library. Intended to be used with a RabbitMQ "topic" type exchange. Where the hostname becomes the first topic, the name of the Bunyan logger application is used as the secondary topic followed by the string log level. Example Topic: "My-MacbookPro.MyAppName.info". Has only been tested with RabbitMQ but it should be AMQP standards compliant.
TODO:
This package was created for use with microservices at my company. I would eventually like to make this more configurable for public consumption.
var Log = require('bunyan').createLogger({
name: 'MyAppName'
streams: [
{
stream: process.stdout,
level: 'trace',
},
{
type: 'raw',
level: 'debug',
stream: require('bunyan-amqp')({
host: '127.0.0.1',
port: 5672,
vhost: 'logger',
exchange: 'exchangeName',
queue: 'queueName',
username: 'username',
password: 'password',
}),
},
],
});
var ChildLog = Log.child({ module: 'MyAppNameChildModule' });
Log.info('Testing info level...');
Log.debug('Testing debug level...');
Log.fatal('Testing fatal level...');
ChildLog.info('Testing child info level...');
ChildLog.debug('Testing child debug level...');
ChildLog.fatal('Testing child fatal level...');
FAQs
ES6 AMQP transport stream for Bunyan logging library.
The npm package bunyan-amqp receives a total of 0 weekly downloads. As such, bunyan-amqp popularity was classified as not popular.
We found that bunyan-amqp 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.