Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: override the connect kit loader with a sync one #117

Closed
wants to merge 1 commit into from

Conversation

bowd
Copy link

@bowd bowd commented Dec 15, 2023

Description

Security fix to altogether remove the exploit path that existed in @ledgerhq/connect-kit-loader.
This replaces the package with a version built from source and published at https://github.com/mento-protocol/ledgerhq-connect-kit-loader-retrofit temporarily until, hopefully ledger merges and releases a retrofitted version to NPM.
Details on the retrofit here: LedgerHQ/connect-kit#42
Basically completely remove the async loading part and just serve the dependency, but keep the interface of the loader in order to be able to replace it like we are doing here.

Other changes

N/A

Tested

Built locally

Related issues

N/A

Checklist before requesting a review

  • I have performed a self-review of my own code
  • I have added tests that prove my fix is effective or that my feature works
  • The PR title follows the conventions
  • I have run the regression tests

Copy link

vercel bot commented Dec 15, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
mento-web ✅ Ready (Inspect) Visit Preview Dec 15, 2023 3:38pm

@bayological bayological closed this Aug 9, 2024
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.

2 participants