
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-home-alarm
Advanced tools
This is a port of the HomeAlarm project over to the micro-app framwork so that you can get the native look and feel on desktop and mobile devices with the micro-app-cordova-launcher and micro-app-electron-launcher projects.
This projects provides a home based alarm system using Node and MQTT. It provides a GUI that allows you to:
When the alarm is triggered it will take pictures every 10 second for 5 minutes, pushing them to a remote webserver. It can also be configured to send sms messages to notify the owner than an alarm has occured.
In a browser:
Native application:
On a phone:
The following projects can be used to connect sensors such motion detectors, door contacts and webcams.
PI433WirelessRecvMananager or this less expensive project Mqtt433Bridge.
Additional views when alarm is active and triggered
View when using GUI to display pictures taken by camera
The server requires Node along with the modules defined in the package.json file to be installed.
It also requires:
Most configuration is done in the config.json file which supports the following configuration options:
mqtts
.For example this is my configuration file with some key elements masked out:
{ "title": "Cottage Alarm", "alarmSite": "Home", "serverPort": 3000, "tls": "true", "authenticate": "true", "scrollBars": true, "authInfo": {"username": "alarm", "password": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "realm": "alarm"}, "mqtt": { "serverUrl": "mqtts:XXXXXXXXX:8883", "rootTopic": "house", "certsDir": "./certs" }, "webserverUrlForPictures": "https:XXXXXXXXXX:XXXXX", "zones": [ { "topic": "house/2262/1", "zoneId": 3, "label": "front door" }, { "topic": "house/2262/2", "zoneId": 4, "label": "patio door" }, { "topic": "house/2262/3", "zoneId": 2, "label": "motion living" }, { "topic": "house/2262/4", "zoneId": 1, "label": "motion hall" }, { "topic": "house/2262/5", "zoneId": 5, "label": "fire" } ], "camera": { "topic": "house/camera", "IRtopic": "home/2272", "IRon": "FFFFFFF11000", "IRoff": "FFFFFFF10000" }, "eventLogPrefix": "/home/user1/repos/micro-app-home-alarm", "notify": { "mqttSmsBridge": { "enabled": true, "serverUrl": "your mqtt server", "topic": "house/sms" } } }
The easiest way to install is to run:
npm install micro-app-home-alarm
and then configure the default config.json file in the lib directory as described in the configuration section above.
Simply cd to the directory where the npm was installed and type:
npm start
As a micro-app the micro-app-alert-dashboard app depends on the micro-app-framework:
See the documentation on the micro-app-framework for more information on general configurtion options that are availble (ex using tls, authentication, serverPort, etc)
The micro-app-notify-client is used to send notifications through sms and other means when necessary.
FAQs
Alarm dashboard written in node
We found that micro-app-home-alarm 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.