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.
ESP-IO is an IO Plugin that enables writing JavaScript Robotics programs with Johnny-Five, which interact with ESP8266 boards.
ESP-IO is an IO Plugin that enables writing JavaScript Robotics programs with Johnny-Five, which interact with ESP8266 boards.
These are just conceptual use case sketches for now...
var five = require("johnny-five");
var ESP = require("esp-io");
var board = new five.Board({
io: new ESP()
});
board.on("ready", function() {
// This is running on a local machine that's connected to an ESP8266
});
This is how you might coordinate two ESP8266 boards with an Arduino (it doesn't matter what board you coordinate with, this was just for illustration):
var boards = new five.Boards([
{ id: "arduino-or-whatever" },
{ id: "a", io: new Esp({ id: "a" }) },
{ id: "b", io: new Esp({ id: "b" }) },
]);
boards.on("ready", function() {
var [arduino, a, b] = this; // *
var threshold = 40; // degrees celsius
var slider = new five.Sensor({
pin: "A0",
board: arduino,
scale: [20, 40]
});
var thermometer = new five.Thermometer({
controller: "TMP102",
board: a
});
var alarm = new five.Relay({
pin: 5, // "D5" ?
board: b
});
thermometer.on("change", function() {
if (this.c >= slider.value) {
alarm.on();
} else {
alarm.off();
}
});
});
* Same as:
var arduino = this[0];
var a = this[1];
var b = this[2];
FAQs
ESP-IO is an IO Plugin that enables writing JavaScript Robotics programs with Johnny-Five, which interact with ESP8266 boards.
The npm package esp-io receives a total of 0 weekly downloads. As such, esp-io popularity was classified as not popular.
We found that esp-io 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.