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.
universal-silabs-flasher
Advanced tools
Tool to flash firmware onto any Silicon Labs radio running EmberZNet, CPC multi-PAN, or just a bare Gecko Bootloader
Automatically communicates with radios over CPC, EZSP, or Spinel to enter the bootloader and then flashes a firmware image with XMODEM.
$ pip install universal-silabs-flasher
Usage: universal-silabs-flasher [OPTIONS] COMMAND [ARGS]...
Options:
-v, --verbose
--device PATH_OR_URL [required]
--bootloader-baudrate NUMBERS [default: 115200]
--cpc-baudrate NUMBERS [default: 460800, 115200, 230400]
--ezsp-baudrate NUMBERS [default: 115200]
--router-baudrate NUMBERS [default: 115200]
--spinel-baudrate NUMBERS [default: 460800]
--probe-method TEXT [default: bootloader, cpc, ezsp, spinel,
router]
--bootloader-reset [yellow|ihost|slzb07|sonoff]
--help Show this message and exit.
Commands:
dump-gbl-metadata
flash
probe
write-ieee
For safety, firmware GBL image files are validated and their checksums verified both before sending, and by the device bootloader itself.
In addition to validating the firmware image, the version number of the firmware image currently running on the device is read.
--allow-cross-flashing
.--allow-downgrades
.--ensure-exact-version
.--force
.The Yellow's bootloader can always be activated with the --bootloader-reset yellow
option:
$ universal-silabs-flasher \
--device /dev/ttyAMA1 \
--bootloader-reset yellow
flash \
--firmware NabuCasa_RCP_v4.1.3_rcp-uart-hw-802154_230400.gbl \
The SkyConnect will be rebooted into its bootloader from the running application: either EmberZNet or CPC.
$ universal-silabs-flasher \
--device /dev/cu.SLAB_USBtoUART \
flash \
--firmware NabuCasa_SkyConnect_EZSP_v7.1.3.0_ncp-uart-hw_115200.gbl
Ensure a target device running EmberZNet firmware has the correct node IEEE address:
$ universal-silabs-flasher \
--device /dev/cu.SLAB_USBtoUART \
write-ieee \
--ieee 00:3c:84:ff:fe:92:bb:2c
The IEEE address can also be specified without colons: --ieee 003c84fffe92bb2c
.
If the current device's IEEE address already matches the provided one, the command will not write it unnecessarily.
Depending on firmware version, writing the IEEE address can be a permanent operation. If this is the case,
you will need to upgrade the firmware on your adapter to a more recent release of EmberZNet or perform the one-time
write with --force
.
FAQs
Tool to flash firmware onto any Silicon Labs radio running EmberZNet, CPC multi-PAN, or just a bare Gecko Bootloader
We found that universal-silabs-flasher demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers 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.