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/mwitkow/go-http-dialer
A net.Dialer
drop-in that establishes the TCP connection over an HTTP CONNECT Tunnel.
Some enterprises have fairly restrictive networking environments. They typically operate HTTP forward proxies that require user authentication. These proxies usually allow HTTPS (TCP to :443
) to pass through the proxy using the CONNECT
method. The CONNECT
method is basically a HTTP-negotiated "end-to-end" TCP stream... which is exactly what net.Conn
is :)
Because if you want to call gRPC services which are exposed publicly over :443
TLS over an HTTP proxy, you can't.
Also, this allows you to call any TCP service over HTTP CONNECT
... if your proxy allows you to ¯\(ツ)/¯
http://proxy.example.com:3128
https://proxy.example.com
)Proxy-Authenticate
, with challenge-response semanticsBasic
authRemoteAddr
remappinggo-http-dialer
is released under the Apache 2.0 license. See the LICENSE file for details.
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.