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.
mqtt-notification
Advanced tools
This small node program allows your computer to display native notifications, that are send from a mqtt server.
Usage:
You can also use this to remote lock your computer. (Currently only tested on MacOS)
You would typically run this app in the background, but first you have to configure it.
git clone https://github.com/svrooij/node-mqtt-notification.git
cd node-mqtt-notification
npm install
nano config/local.json
Edit this file to your needs config/local.json
with the following config. And see default.json for the other config items. See mqtt.connect for options how to format the host. mqtt://ip_address:port
is the easiest.
{
"mqtt": {
"host":"mqtt://ip_or_host_of_mqtt_server"
},
"topics": {
"lockTopic":"the/topic/to/subscribe/to/for/locking",
"notificationTopic":"the/notification/topic"
}
}
Try to start the application by running npm start
or directly by node receiver.js
, and try to send a notification (or a lock command).
If everything works as expected, you should make the app run in the background automatically. Personally I use PM2 for this. And they have a great guide for this.
When PM2 is running (and starting on startup). pm2 start receiver.js --name mqtt-notifications
FAQs
Native desktop notifications based on MQTT.
The npm package mqtt-notification receives a total of 0 weekly downloads. As such, mqtt-notification popularity was classified as not popular.
We found that mqtt-notification 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.