Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
github.com/bupt1987/log-websocket
监听本地socket ,把输入的文本信息push到连接到websocket的客户端
websocket 基于 github.com/gorilla/websocket
go get -u github.com/bupt1987/log-websocket
websocket 服务,端口: 9090, 访问需要带上参数listens, 例如: ws://127.0.0.1/?listens=test1,test2
listens 后面接的是监听的消息类型,可同时监听多种消息类型, 如果是 "*" 的话表示监听所有类型的消息
往本地 /tmp/log-stock.socket 写入数据时需要注意
本地写入数据格式: 消息类型 + "," + 消息内容 + "\n"
例子都在 tests 目录下
FAQs
Unknown package
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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.