Teku

QuantstampRepository at commit 1069ade

Quantstamp reviewed Teku on 29 Sep 2020: 29 findings, 0 critical; 20 marked fixed, 8 acknowledged, 1 open.

No open critical findings
Open the reportOpen Teku’s security record

Report hosted on certificate.quantstamp.com.

Trustblock does not review code.

Findings29

Statuses are the security firm’s own, from its report.

SeverityOpenAcknowledgedFixed
Critical000
High001
Medium125
Low0614
MediumCritical Component Dependent on Unaudited External LibraryAcknowledged

The `bls` module has two implementations of BLS. One of them is based on the unaudited `blst` library: supranational/blst: BLS12-381 signature library (https://github.com/supranational/blst). This might introduce additional attack vectors.

MediumOpen Admin EndpointAcknowledged

This is an admin endpoint, but it does not seem to be authenticated in any way. As it stands, it appears that an unauthorized party would be able to change the logging configuration for the application. While changing the logging level does not seem to expose any sensitive information, it is an undesirable action that should be reserved only to authorized admins.

LowBeta ImportsAcknowledged

In `BeaconRestApi`, `import 'com.google.common.io.Resources'` is marked unstable with `@Beta`.

LowMulticast DNS is a clone from JMDNSAcknowledged

Class: io.libp2p.discovery.mdns.* The minimal multicast DNS implementation is a clone of certain parts of the JMDNS library (see [https://github.com/jmdns/jmdns](https://github.com/jmdns/jmdns)), without any reference to what commit head was used. As a negative side-effect, any updates or vulnerability fixes in the upstream repository must be manually tracked, pulled, and merged by Teku developers, which if not done regularly, could lead to bugs or security issues being left unfixed.

LowNo Call Rate LimitingAcknowledged

There is no rate limiting on the API/RPC calls. While this may be intentional, excessive calls may result in poor or denied service.

LowNon-Deterministic Filter Leads to Non-Deterministic BehaviourAcknowledged

On line 25 and 26, `Remote_fault` and `Remote_unresponsive` share the same `enum` number. Therefore, `fromReasonCode` will have `.filter` provide a stream of `REMOTE_FAULT` and `UNRESPONSIVE`, and `findAny` will non-deterministically provide out `REMOTE_FAULT` or `UNRESPONSIVE `for code `3`.

LowPossible Loss of PrecisionAcknowledged

In lines 169 and 170 the function `getDepositsWithProof()` casts `long`s to `int`s. For a number of deposits large enough this may result in a loss of precision.

LowUsers Behind a NAT Must Configure Their Inbound Traffic SetupAcknowledged

According to the Eth2 p2p spec: “Nodes operating behind a NAT, or otherwise undialable by default (e.g. container runtime, firewall, etc.), MUST have their infrastructure configured to enable inbound traffic on the announced public listening endpoint” This issue is not supposed to be handled by the existing code, but rather by instructing node operators on how to configure their deployment. In the given repository, we did not find any information related to the given matter. If users are unaware of this issue, the node will not receive any inbound traffic on its announced public endpoint.

Contracts in scope

No deployed address is recorded for this audit.

The report names a repository or files. Open the report to see its scope.

Repository and files the report names (4)

  • https://github.com/Consensys/signers/signing/secp256k1/impl/src/main/java/tech/pegasys/signers/secp256k1/azure/AzureKeyVaultSigner.java at commit 1069adefa4e1c93e7a486810cbd0dba67214745b
  • https://github.com/Consensys/discovery/src/main/java/org/ethereum/beacon/discovery/message/handler/ExternalAddressSelector.java at commit 840e90bea80699790eb750839be7402fe8b598b0
  • https://github.com/libp2p/jvm-libp2p/README.md at commit 3fd9dd92659fdfa0cb5d8be4aaa051c25a34785d
  • https://github.com/Consensys/teku/gradle.properties at commit a3f6ed9aa646a43bc04d43b22cf98ed24e5dde71

Part of Teku’s security record

Teku
Audits1 audit by 1 firmLast audit Sep 2020, by Quantstamp.
Critical findingsNo open critical findingsIn 1 report.
Open Teku’s security record

Security firm

Quantstamp

236 projects reviewed · 332 reports · latest Oct 2026

See Quantstamp’s audits

Something wrong on this page? A missing report, a wrong date, a finding that was fixed since. Tell us and we check it against its source.

Tell us