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/akutz/memconn
MemConn provides named, in-memory network connections for Go.
A new net.Listener
used to serve HTTP, gRPC, etc. is created with
memconn.Listen
:
lis, err := memconn.Listen("memu", "UniqueName")
Clients can dial any named connection:
client, err := memconn.Dial("memu", "UniqueName")
MemCon supports the following network types:
Network | Description |
---|---|
memb | A buffered, in-memory implementation of net.Conn |
memu | An unbuffered, in-memory implementation of net.Conn |
The benchmark results illustrate MemConn's performance versus TCP and UNIX domain sockets:
MemConn is more performant than TCP and UNIX domain sockets with respect
to the CPU. While MemConn does allocate more memory, this is to be expected
since MemConn is an in-memory implementation of the net.Conn
interface.
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.