Security News
Research
Supply Chain Attack on Rspack npm Packages Injects Cryptojacking Malware
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
@browser-network/switchboard
Advanced tools
The switching server required for the onboarding of new nodes into a @browser-network/network
This is the switchboard required to facilitate initial connections in a Browser Network.
When you first open a web page using a distributed browser network, the app needs some way to find the network before it can join it. This is the service provided to do that. The Switching Service can facilitate a connection between any two nodes within a distributed browser network that are not already connected. So if you're a node who isn't yet connected to the network, you'll ping this switching service to find and connect to another node that's already in the network. Then immediately you'll start receiving connection information from other nodes in the network and you'll rapidly further connect to the network without the continued help of this switching service.
The switching service has negligable processing and memory footprints. It operates only in memory, it doesn't need a database or write to disk in any way. The switching service will be exchanging small JSON data with various nodes in the network so it will use some small bandwidth. But it's important to note that this is not anything like a cryptocurrency miner, the resource usage of the switching service is meant to be as small as possible.
The switching service is also designed to be able to be started and stopped at will without harming the network. The network is robust and self healing and can survive indefinitely without the switching service running, even in unstable WebRTC network conditions (sometimes the connections are unstable). However without at least one switching service running at any time, new nodes will not be able to join the network. So a constantly evolving network, as the network is intended to be, requires at least one switching service running at any point in time.
You can skip installation entirely and just run this with:
PORT=5678 npx @browser-network/switchboard
FAQs
The switching server required for the onboarding of new nodes into a @browser-network/network
The npm package @browser-network/switchboard receives a total of 0 weekly downloads. As such, @browser-network/switchboard popularity was classified as not popular.
We found that @browser-network/switchboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
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.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.
Security News
Sonar’s acquisition of Tidelift highlights a growing industry shift toward sustainable open source funding, addressing maintainer burnout and critical software dependencies.