
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.
customable colorful logger for nodejs and browser
npm install consoloo
yarn add consoloo
pnpm add consoloo
import { createFileReporter, createNodeLogger } from 'consoloo'
import { createBrowserLogger } from 'consoloo/browser'
import { createBaseLogger } from 'consoloo/core'
// basic
const logger = createBaseLogger()
// node
const node = createNodeLogger()
const stop = node.timer('log timer')
node.info('info')
node.warn('warn')
node.error('error')
node.setLogMode('debug')
node.withScope('with').debug('test withScope')
node.info('test inline scope', 'inline')
const scopeLogger = node.withScope('foo')
scopeLogger.warn('test change scope')
const fileLogger = createNodeLogger<'file' | 'test'>({
logMode: 'debug',
reporter: [createFileReporter({ logDir: './logs' })],
})
fileLogger.debug('info', 'file') // typesafe scope
try {
throw new Error('test error in file')
} catch (error) {
fileLogger.error('test error in file', error)
}
stop()
// browser
const browserLogger = createBrowserLogger('debug')
'debug'
: debug, info, warn, error'info'
: info, warn, error'error'
: error'disable'
: noneFAQs
colorful logger for nodejs and browser
The npm package consoloo receives a total of 84 weekly downloads. As such, consoloo popularity was classified as not popular.
We found that consoloo demonstrated a healthy version release cadence and project activity because the last version was released less than 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.