
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@particle/device-os-flash-util
Advanced tools
device-os-flash is a tool that simplifies flashing of Particle devices. It can flash official Device OS releases, as well as user-provided module binaries – via DFU or a debugger.
This tool is experimental. Use it at your own risk.
Install with npm globally:
npm install --global @particle/device-os-flash-util
Prerequisites:
Supported Debuggers:
The examples below cover most of the use case scenarios. For the full list of available options, see the tool's help:
device-os-flash -h
Flashing all detected devices with Device OS 1.5.0 via DFU:
device-os-flash --all-devices 1.5.0
device-os-flash automatically downloads release binaries from GitHub. If you are experiencing rate limiting errors, set your GitHub access token via the GITHUB_TOKEN
environment variable.
Same as above, but do not flash Tinker:
device-os-flash --all-devices --no-user 1.5.0
Flashing a user application to all detected devices:
device-os-flash --all-devices my_app.bin
Flashing specific devices:
device-os-flash -d my_boron -d my_electon 1.5.0
Resolving device names requires a valid Particle API token. If you are signed in via the Particle CLI, device-os-flash will use the token from the CLI's configuration file. Alternatively, the token can be specified via the PARTICLE_TOKEN
environment variable.
Flashing all detected devices via OpenOCD:
device-os-flash --all-devices --openocd 1.5.0
FAQs
Device OS Flashing Utility
The npm package @particle/device-os-flash-util receives a total of 5 weekly downloads. As such, @particle/device-os-flash-util popularity was classified as not popular.
We found that @particle/device-os-flash-util demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 29 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.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.