Skip to content

1420 sec audit fixes#26

Merged
cedelavergne-ledger merged 22 commits into
LedgerHQ:developfrom
dbaranov-hoodies:1420-sec-audit-fixes
Jul 8, 2026
Merged

1420 sec audit fixes#26
cedelavergne-ledger merged 22 commits into
LedgerHQ:developfrom
dbaranov-hoodies:1420-sec-audit-fixes

Conversation

@dbaranov-hoodies

@dbaranov-hoodies dbaranov-hoodies commented Jul 1, 2026

Copy link
Copy Markdown

Checklist

  • App update process has been followed
  • Target branch is develop
  • Application version has been bumped

Remediates all 10 findings from the Ledger Donjon security audit (BA001038) — memory-corruption bugs (OOB read/write, integer over/underflow) in the operation parser and the blind-sign setting bypass on parse errors — and fixes the design-guideline glyph violations blocking store submission.

Security fixes span operation_parser.c, num_parser.c, formatting.h, and sign.c: bounds/overflow guards on FA2, SDP, decimal and amount formatting; correct rewind on parser fallback; and gating blind-sign on its setting so a malformed transaction can no longer bypass it.

Icon compliance: nano nav arrows resized to 14×14 (with the matching bagl_element fix so they render correctly), and a dedicated 48×48 Apex logo (C_TZ_APP_ICON) since Apex caps glyphs at 48; Stax/Flex keep 64×64.

Tests: blind-sign / parsing-error tests updated to enable blind-signing (they previously relied on the F-09 bug), a new regression test for the disabled-setting reject path, and regenerated Nano/Apex snapshots.

Comment thread app/glyphs/icon_go_forbid.gif Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Comment thread app/src/parser/operation_parser.c

@bboilot-ledger bboilot-ledger left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixes LGTM!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@cedelavergne-ledger
cedelavergne-ledger merged commit 32a93a1 into LedgerHQ:develop Jul 8, 2026
257 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants