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.
API-First Transport Control Protocol (TCP) stack for Internet of Things (IoT), based on Internet of Protocols Alliance (IOPA) specification
iopa-tcp
is an API-First Transport Control Protocol (TCP) stack for the Internet of Things (IoT), based on the Internet of Protocols Alliance (IOPA) specification
It servers TCP messages in standard IOPA format and allows existing middleware for Connect, Express and limerun projects to consume/send each mesage.
It is an open-source, standards-based, lighter-weight replacement for other TCP clients and brokers
Written in plain javascript for maximum portability to constrained devices, and consumes the standard node.js require('net')
library
Makes TCP connections look to an application like a standard Request Response REST (HTTP-style) message so little or no application changes required to support multiple REST protocols on top of this transport.
Fully working prototype include server and client.
Includes:
npm install iopa-tcp
npm run typings
const iopa = require('iopa')
, tcp = require('iopa-tcp')
var app = new iopa.App();
app.use(tcp);
app.use(function (context, next) {
context["server.RawStream"].pipe(process.stdout);
return next();
});
if (!process.env.PORT)
process.env.PORT = 1883;
app.createServer("tcp:", { port: process.env.PORT, address: process.env.IP })
.then(function (server) {
return server.connect("mqtt://127.0.0.1");
})
.then(function (client) {
client["server.RawStream"].write("Hello World\n");
});
})
FAQs
API-First Transport Control Protocol (TCP) stack for Internet of Things (IoT), based on Internet of Protocols Alliance (IOPA) specification
The npm package iopa-tcp receives a total of 17 weekly downloads. As such, iopa-tcp popularity was classified as not popular.
We found that iopa-tcp 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.