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.
gitee.com/bdqi/go-v4l2
Package v4l2 exposes the V4L2 (Video4Linux version 2) API to Golang.
Online documentation, which includes examples, can be found at: http://godoc.org/github.com/reiver/go-v4l2
device, err := v4l2.Open(v4l2.Video0)
if nil != err {
//@TODO
return err
}
defer device.Close()
fmt.Printf("Driver: %q\n", device.MustDriver())
fmt.Printf("Card: %q\n", device.MustCard())
fmt.Printf("BusInfo: %q\n", device.MustBusInfo())
fmt.Printf("Version: %q\n", device.MustVersion())
fmt.Println()
fmt.Printf("Has Video Capture: %v\n", device.MustHasCapability(v4l2.CapabilityVideoCapture))
fmt.Printf("Has Streaming I/O: %v\n", device.MustHasCapability(v4l2.CapabilityStreaming))
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.