Skip to content

Security review 1.21.0#947

Closed
bboilot-ledger wants to merge 132 commits into
masterfrom
develop
Closed

Security review 1.21.0#947
bboilot-ledger wants to merge 132 commits into
masterfrom
develop

Conversation

@bboilot-ledger
Copy link
Copy Markdown
Contributor

Description

Please provide a detailed description of what was done in this PR.
(And mentioned if linked to an issue docs)

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Tests
  • Documentation
  • Other (for changes that might not fit in any category)

Breaking changes

Please complete this section if any breaking changes have been made, otherwise delete it.

Additional comments

Please post additional comments in this section if you have them, otherwise delete it.

apaillier-ledger and others added 30 commits December 10, 2025 15:32
Ignored during GCS, was causing a SIGSEGV.
…s_setting

Fixed debug contracts setting impacting GCS flows
Required to fully display 48-byte public keys
* Update linter cfg

* Fix linter

* Add gating support to python client

* Refactor EIP712 return error codes

* Add gating support

* Adapt UI to Gated Signing

* Adapt ragger tests

* Add new snapshots

* Replace all Blind Signind screens by the Gated version

* Align snapshots to new Blind Signing wording
* Cleanup sources

- Remove useless header file
- Fix bit-field init
- Fix parameters casting

* Migrate to Generic Fuzzer
apaillier-ledger and others added 17 commits February 6, 2026 11:23
- Add support for 'CHAIN_ID container path'
- Add support for 'NETWORK formatter'
- Add support for 'VISIBILE & CONSTRAINTS'
- CHAIN_ID container path
- NETWORK formatter
- VISIBILE & CONSTRAINTS
- Add workflow
- Remove unused demo
- Add coverage script
- Add Unit Tests for NETWORK formatter
- Add Unit Tests for PARAM_TRUSTED_NAME
- Add Unit Tests for PARAM_RAW
- Add Unit Tests for CONSTRAINTS
@ledger-wiz-cspm-secret-detection
Copy link
Copy Markdown

ledger-wiz-cspm-secret-detection Bot commented Feb 10, 2026

Wiz Scan Summary

Scanner Findings
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations 1 High 1 Medium 1 Info
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total 1 High 1 Medium 1 Info

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 51.83246% with 184 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (master@8279286). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/list.c 7.97% 127 Missing ⚠️
src/features/generic_tx_parser/gtp_param_network.c 50.00% 22 Missing ⚠️
src/features/generic_tx_parser/gtp_field.c 64.81% 19 Missing ⚠️
src/features/generic_tx_parser/gtp_value.c 9.09% 10 Missing ⚠️
src/features/generic_tx_parser/gtp_param_raw.c 96.42% 3 Missing ⚠️
...eatures/generic_tx_parser/gtp_param_trusted_name.c 94.11% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #947   +/-   ##
=========================================
  Coverage          ?   51.60%           
=========================================
  Files             ?       17           
  Lines             ?     1771           
  Branches          ?      232           
=========================================
  Hits              ?      914           
  Misses            ?      856           
  Partials          ?        1           
Flag Coverage Δ
unittests 51.60% <51.83%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bboilot-ledger bboilot-ledger changed the title Security review 1.20.1 Security review 1.21.0 Feb 10, 2026
Comment thread tests/unit/mocks/field_validation_mocks.c
Comment thread src/plugins/erc20/erc20_plugin.c Outdated
Comment thread src/plugins/eip7251/eip7251_plugin.c Outdated
Comment thread src/plugins/eip7251/eip7251_plugin.c
Comment thread src/plugins/eip7002/eip7002_plugin.c Outdated
} eth2_deposit_parameters_t;

void eth2_plugin_call(int message, void *parameters) {
void eth2_plugin_call(eth_plugin_msg_t message, void *parameters) {
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

msg->parameter must be checked based on parameterOffset and parameter_size

void swap_with_calldata_plugin_call(int message, void *parameters) {
void swap_with_calldata_plugin_call(eth_plugin_msg_t message, void *parameters) {
switch (message) {
case ETH_PLUGIN_INIT_CONTRACT:
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

msg->parameter must be checked based on parameterOffset and parameter_size

Comment thread src/features/generic_tx_parser/gtp_param_trusted_name.c
Comment thread src/features/generic_tx_parser/gtp_param_raw.c
Comment thread src/features/generic_tx_parser/gtp_param_calldata.c Outdated
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.

4 participants