Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
@dxos/codec-protobuf
Advanced tools
There's an associated @dxos/protobuf-compiler package that does codegen based on protobuf schema.
There's an associated @dxos/protobuf-compiler package that does codegen based on protobuf schema.
Based on:
In protobuf scalar fields (numbers, booleans, strings, bytes, enums) may have an implicit default value:
Example:
int32 number = 1;
If the field is set to it's default value (0 in this example) it MAY be missing in the wire encoding (Go implementation) or present with the value set to 0 (JS implementation).
When decoding, the missing fields MUST be treated as having the default implicit value (0 in this case).
optional int32 number = 1;
If the field is set to it's default value (0 in this example) it MUST be present in the wire encoding with the value set to 0.
When decoding, the missing fields it MUST be set as undefined. If the field is present in the wire format, it must be set to its numeric value.
This package must NOT use toolchain
to avoid cyclic dependencies.
FAQs
There's an associated @dxos/protobuf-compiler package that does codegen based on protobuf schema.
The npm package @dxos/codec-protobuf receives a total of 2,196 weekly downloads. As such, @dxos/codec-protobuf popularity was classified as popular.
We found that @dxos/codec-protobuf demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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 a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.