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

chore: updates react-native-ldk #1982

Merged
merged 1 commit into from
Jun 12, 2024
Merged

chore: updates react-native-ldk #1982

merged 1 commit into from
Jun 12, 2024

Conversation

Jasonvdb
Copy link
Collaborator

Description

Updates react-native-ldk to include restart fixes for iOS synonymdev/react-native-ldk#249

Linked Issues/Tasks

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactoring (improving code without creating new functionality)

Tests

  • Detox test
  • Unit test
  • No test

Screenshot / Video

Insert relevant screenshot / recording

QA Notes

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce during the Bitkit testing session. You can also leave a video of the PR in action.

@Jasonvdb Jasonvdb requested a review from pwltr June 12, 2024 13:33
Copy link

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@synonymdev/react-native-ldk@0.0.144 None 0 0 B
npm/@types/scheduler@0.16.3 None 0 8.36 kB types
npm/async@3.2.5 None 0 808 kB aearly
npm/bn.js@5.2.1 None 0 99 kB fanatid
npm/brorand@1.1.0 None 0 3.52 kB indutny
npm/commander@9.5.0 environment, filesystem, shell 0 173 kB abetomo
npm/cookie@0.5.0 None 0 23.1 kB dougwilson
npm/decode-uri-component@0.2.2 None 0 6.09 kB samverschueren
npm/entities@4.5.0 None 0 413 kB feedic
npm/event-target-shim@5.0.1 None 0 189 kB mysticatea
npm/has-bigints@1.0.2 None 0 12.8 kB ljharb
npm/is-docker@2.2.1 filesystem 0 3.01 kB sindresorhus
npm/istanbul-lib-coverage@3.2.0 None 0 29.3 kB oss-bot
npm/minimalistic-assert@1.0.1 None 0 1.55 kB cwmma
npm/neo-async@2.6.2 None 0 298 kB suguru03
npm/which@1.3.1 environment Transitive: filesystem +1 20.4 kB isaacs
npm/ws@7.5.9 network 0 122 kB lpinca

🚮 Removed packages: npm/@jest/schemas@29.6.3, npm/@jest/types@29.6.3, npm/@nodelib/fs.walk@1.2.8, npm/@synonymdev/react-native-ldk@0.0.143, npm/@types/babel__traverse@7.20.0, npm/@typescript-eslint/utils@5.62.0, npm/b4a@1.6.3, npm/bs58check@3.0.1, npm/create-hash@1.2.0, npm/create-hmac@1.1.7, npm/cross-fetch@3.1.8, npm/eslint-scope@5.1.1, npm/fetch-blob@3.2.0, npm/follow-redirects@1.15.2, npm/hoist-non-react-statics@3.3.2, npm/is-glob@4.0.3, npm/jest-util@29.7.0, npm/loose-envify@1.4.0, npm/metro-config@0.80.7, npm/metro-runtime@0.80.7, npm/pirates@4.0.5, npm/pretty-format@29.5.0, npm/prop-types@15.8.1, npm/sodium-universal@4.0.0, npm/type-check@0.4.0, npm/typeforce@1.18.0, npm/wif@2.0.6

View full report↗︎

Copy link

🚨 Potential security issues detected. Learn more about Socket for GitHub ↗︎

To accept the risk, merge this PR and you will not be notified again.

Alert Package Note
Install scripts npm/tiny-secp256k1@1.1.6
  • Install script: install
  • Source: npm run build || echo "secp256k1 bindings compilation fail. Pure JS implementation will be used."

View full report↗︎

Next steps

What is an install script?

Install scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.

Packages should not be running non-essential scripts during install and there are often solutions to problems people solve with install scripts that can be run at publish time instead.

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

  • @SocketSecurity ignore npm/tiny-secp256k1@1.1.6

@Jasonvdb Jasonvdb merged commit 3e606f2 into master Jun 12, 2024
5 of 6 checks passed
@Jasonvdb Jasonvdb deleted the rn-ldk-update branch June 12, 2024 14:32
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