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.
@hashgraph/proto
Advanced tools
The authoritative repository of protocol buffers used by the Hedera Hashgraph public network, especially to define its gRPC API. Other repositories are used to deploy language-specific libraries generated from the *.proto files in the following repositories:
There are five primary service families, which inter-operate on entities controlled by one (or more) Ed25519 keypairs:
There are also four secondary service families:
It is important to note that most network services are gated by fees which must be paid in ℏ from a cryptocurrency account. The payer authorizes a fee by signing an appropriate transaction with a sufficient subset of the Ed25519 key(s) associated to their account.
State directory and its subdirectories contain the protobuf files that define the state of the network. The state is divided into the following subdirectories, based on the service modules:
The state directory and its subdirectories are in preview and are subject to change.
This repository uses a simple branching model with only two distinguished branches:
main
points to the latest protobufs blessed for deployment to mainnet.
Tags such as v0.12.0
mark commits used for testnet and mainnet deploys.develop
points to the latest candidate for the next tag in main
.
Tags suffixed with -alpha.x
mark commits used for previewnet deploys.Proto files in this repo are generated into two kinds of Java files, one using protoc and other using PBJ a custom java code generation library for Hedera. To support PBJ all proto files need to have an option of the form:
// <<<pbj.java_package = "com.hedera.hapi.node.token">>> This comment is special code for setting PBJ Compiler java package
To specify the Java package for PBJ generated model objects. This option is ignored by protoc. PBJ ignores the default
option option java_package = "com.hederahashgraph.api.proto.java";
which is used by protoc to generate Java files.
FAQs
Protobufs for the Hedera™ Hashgraph SDK
The npm package @hashgraph/proto receives a total of 20,708 weekly downloads. As such, @hashgraph/proto popularity was classified as popular.
We found that @hashgraph/proto demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 15 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.