L1X Consensus smart contract audit

HashlockCode version: not recorded (see the report)

Hashlock reviewed L1X Consensus (L1X Consensus smart contract audit) on 1 Feb 2025: 15 findings, 0 critical; 13 marked fixed, 2 acknowledged.

No open critical findings
Open the reportOpen L1X Consensus’s security record

Report hosted on GitHub.

Trustblock does not review code.

Findings15

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

SeverityOpenAcknowledgedFixed
Critical000
High001
Medium008
Low024
Highadd_and_broadcast_block - Logic function treating zero pending blocks as an error prevents adding the first blockFixed

The report gives no description here.

MediumCassandra vote table mismatch - Schema inconsistency Definition The code reads from the Cassandra vote table expecting 8 columns, but the schema defines only 7.Fixed

The report gives no description here.

MediumQueryNodeStatus - Trusts peer_id in payload instead of actual senderFixed

The report gives no description here.

Mediumread_request - Unbounded read_to_end in request-response can exhaust memory with large inputsFixed

The report gives no description here.

Mediumstaking_manager#stake - Some validators can face DoS when trying to unstake due to the min pool balance conditionFixed

The report gives no description here.

Mediumupdated_state#un_stake - Incorrect checking when handling stake/unstake operationsFixed

The report gives no description here.

Mediumvalidator_manager#select_validators_for_epoch() - Inconsistency when calculating the current epoch parameterFixed

The report gives no description here.

Mediumvote_result#vote_result() - Min votes number is not calculated consistentlyFixed

The report gives no description here.

Mediumvote_result#vote_result() - The current voting mechanism is subjected to a centralization attackFixed

The report gives no description here.

Lowapply_db_dump - Restore code incorrectly treats archive_nodes[0] as an S3 URL Definition The restore function mistakenly assumes archive_nodes[0] is an S3 URL, preventingFixed

The report gives no description here.

Show 3 more
Lownode_private; node_keypair - Unreachable fallback and Dead code path Definition Certain code paths are unreachable, making parts of the system redundant and harder to maintain.Fixed

The report gives no description here.

Lowselected_next - selected_next flag never updates correctly Definition The selected_next flag is never set to true, causing is_selected_next to always return false.Fixed

The report gives no description here.

Lowvalidator_manager- Validators are not discarded if they have less than the minimum balance deviating from the specFixed

The report gives no description here.

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.

Part of L1X Consensus’s security record

L1X Consensus
Audits2 audits by 1 firmLast audit Feb 2025, by Hashlock.
Critical findingsNo open critical findingsAcross 2 reports.
Open L1X Consensus’s security record

Security firm

Hashlock

198 projects reviewed · 279 reports · latest Jul 2026

See Hashlock’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