
Research
Malicious NuGet Packages Typosquat Nethereum to Exfiltrate Wallet Keys
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
@thesuhu/colorconsole
Advanced tools
Make console log more colorful. While developing, we often deal with console logs. This module provides four templates namely regular log, error log, HTTP log and SQL log.
npm install @thesuhu/colorconsole --save-dev
Below is an example regular and error log.
const { logConsole, errorConsole } = require('@thesuhu/colorconsole')
// regular log
logConsole('Hello world!')
// error log
errorConsole('A very cool error here')
Below is an example HTTP log.
const { httpLogConsole } = require('@thesuhu/colorconsole')
// log request for dev
app.use((req, res, next) => {
if (env == 'dev') httpLogConsole(req)
next()
})
Below is an example SQL log.
const { sqlLogConsole } = require('@thesuhu/colorconsole')
// when work with MySQL
let query = mysql.format(sql, param)
if (env == 'dev') {
sqlLogConsole(query)
}
// when work with Oracle
let query = queryBindToString(sql, param)
if (env == 'dev') {
sqlLogConsole(query)
}
FAQs
Make console log more colorful
We found that @thesuhu/colorconsole 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.
Research
The Socket Threat Research Team uncovered malicious NuGet packages typosquatting the popular Nethereum project to steal wallet keys.
Product
A single platform for static analysis, secrets detection, container scanning, and CVE checks—built on trusted open source tools, ready to run out of the box.
Product
Socket is launching experimental protection for the Hugging Face ecosystem, scanning for malware and malicious payload injections inside model files to prevent silent AI supply chain attacks.