Security News
Cloudflare Adds Security.txt Setup Wizard
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
@bryopsida/eureka
Advanced tools
A library for securely discovering other processes in a multicast network
This is intended to be a minimal, zero dependency library that can be used in other things for peer discovery when multicasting is available.
You can either extend or wrap the Eureka
class.
For example:
import { randomBytes, randomUUID } from 'node:crypto'
import { Eureka } from '@bryopsida/eureka'
const password = randomBytes(32).toString('utf8')
const salt = randomBytes(16).toString('utf8')
const id = randomUUID()
const eureka = new Eureka({
logger: console,
crypto: {
salt,
password
},
messageData: {
id,
extraData: [{
something: 1
}]
},
server: {
port: 41515
}
}).on('error', (err) => {
console.error(err)
}).on('ready', () => {
console.log('eureka ready')
}).on('message', (msg) => {
console.log('other processes message: ', msg)
})
process.on('SIGINT', () => {
eureka?.close()
})
UDP multicasting is used to send messages to all hosts in the same network segment.
You can adjust the multicast group by setting opts.server.multicastGroups[]
to the set of multicast groups you would like to use. The default set is ['224.0.0.1']
on port 515151
.
To provide security the messages are encrypted with ChaCha20-poly1305
using the IP:PORT
of the sender as the additional authentication data.
FAQs
A library for securely discovering other processes in a multicast network
We found that @bryopsida/eureka demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.
Security News
ENISA’s 2024 report highlights the EU’s top cybersecurity threats, including rising DDoS attacks, ransomware, supply chain vulnerabilities, and weaponized AI.