
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
hyper-ipc-secure
Advanced tools
hyper-ipc-secure is a version of hyper-ipc where you can have many named endpoints and the client needs only a pubkey and a name. This library allows you to split your program into different parts, and use it to get one part to ask another to run code, and receive the response, allowing you to expose your functions remotely. The different instances will automatically find each other and connect using a peer-to-peer library called hyperswarm. You can hand the constructor a secret key when you create it to make endpoints harder to guess. Communication is noise encrypted.
To install hyper-ipc-secure, follow the steps below:
npm install --save hyper-ipc-secure
This will install hyper-ipc-secure and save it as a dependency in your project.
The different instances will automatically find each other and connect using a peer-to-peer library called hyperswarm.
You can hand the constructor a secret key when you create it to make endpoints harder to guess.
Communication is noise encrypted.
UPDATE:
There is a new webhook client available in this project, this allows you to run a local webhook that executes code on remote hyperswarm based nodes, giving you easy access to all your swarms for webhook based tools like n8n
Here are some examples of how to use hyper-ipc-secure:
const ipc = require('hyper-ipc-secure');
//kp needs at both private and public keys to spawn
const output = await ipc.serve(kp.publicKey, 'hello.world', (input)=>{
console.log(input);
return {success:true};
}));
const ipc = require('hyper-ipc-secure');
//kp needs at least publicKey defined to run calls
const output = await ipc.run(kp.publicKey, 'hello.world', {hello:"world"});
console.log(output.success);
Please refer to the examples directory for more detailed examples.
We welcome contributions to hyper-ipc-secure! Here are the steps to contribute:
Please make sure to update tests as appropriate and follow the code style of the project.
FAQs
Hyperswarm IPC Library
The npm package hyper-ipc-secure receives a total of 7 weekly downloads. As such, hyper-ipc-secure popularity was classified as not popular.
We found that hyper-ipc-secure 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.