
Security News
/Research
Wallet-Draining npm Package Impersonates Nodemailer to Hijack Crypto Transactions
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Simple package to log properly colored messages to proper output streams
This is a simple utility to log stuff to console without having to manually color it.
Aren't there many log libraries already?
Sure! But I wasn't satisfied by any of them, since they either had too much or too little stuff, so I always ended up copying and pasting the same files over all my projects, untill I finally decided I wanted to be able to yarn add coloredlog
, and here we are xD
Just watch and repeat :P
import {log, info, error, warn} from 'coloredlog';
log('This will be output to console.log with a blue color');
info('This will be output to console.info with a cyan color');
error('This will be output to console.error with a red color');
warn('This will be output to console.warn with a yellow color');
If you set NODE_ENV
environment variable to either test
or silent
, this module will shut it's mouth up. Useful for when you're running automated tests and don't want stuff getting in your way.
Com'on, you already know how to do this! Just PR me, I'll be happy to reveal and merge :D
FAQs
Simple package to log properly colored messages to proper output streams
We found that coloredlog 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.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.