
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@shagital/adonisjs-logger-papertrail
Advanced tools
Version [for Adonis v4]
This service provider adds Papertrail as a driver to Adonis Logger.
This repo is based from https://github.com/pirmax/adonis-logger-rollbar
npm install @shagital/adonisjs-logger-papertrail
yarn add @shagital/adonisjs-logger-papertrail
adonis install @shagital/adonisjs-logger-papertrail
Make sure to register the provider inside start/app.js
file.
const providers = [
'@shagital/adonisjs-logger-papertrail/providers/PapertrailProvider'
]
Add new configuration inside logger
module in config/app.js
:
transport: 'papertrail'
papertrail: {
name: Env.get('APP_NAME', 'adonis-app'),
driver: 'papertrail',_
host: Env.get('PAPERTRAIL_HOST'),
port : Env.get('PAPERTRAIL_PORT'),
level: 'info',
appStart : false, // whether to create log when app is starting
logEnv : false // should send env variables when logging
}
That's it! Now you can use Logger that will send data to Rollbar.
const Logger = use('Logger')
Logger.info('Test message')
Logger.info('Test message', {user}) // to log extra details
Logger.transport('papertrail').info('this will log using the papertrail transport') // to specify the transport manually
Papertrail
driver relies on the following Env variables:PAPERTRAIL_HOST
PAPERTRAIL_PORT
FAQs
Papertrail driver for Adonis Logger
We found that @shagital/adonisjs-logger-papertrail 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.