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.
github.com/database64128/tfo-go
tfo-go
tfo-go
provides a series of wrappers around net.ListenConfig
, net.Listen()
, net.ListenTCP()
, net.Dialer
, net.Dial()
, net.DialTCP()
that seamlessly enable TCP Fast Open. These wrapper types and functions can be used as drop-in replacements for their counterparts in Go net
with minimal changes required.
tfo-go
supports Linux, Windows, macOS, and FreeBSD. On unsupported platforms, tfo-go
automatically falls back to non-TFO sockets and returns ErrPlatformUnsupported
. Make sure to check and handle/ignore such errors in your code.
tfo-go
to utilize Go's runtime poller on Windows. For real world applications with a fairly low number of connections, tfo-go
will work just fine. If your application needs to handle a lot of concurrent I/O, just don't use Windows!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
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.