Skip to content

Fix security-review findings on #692 (Petri block signing) - #1043

Draft
hackobi wants to merge 4 commits into
petrifrom
claude/fix-node-pr692
Draft

hackobi wants to merge 4 commits into
petrifrom
claude/fix-node-pr692

Describe Petri block signing as verify-then-sign in the docs

db4472b
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Oct 12, 2026 in 1m 32s

Annotations

Check failure on line 9 in src/libs/consensus/v2/routines/broadcastBlockHash.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 22 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_node&issues=AaEx26hJiS5bZ3Lbknjp&open=AaEx26hJiS5bZ3Lbknjp&pullRequest=1043

Check failure on line 14 in src/libs/consensus/v2/routines/manageProposeBlockHash.ts

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 21 to the 15 allowed.

See more on https://sonarcloud.io/project/issues?id=kynesyslabs_node&issues=AaEx26eKiS5bZ3Lbknjo&open=AaEx26eKiS5bZ3Lbknjo&pullRequest=1043