Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
homebridge-dafang-mqtt-republish
Advanced tools
Republishes MQTT Motion Messages from Dafang Hacks into a Format homebridge-camera-ffmpeg Understands
This plugin republishes MQTT motion messages from Dafang Hacks into a format homebridge-camera-ffmpeg understands.
Note that this plugin itself does not expose any devices to HomeKit.
npm install -g homebridge
.npm install -g homebridge-camera-ffmpeg
.npm install -g homebridge-dafang-mqtt-republish
.Edit your config.json
accordingly. Configuration sample:
"platforms": [
{
"platform": "dafangMqtt",
"server": "10.0.1.190",
"port": 1883,
"cameras": [
{
"name": "Cat Food Camera",
"dafang_topic": "dafang/catcam",
"homebridge_topic": "homebridge/motion"
}
]
}
]
Fields | Description | Required |
---|---|---|
platform | Must always be dafangMqtt . | Yes |
server | The address of your MQTT server. (Default: 127.0.0.1) | No |
port | The port of your MQTT server. (Default: 1883) | No |
cameras | Array of Dafang Hacks camera configs (multiple supported). | Yes |
|- name | Name of your camera. (Needs to be the same as in homebridge-camera-ffmpeg config) | Yes |
|- dafang_topic | MQTT topic that your camera publishes to. | Yes |
|- homebridge_topic | MQTT topic that homebridge-camera-ffmpeg is subscribed to. | Yes |
FAQs
Exposes Dafang Hacks Features as HomeKit Accessories
We found that homebridge-dafang-mqtt-republish 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.