
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
@particle/device-os-protobuf
Advanced tools
Particle devices expose Control Requests over USB and BLE for functionality like device information and Wi-Fi setup. This repo contains the definition for all these control requests in Protobuf format.
Note that most common Javascript use cases Device OS Protobuf usage over USB would be better accommodated by particle-usb rather than this project because it provides a higher level API that is easier to use and covers protobuf transmission over USB (not just encoding/decoding);
Device OS declares all control request IDs in system-control.h. Additionally, Device OS depends on control/*.proto files in this repo via a git submodule.
iOS and Android applications also depend on control/*.proto files directly via a git submodule.
See the protobuf definitions reference for more details about specific requests.
Install package with npm install @particle/device-os-protobuf
See docs/reference.md for public api documentation
See src/*.test.js files for basic usage examples.
See particle-usb for production usage examples.
Ensure you have installed dependencies via npm install.
Edit the protocol buffer definitions in proto.
Generate the protobufjs JavaScript & JSON files and markdown documentation with npm run build. Make sure to do this before asking for PR reviews/merging.
Ensure npm run test:ci is passing
Building the protobuf definitions reference is done with npm run build:docs:protobuf. This command uses Docker to remove the dependency on protoc-gen-doc tool.
Packages are only released from the main branch after peer review via the following process.
$ git checkout main$ git pull$ npm test:cinpm version$ git push origin main --follow-tagsFAQs
Particle Device OS Protobuf Definitions
The npm package @particle/device-os-protobuf receives a total of 447 weekly downloads. As such, @particle/device-os-protobuf popularity was classified as not popular.
We found that @particle/device-os-protobuf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 23 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
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.