
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
@hello10/logger
Advanced tools
Log json in an easily consumable and readable format.
You want visibility across both applications and their dependencies easily configured using environment variables, with messsage filtering/addressability based on both logger name and level in order avoid having to do this. Based on parts of bunyan and debug.
// LOGGER="foo:bar*|error,ping:pong|info,-ping:pong:pork" node example.js
import Logger from '@hello10/logger';
let logger = new Logger({name: 'foo', something: 'wow'});
// this will be ignored because name fails to match and level too low
logger.info('hi');
// this will be ignored because name fails to match
logger.error('wow');
// Create a new child logger
logger = logger.child('bar');
// This will be shown
logger.error('oh no');
// Create another logger
let logger2 = new Logger({name: 'ping:pong', funk: 'derp'});
// This will be ignored because level is too low
logger2.debug('derp');
// This will be shown
logger2.error(new Error('dorf'));
logger2 = logger2.child('pork');
// This will be ignored because of the explicit exclude
logger2.fatal('bork');
oh no { name: 'foo:bar',
something: 'wow',
message: 'oh no',
time: '2020-07-03T00:51:22.975Z' }
dorf { name: 'ping:pong',
funk: 'derp',
message: 'dorf',
error:
'{"stack":"Error: dorf ...<STACKTRACE HERE>","message":"dorf"}',
time: '2020-07-03T00:51:22.985Z' }
error
, request
, response
)time
, error
and message
so people can use ts
, err
, msg
etc.FAQs
Logger
The npm package @hello10/logger receives a total of 0 weekly downloads. As such, @hello10/logger popularity was classified as not popular.
We found that @hello10/logger demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 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
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.