Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@acteam-it/winston-socket.io
Advanced tools
A winston transport that will emit logs to a socket.io server.
A socket.io transport for winstonjs. Gives you the ability to log directly to a socket.io server.
See the examples folder for more usage details.
const winston = require('winston');
require('winston-socket.io');
let logger = winston.createLogger({
level: "info",
transports: [
new winston.transports.Console(),
new winston.transports.SocketIO(
{
host: "http://myhost",
port: 8080
secure: true,
reconnect: true,
namespace: "log",
log_topic: "log"
}
)
]
});
logger.log("info", "I'm logging to the socket.io server!!!");
logger.log("info", "I'm logging something else", {meta: "some additional info"});
Can also be added to Winston as a transport in this method
const winston = require('winston');
require('winston-socket.io');
winston.add(new winston.transports.SocketIO({
host: "http://myhost",
port: 8080
secure: true,
reconnect: true,
namespace: "log",
log_topic: "log"
}));
FAQs
A winston transport that will emit logs to a socket.io server.
The npm package @acteam-it/winston-socket.io receives a total of 0 weekly downloads. As such, @acteam-it/winston-socket.io popularity was classified as not popular.
We found that @acteam-it/winston-socket.io 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
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.