Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
@abtnode/logger
Advanced tools
logger
This is a log library for ABT Node.
Set the environments: process.env.ABT_NODE_LOG_DIR = {logging directory}
.
Set the environments: process.env.NODE_ENV = 'production'
.
DEBUG=@abtnode/* npm run xxx
.
Or, the logs will be write to stdout.
const logger = require('@abtnode/logger')('@abtnode/cli');
// log info
logger.info('detail blocklet', { did: 'z8iZpWP3gto8RWk9UHfvAaYtqX5wZ3Mz9BrHA' });
// [2020-08-12 17:26:28] [info] "detail blocklet" {"did":"z8iZpWP3gto8RWk9UHfvAaYtqX5wZ3Mz9BrHA"}
// log error: must pass an object
logger.info('this is an error', { error: new Error('test') });
FAQs
ABT Node logger lib
The npm package @abtnode/logger receives a total of 4,877 weekly downloads. As such, @abtnode/logger popularity was classified as popular.
We found that @abtnode/logger demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Security News
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.