Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
cylon-robot-disco
Advanced tools
This package discovers other robots in a local network running RobotDisco.
Once discovered, it attaches the remote robot as a proxy robot into the Cylon.robots
in this process. This lets you easily interact with all robots in the disco.
To invoke a command on a remote robot, just invoke their command directly. It will return a promise:
var Jane = Cylon.robots.Jane;
Jane.getMood()
.then(function(mood) {
Cylon.logger("Jane's mood is: " + mood);
});
To listen for events on a remote robot, just start listening. Robot Disco takes care of connecting with and forwarding events to you:
var Jane = Cylon.robots.Jane;
Jane.on('mood_change', function(mood) {
Cylon.logger("Jane's mood has changed to: " + mood);
});
var Florist = Cylon.robots.Florist;
Florist.sendRoseTo('Jane');
When running the Cylon API, all robots in the network are represented in your process.
This allows API clients such as the Robeaux UI to interact with all robots by connecting with any robot running Robot Disco.
For more information about Cylon, check out the repo at https://github.com/hybridgroup/cylon
Install the module with: npm install cylon-robot-disco
To join the club, just add robot-disco to your connections:
Cylon.robot({
connections: {
...
disco: {adaptor: 'robot-disco' }
},
...
}).start();
Copyright (c) 2015 Loren West and other contributors.
See LICENSE
for more details
FAQs
Cylon Robot Discovery
The npm package cylon-robot-disco receives a total of 10 weekly downloads. As such, cylon-robot-disco popularity was classified as not popular.
We found that cylon-robot-disco 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 researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.