
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
micro-app-graph-dashboard
Advanced tools
Micro app to display one or more graphs based on data received through MQTT. In my case MQTT data is fed by home sensors throughout the house. The dashboard is updated in realtime using socket.io.
The dashboards listens on a number of mqtt topics for updates and then forwards the updates to clients using socket.io. It provides a simple way to display graphjs of sensor data (of course it can display any data fed through MQTT regardless of how it is generated).
This is an example display:
The following project can be used to connect a variety of sensors including temperature, power, humidity and power sensors.
After installation modify ../lib/config.json to match your configuration.
The configuration entries that must be updated include:
As a micro-app the dashboard also supports other options like authentication and tls for the dashboard connection. See the documentation for the micro-app-framework for additional details.
The following is an example configuration file with the IP for my server masked out:
"title": "House Temp Data", "serverPort": 3000, "mqttServerUrl": "tcp://X.X.X.X:1883", "graphEntries": [ { "name": "Indoor Temp", "topic": "house/nexxtech/temp", "retentionSeconds": 86400}, { "name": "Bdr Light", "topic": "house/arduinoLightSensor/40"} ] }
Simply run:
npm install micro-app-graph-dashboard
To run the graph-dashboard app, add node.js to your path (currently requires 4.x or better) and then run:
npm start
from the directory in which the micro-app-graph-dashboard was installed.
Once the server is started. Point your browser at the host/port for the server (or now use the micro-app-electron-launcher). If you have configured your browser to allow javascript to close the current page the original window will be closed and one with the correct size of the simple-dashboard app page will be created.
This micro-app allows resizing and the graphs will change to fit the available space in the window.
The following is the page shown for a sample configuration:
As a micro-app the graph-dashboard app depends on the micro-app-framework:
See the documentation on the micro-app-framework for more information on general configuration options that are availble (ex using tls, authentication, serverPort, etc).
FAQs
Dashboard to display graph data from sensors
We found that micro-app-graph-dashboard 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
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.