Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@wedevelop/web-sub
Advanced tools
Simple WebSub client for Node.js. It provides publish
and subscribe
methods.
Also, you'll need to install an adapter. For the moment the only available adapter is web-sub-kafka-adapter.
This package could be extended to use any other apdater such as RabbitMQ, SQS, ActiveMQ, etc.
npm install --save @wedevelop/web-sub @wedevelop/web-sub-kafka-adapter
const WebSubClient = require('@wedevelop/web-sub')
const KafkaAdapter = require('@wedevelop/web-sub-kafka-adapter')
const topic = 'demo'
const webSubClient = new WebSubClient(new KafkaAdapter())
webSubClient.publish([{ topic, messages: [new Date()] }])
.then(console.log)
.catch(console.error)
webSubClient.subscribe(topic, (err, data) => {
if (err) {
console.error(err)
} else {
console.log(data)
}
})
FAQs
WebSub client for Node.js.
We found that @wedevelop/web-sub demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.