
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@movable/socketproxy
Advanced tools
Expose a local node http server via a remote URL.
Motivation: you run a local http-based node app that you want to expose to the world, and you also have the ability to run a public node app elsewhere.
SocketProxy comes in two parts:
The server works out of the box, the client will need to be customized for your app. Starting the server:
bin/server --port=8080
See bin/server --help for all options.
An example client can be found at bin/example-client.
const SocketProxy = require('socketproxy');
const app = express();
app.use(...)
const proxy = new SocketProxy({
url: 'ws://socketproxy-server:8080',
app: app
});
proxy.connect().then((p) => {
console.log("Connected", p.uri);
});
Replace socketproxy-server above with the hostname of your SocketProxy server.
localtunnel is a popular alternative for some similar use cases. Notable differences are that it is actually a full TCP tunnel while the SocketProxy client connects directly to an express/connect handler, so doesn't generate any extra connections on the client machine. SocketProxy was developed because localtunnel isn't able to encrypt TCP traffic, and requires the use of all of the server's ports. For high-throughput uses, localtunnel is likely quite a bit faster since it will use many TCP connections rather than a single multiplexed-via-json websockets connection.
See LICENSE.txt
FAQs
Expose a local webserver via a remote subdmoain, over websockets
The npm package @movable/socketproxy receives a total of 4 weekly downloads. As such, @movable/socketproxy popularity was classified as not popular.
We found that @movable/socketproxy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 15 open source maintainers 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.