Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@onflow/protobuf
Advanced tools
This package contains the protobuf files used by the Flow JS SDK to communicate with the Access API.
These change when the access nodes need different data. If the access nodes introduce a breaking change this package will proxy that breaking change into the SDK and FCL. This risk is what lead us to the interaction abstraction and our send functions acting as a translation layer between the interaction and these.
npm install --save @onflow/protobuf
The version of this package reflects the version of the AccessAPI spec for which it supports.
First, ensure you have protoc
installed on your machine. protoc
is a tool that will allow us to generate js-protobuf files. To install protoc
, follow the guide available here https://grpc.io/docs/quickstart/go/#protocol-buffers (note: MacOS users can install protoc
using homebrew: brew install protoc
)
To generate the js-protobuf files, run the following command in the root of this package:
protoc --plugin="protoc-gen-ts=./node_modules/.bin/protoc-gen-ts" --js_out="import_style=commonjs,binary:src/generated" --ts_out="service=grpc-web:src/generated" -I ./src/proto ./src/proto/flow/**/*.proto;
FAQs
Access Node Protobuf
The npm package @onflow/protobuf receives a total of 932 weekly downloads. As such, @onflow/protobuf popularity was classified as not popular.
We found that @onflow/protobuf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 13 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’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.