Scan your whole stack
From OX Research Newsroom
Are you using homebridge-brilliant-local?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.0-beta.13
homebridge-brilliant-local was last scanned on 29 Nov 2026 at version 0.2.0-beta.13. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.0-beta.13 LATEST | 29 Nov 2026 | No rules fired |
| 0.0.0-stage | 29 Nov 2026 | Not shown |
Findings for v0.2.0-beta.13. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.0-beta.13; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Shows Brilliant smart switches and the lights wired to Brilliant control panels in Apple Home, controlled locally: the switches straight over Bluetooth mesh from your Homebridge computer, the panels' own lights through a small agent on each panel. No Brilliant cloud in the path, so it keeps working if the cloud doesn't.
Unofficial. Not made, supported or endorsed by Brilliant NextGen, Inc. "Brilliant" is their trademark, used here only to say what the plugin works with. Read What the plugin can change before turning anything on.
The two parts are independent: use either or both. Switches work; panels are experimental.
The plugin does as little as possible. Everything it can change, and what has to be true first:
| Where | What it can do from the Home app | Needs |
|---|---|---|
| Brilliant switches | Turn a light on or off, set its brightness | The mesh switches turned on in the settings, the radio helper running and the mesh keys |
| Panel lights | Turn a panel's own light on or off, set its brightness | The panels turned on in the settings and the agent installed on that panel |
It never changes a switch's or a panel's settings. Writing any switch setting except the two motion thresholds is refused in its code (and none is written in this version): load type, dimming limits, reboot, firmware update and similar settings can damage LED drivers or the dimmer, or break the mesh. The panel agent refuses anything but "on" and "brightness" on that panel's own lights.
Turning things on takes three things that need care:
This repository is private for now, so the plugin isn't on npm and the Homebridge UI can't
install or update it. Each GitHub release has the package attached, and
scripts/update-pi.sh installs it. One-time setup on the Homebridge
computer, as the user Homebridge runs as (pi on many Raspberry Pi setups, homebridge on the
Homebridge image; the owner of /var/lib/homebridge), in the Homebridge UI's Terminal or over SSH:
Install the GitHub CLI from GitHub's own package source (Raspberry Pi OS's own gh is too
old): follow cli.github.com → Linux → Debian,
which has packages for the Pi.
On GitHub, create a fine-grained personal access token with access to this repository only
and Contents: Read-only, then run gh auth login and paste it.
Get the install script:
gh api -H 'Accept: application/vnd.github.raw' repos/zmanuel1234/homebridge-brilliant-local/contents/scripts/update-pi.sh > update-pi.sh && chmod +x update-pi.sh
Then, to install or update:
./update-pi.sh # the newest stable release (the newest pre-release while there's none)
./update-pi.sh --beta # the newest release, pre-releases included
./update-pi.sh v0.2.0-beta.3 # a given release, or an older one to roll back
It checks the package against the release's SHA256SUMS, installs it into Homebridge's folder
(/var/lib/homebridge, or HB_DIR), and keeps the package in its packages/ folder so later
npm installs there keep working. Then restart Homebridge (the first time) or the plugin's child
bridge. If an update changed the radio helper, the script says so: then also run
sudo systemctl restart brilliant-mesh-radio.
Open the plugin's settings in the Homebridge UI. They have two tabs, both following Homebridge's light or dark theme: Setup (the guided steps below) and Settings (every setting, in the usual form). The page opens on Setup until something is set up, then on Settings. The Setup tab does sections 2 to 4 below for you, without a terminal apart from one command to copy for the radio service:
Each panel row also has Install the agent: untick it to only read the switches from that panel, installing nothing (for the switches alone). Once a panel's agent runs, its own lights are listed under it, each with a tick to show or hide it in Home, plus a tick for the panel's own motion sensor.
Passwords are used once, for that step, and never kept or logged. Everything the card fills in is on the Settings tab, where you can change it. Nothing is saved until you press Save; then go on with section 5's last step (the child bridge). Sections 2 to 4 below are the same thing by hand.
The plugin talks to the switches through a small service, brilliant-mesh-radio, that owns the
Bluetooth adapter. It comes with the plugin. Install its service once, after the plugin: the
plugin's settings page shows this command with the right folder and user, ready to copy into the
Homebridge UI's Terminal (or any terminal on the Homebridge computer):
sudo sh /var/lib/homebridge/node_modules/homebridge-brilliant-local/tools/install-radio-service.sh pi
The last word is the user Homebridge runs as (the settings page fills it in).
It copies the helper into /usr/local/lib/brilliant-mesh/ (owned by root, so nothing running as
Homebridge's user can change what the service runs), writes
/etc/systemd/system/brilliant-mesh-radio.service and starts it: the helper runs as that user,
with only the two Bluetooth permissions it needs, in a tight sandbox (no network, a read-only
system, no access to other processes or devices), never sees the mesh keys, and systemd restarts
it if it stops. Run it again after an update that changed the helper (the update script and the
plugin's log say so); running it again is safe. Its log: journalctl -u brilliant-mesh-radio.
The plugin itself never writes outside Homebridge's storage folder, which is why this one step is a command.
A small private JSON file kept outside the plugin, so updates never touch it. It holds the mesh
keys and the list of your switches. tools/extract-mesh.py, which
comes with the plugin, writes it from one of your own panels, once:
Turn on Root SSH on any panel (Settings → Advanced Settings → Root SSH Login).
On the Homebridge computer, as Homebridge's user, with the panel's address:
(umask 077; mkdir -p /var/lib/homebridge/brilliant-local)
(umask 077; ssh root@192.0.2.10 /data/switch-embedded/env/bin/python3 - \
< /var/lib/homebridge/node_modules/homebridge-brilliant-local/tools/extract-mesh.py \
> /var/lib/homebridge/brilliant-local/mesh.json.new) \
&& mv /var/lib/homebridge/brilliant-local/mesh.json.new /var/lib/homebridge/brilliant-local/mesh.json
It asks for the panel's root password, changes nothing on the panel, and prints the switches it found (address, light or companion, name in the Brilliant app), never the keys:
3 switches:
12 light Hallway
15 light Stairs Bottom
16 companion Stairs Top
Turn Root SSH off again.
Run it again after adding, removing or renaming switches in the Brilliant app.
Backups: the keys file and the plugin's sequence file sit together in Homebridge's storage
folder (brilliant-local/), so a Homebridge backup includes them: keep backups private. Never
restore an old sequence file over a newer one: the switches ignore numbers they've already
seen, so they would ignore the plugin until it counts past them. The file:
| Field | What it is |
|---|---|
net_key, net_key_index |
The mesh's network key (32 hex characters) and its index |
app_key, app_key_index, app_bound_net_index |
The application key, its index and the network key it's bound to |
iv_index |
The mesh's current IV index |
devices |
The switches: address, name (in the Brilliant app) and role (light or companion). Optional: without it, list the lights in the settings. |
A panel's own wired lights aren't on the mesh, so the plugin reaches them through a small agent installed on the panel. It talks to the panel's internal message bus the way Brilliant's own services do.
Install: turn on Root SSH on the panel (Settings → Advanced Settings → Root SSH Login, with the emailed password), then on the Homebridge computer, as Homebridge's user:
./install-panel-agent.sh 192.0.2.10
It asks for the panel's root password once, installs the agent as a service (capped at 15 % CPU and 64 MB), checks it answers, and prints the panel's token for the settings. Then turn Root SSH off again.
After a panel update the service may be gone: run the same command again (the token stays
the same). --uninstall <address> removes it.
The agent also turns off the panel's Wi-Fi power saving, which drops incoming packets.
Set it up in the plugin's settings in the Homebridge UI (the Setup card fills in most of it), or add a platform block to config.json. Then, the first time, put the plugin on its own child bridge and add that bridge to the Home app:
Later changes in the settings only need the child bridge restarted (its menu on the plugin's card), not a new pairing.
{
"platform": "BrilliantLocal",
"name": "Brilliant Local",
"mesh": {
"enabled": true,
"keysFile": "/var/lib/homebridge/brilliant-local/mesh.json",
"motionAll": true,
"hide": [15],
"lights": [
{ "address": 12, "name": "Hall Lamp" }
]
},
"panels": {
"enabled": false
}
} Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.