
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.
@eropple/bunyan-wrapper
Advanced tools
Presents a subset of a Bunyan API that allows libraries to do some structured logging.
@eropple/bunyan-wrapper
You should use Bunyan for logging in your NodeJS apps. But, for some mystifying reason, there are a lot of people out there who don't. To this end, I needed a class that could let me wrap an arbitrary "logger-like" object in the Bunyan API so that I can pass logs to Bunyan all willy-nilly (which, for those interested, is the correct way to pass logs) while not blowing things up spectacularly for those using other methods of logging.
Just pass some kind of logger (it's tested with Bunyan and console
) to the
bunyanize
method. If it's a real Bunyan logger it'll just pass it back to you,
or optionally you can pass an object with fields to add to a child logger. There
are tests to demonstrate how it works.
Have fun. Use Bunyan.
FAQs
Presents a subset of a Bunyan API that allows libraries to do some structured logging.
The npm package @eropple/bunyan-wrapper receives a total of 4 weekly downloads. As such, @eropple/bunyan-wrapper popularity was classified as not popular.
We found that @eropple/bunyan-wrapper 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.