
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.
@kofile/production-pino-log-formatter
Advanced tools
[](https://www.npmjs.com/package/@kofile/production-pino-log-formatter) [](https://travi
Transport for pino
Takes
{
"level": 30,
"time": 1531171074631,
"msg": "hello world",
"pid": 657,
"hostname": "Davids-MBP-3.fritz.box",
"v": 1,
"prop1": "hello",
"prop2": 42
}
and emits
2018-07-09T21:17:54Z [INFO] hello world, prop1={hello}, prop2={42}
yarn add @kofile/production-pino-log-formatter
const pino = require("pino");
const { format } = require("@kofile/production-pino-log-formatter");
const logger = pino(format());
In addition to configuration options, Pino accepts a destination stream to emit
log entires to. This library provides a transform stream as the target which can
rewrite the log entries before they're emitted to stdout
.
Note that this is an in-process transport.
Ideally, a transport should consume logs in a separate process to the application. Using transports in the same process causes unnecessary load and slows down Node's single threaded event loop.
This approach is still likely faster than using @kofile/log, though I don't have benchmarks to support that assertion.
FAQs
[](https://www.npmjs.com/package/@kofile/production-pino-log-formatter) [](https://travi
We found that @kofile/production-pino-log-formatter demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 12 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.
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.