
Research
/Security News
Malicious npm Packages Target WhatsApp Developers with Remote Kill Switch
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
github.com/paypal/ionet
ionet provides a net.Conn and a net.Listener in which connections use an io.Reader and an io.Writer instead of a traditional network stack.
This can be handy in unit tests, because it enables you to mock out the network.
It's also useful when using an external network stack. At PayPal, ionet is used in PayPal Beacon. Beacon uses a Bluetooth Low Energy chip accessed over a serial connection. ionet enables the use of net-based code, such as the stdlib's [net/http]((http://golang.org/pkg/net/http/), with a mediated network.
go get github.com/paypal/ionet
See godoc for usage.
ionet requires Go 1.1 or later, and is released under a BSD-style license similar to Go's.
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
Two npm packages masquerading as WhatsApp developer libraries include a kill switch that deletes all files if the phone number isn’t whitelisted.
Research
/Security News
Socket uncovered 11 malicious Go packages using obfuscated loaders to fetch and execute second-stage payloads via C2 domains.
Security News
TC39 advances 11 JavaScript proposals, with two moving to Stage 4, bringing better math, binary APIs, and more features one step closer to the ECMAScript spec.