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.
aedes-persistence-nedb
Advanced tools
Aedes persistence, backed by NeDB.
See aedes-persistence for the full API, and Aedes for usage.
npm i aedes aedes-persistence-nedb --save
Creates a new instance of aedes-persistence-nedb. Accepts an options object to override defaults.
var NedbPersistence = require('aedes-persistence-nedb');
var persistence = new NedbPersistence({
path: './db' // defaults to './data',
prefix: 'mqtt' // defaults to ''
});
Creates a new Aedes instance that persists to NeDB. Connect to this instance with a MQTT client to see it working.
var NedbPersistence = require('aedes-persistence-nedb');
var Aedes = require('aedes');
var net = require('net');
var db = new NedbPersistence();
var aedes = Aedes({ persistence: db });
var server = net.createServer(aedes.handle);
var port = 1883;
server.listen(port, function () {
console.log('server listening on port', port);
});
See the CONTRIBUTING file for details.
MIT
FAQs
NeDB persistence for Aedes.
We found that aedes-persistence-nedb 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.
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.