metamask-mobile icon indicating copy to clipboard operation
metamask-mobile copied to clipboard

test: add Stellar wallet E2E smoke tests

Open adaOctopus opened this issue 5 months ago • 7 comments

Description

Adds Stellar wallet-standard Detox smoke tests and the minimal app wiring required for them to run in CI, aligned with the extension Stellar E2E approach.

Why: Mobile had no Stellar E2E coverage or snap/multichain plumbing to connect @metamask/test-dapp-stellar and exercise connect, signing, and Soroban auth-entry flows.

What changed (28 files — 16 modified, 12 new):

  • Preinstall @metamask-previews/stellar-wallet-snap and register the XLM multichain account provider (preview @metamask/multichain-account-service)
  • Add StellarWalletSnapClient, stellarAccounts feature flag, and Stellar network/fixture enablement
  • Wire @metamask/test-dapp-stellar and add 4 smoke specs: connect, sign message, sign transaction, sign auth entry

Known CI follow-ups: signedMessageStandard may need calibration after first green sign-message run; sign-transaction example XDR may need a funded testnet account.

Changelog

CHANGELOG entry: null

Related issues

Refs: Stellar wallet-standard E2E (extension e2e-stellar parity)

Manual testing steps

Not run locally — deferred to CI.

Feature: Stellar wallet-standard E2E

  Scenario: user connects the Stellar test dapp
    Given the E2E fixture with Stellar networks enabled
    And a Stellar account is created via multichain Add account

    When the user opens the Stellar test dapp and connects through MetaMask
    Then the dapp shows a connected Stellar address

  Scenario: user signs a Soroban auth entry
    Given the user is connected to the Stellar test dapp

    When the user submits an auth-entry XDR and approves in MetaMask
    Then the dapp displays a signed auth entry

Screenshots/Recordings

N/A — no end-user UI changes in this PR. E2E validation is via Detox in CI.

Before

N/A

After

N/A

Pre-merge author checklist

  • [ ] I've followed MetaMask Contributor Docs and MetaMask Mobile Coding Standards
  • [ ] I've completed the PR template to the best of my ability
  • [ ] I've included tests if applicable
  • [ ] I've documented my code using JSDoc format if applicable
  • [ ] I've applied the right labels on the PR. Not required for external contributors

Performance checks (if applicable)

  • [ ] I've tested on Android
  • [ ] I've tested with a power user scenario
  • [ ] I've instrumented key operations with Sentry traces for production performance metrics

Pre-merge reviewer checklist

  • [ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed)
  • [ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots

[!NOTE] Medium Risk Touches multichain account service, preinstalled snaps, and keyring snap allowlisting—important wallet paths—but changes are code-fenced to E2E/stellar builds and gated by remote flags rather than enabling Stellar in all production bundles.

Overview Adds Stellar wallet-standard Detox smoke coverage and the minimum app plumbing so @metamask/test-dapp-stellar can run in E2E builds, following the same multichain-snap pattern as Solana/Bitcoin/Tron.

Snap & accounts: Preinstalls @metamask-previews/stellar-wallet-snap, whitelists it, adds StellarWalletSnapSender, and registers XlmAccountProvider on MultichainAccountService (pubnet/testnet, snap-only accounts, no discovery). WalletClientType.Stellar, account naming/i18n, and STELLAR_DISCOVERY_PENDING storage are included behind ONLY_INCLUDE_IF(stellar).

Gating: Introduces stellarAccounts remote flag (isStellarAccountsFeatureEnabled + selectIsStellarAccountsEnabled) and registry defaults; fixtures enable Stellar networks and the flag for tests.

Builds: Adds stellar to metro code fencing and E2E-only code_fencing_main_e2e / code_fencing_flask_e2e so Stellar ships in main-e2e/sim builds but not standard production fencing.

Tests: New flows/page objects/helpers and four smoke specs (connect/disconnect, persistence, network switch, sign message, sign transaction, sign auth entry) with withStellarAccountSnap creating an account via Add account before each run.

Reviewed by Cursor Bugbot for commit 5f93f47635c7ee2ac901b8eae4f1b9271da6271f. Bugbot is set up for automated code reviews on this repo. Configure here.

adaOctopus avatar Jun 18 '26 11:06 adaOctopus

CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.

github-actions[bot] avatar Jun 18 '26 11:06 github-actions[bot]

PR template — items to address before "Ready for review"

Warnings — informational, address before merging:

  • Pre-merge author checklist has unchecked items (e.g. "I've followed MetaMask Contributor Docs and MetaMask Mobile Coding Standards"). Every box must be consciously checked — see docs/readme/ready-for-review.md.

See docs/readme/ready-for-review.md for the full Definition of Ready for Review.

metamask-ci avatar Jun 18 '26 11:06 metamask-ci

I have read the CLA Document and I hereby sign the CLA

adaOctopus avatar Jun 18 '26 11:06 adaOctopus

[!CAUTION] MetaMask internal reviewing guidelines:

  • Do not ignore-all
  • Each alert has instructions on how to review if you don't know what it means. If lost, ask your Security Liaison or the supply-chain group
  • Copy-paste ignore lines for specific packages or a group of one kind with a note on what research you did to deem it safe.
    @SocketSecurity ignore npm/PACKAGE@VERSION
Action Severity Alert  (click "▶" to expand/collapse)
Block High
Obfuscated code: npm @coinbase/cdp-sdk is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@coinbase/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: 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 [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@coinbase/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block High
Obfuscated code: npm @hot-wallet/sdk is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@hot-wallet/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: 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 [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@hot-wallet/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block High
Obfuscated code: npm @solana-program/system is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@solana-program/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: 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 [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@solana-program/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block High
Obfuscated code: npm @walletconnect/sign-client is 90.0% likely obfuscated

Confidence: 0.90

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@walletconnect/[email protected]

ℹ Read more on: This package | This alert | What is obfuscated code?

Next steps: 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 [email protected].

Suggestion: Packages should not obfuscate their code. Consider not using packages with obfuscated code.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@walletconnect/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block High
High CVE: npm axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718)

CVE: GHSA-pjwm-pj3p-43mv axios's shouldBypassProxy does not recognize IPv4-mapped IPv6 addresses, allowing NO_PROXY bypass (incomplete fix for CVE-2025-62718) (HIGH)

Affected versions: >= 1.15.0 < 1.16.0; < 0.32.0

Patched version: 1.16.0

From: ? → npm/[email protected]

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: 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 [email protected].

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block High
High CVE: Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning

CVE: GHSA-gcfj-64vw-6mp9 Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning (HIGH)

Affected versions: >= 0.31.1 < 0.33.0; >= 1.15.2 < 1.18.0

Patched version: 1.18.0

From: ? → npm/[email protected]

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: 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 [email protected].

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block High
High CVE: Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning

CVE: GHSA-gcfj-64vw-6mp9 Axios Node HTTP adapter can use an inherited proxy after interceptor config cloning (HIGH)

Affected versions: >= 0.31.1 < 0.33.0; >= 1.15.2 < 1.18.0

Patched version: 1.18.0

From: ? → npm/[email protected]

ℹ Read more on: This package | This alert | What is a CVE?

Next steps: 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 [email protected].

Suggestion: Remove or replace dependencies that include known high severity CVEs. Consumers can use dependency overrides or npm audit fix --force to remove vulnerable dependencies.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @albedo-link/intent in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@albedo-link/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@albedo-link/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @base-org/account in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@base-org/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@base-org/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @coinbase/cdp-sdk in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@coinbase/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@coinbase/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @coinbase/wallet-sdk in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@coinbase/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@coinbase/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @hot-wallet/sdk in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@hot-wallet/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@hot-wallet/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @near-wallet-selector/core in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@near-wallet-selector/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@near-wallet-selector/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @reown/appkit-pay in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@reown/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@reown/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @reown/appkit-pay in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@reown/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@reown/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @reown/appkit-utils in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@reown/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@reown/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @reown/appkit-utils in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@reown/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@reown/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @safe-global/safe-gateway-typescript-sdk in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@safe-global/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@safe-global/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Potential security risk (AI signal): npm @sinclair/typebox is 78.0% likely risky

Notes: This module is a minimal wrapper around globalThis.Function that enables dynamic code compilation/execution from caller-supplied arguments. If any caller inputs are attacker-controlled (directly or indirectly), it can lead to arbitrary code execution (RCE) in the runtime. The snippet itself shows no explicit malicious behavior (e.g., exfiltration), but the exposed primitive is inherently high-risk and should be treated as a security-sensitive gadget.

Confidence: 0.78

Severity: 0.82

From: ? → npm/@metamask/[email protected] → npm/@sinclair/[email protected]

ℹ Read more on: This package | This alert | What are AI-detected potential security risks?

Next steps: 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 [email protected].

Suggestion: An AI system identified potential security problems in this package. It is advised to review the package thoroughly and assess the potential risks before installation. You may also consider reporting the issue to the package maintainer or seeking alternative solutions with a stronger security posture.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@sinclair/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Potential security risk (AI signal): npm @sinclair/typebox is 78.0% likely risky

Notes: High-risk design: this is a thin wrapper around globalThis.Function, an eval-like primitive. Any path that allows untrusted data to reach Evaluate(...args) can result in arbitrary code execution. The snippet alone does not prove malware intent, but it materially increases exploitability and supply-chain abuse potential depending on how other package code uses it.

Confidence: 0.78

Severity: 0.85

From: ? → npm/@metamask/[email protected] → npm/@sinclair/[email protected]

ℹ Read more on: This package | This alert | What are AI-detected potential security risks?

Next steps: 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 [email protected].

Suggestion: An AI system identified potential security problems in this package. It is advised to review the package thoroughly and assess the potential risks before installation. You may also consider reporting the issue to the package maintainer or seeking alternative solutions with a stronger security posture.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@sinclair/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @stellar/stellar-sdk in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@stellar/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@stellar/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm @stellar/stellar-sdk in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/@stellar/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@stellar/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Potential security risk (AI signal): npm es-toolkit is 65.0% likely risky

Notes: There is a meaningful security risk due to dynamic code execution via the template's evaluate blocks and the use of a with(...) scope, which can lead to arbitrary code execution if the template content is controllable by an attacker. The incomplete 'sourceURL' line and garbled escape map strongly suggest code integrity issues that could reflect either corruption or obfuscation. If this fragment were part of a published package, it would be a high-priority candidate for removal or patching until syntax and security concerns are resolved.

Confidence: 0.65

Severity: 0.75

From: ? → npm/@walletconnect/[email protected] → npm/[email protected]

ℹ Read more on: This package | This alert | What are AI-detected potential security risks?

Next steps: 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 [email protected].

Suggestion: An AI system identified potential security problems in this package. It is advised to review the package thoroughly and assess the potential risks before installation. You may also consider reporting the issue to the package maintainer or seeking alternative solutions with a stronger security posture.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Medium
Network access: npm jose in module globalThis["fetch"]

Module: globalThis["fetch"]

Location: Package overview

From: ? → npm/@metamask/[email protected] → npm/[email protected]

ℹ Read more on: This package | This alert | What is network access?

Next steps: 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 [email protected].

Suggestion: Packages should remove all network access that is functionally unnecessary. Consumers should audit network access to ensure legitimate use.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Publisher changed: npm borsh is now published by boatnear instead of volovyk-s

New Author: boatnear

Previous Author: volovyk-s

From: ? → npm/@metamask/[email protected] → npm/[email protected]

ℹ Read more on: This package | This alert | What is new author?

Next steps: 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 [email protected].

Suggestion: Scrutinize new collaborator additions to packages because they now have the ability to publish code into your dependency tree. Packages should avoid frequent or unnecessary additions or changes to publishing rights.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Warn Medium
Install-time scripts: npm @reown/appkit during postinstall

Install script: postinstall

Source: node scripts/appkit-version-check.js

From: ? → npm/@metamask/[email protected] → npm/@reown/[email protected]

ℹ Read more on: This package | This alert | What is an install script?

Next steps: 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 [email protected].

Suggestion: 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.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@reown/[email protected]. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

See 18 more rows in the dashboard

View full report

socket-security[bot] avatar Jun 19 '26 10:06 socket-security[bot]

⚡ Performance Test Results

ℹ️ Performance test results are currently non-blocking and will not block this PR.

⚠️ Results incomplete — No test results found


Branch: e2e-stellar · Build: Normal · Commit: 7e2ee01 · View full run

github-actions[bot] avatar Jun 26 '26 08:06 github-actions[bot]

🔍 Smart E2E Test Selection

  • Selected E2E tags: SmokeAccounts, SmokeConfirmations, SmokeNetworkAbstractions, SmokeNetworkExpansion, SmokeSwap, SmokeStake, SmokeWalletPlatform, SmokeMoney, SmokePerps, SmokeMultiChainAPI, SmokePredictions, SmokeSeedlessOnboarding, SmokeBrowser, SmokeSnaps
  • Selected Performance tags: None (no tests recommended)
  • Risk Level: high
  • AI Confidence: 100%
click to see 🤖 AI reasoning details

E2E Test Selection: Hard rule (test-framework-infra-change): Test framework infrastructure changed: tests/framework/fixtures/FixtureBuilder.ts, tests/framework/fixtures/FixtureHelper.ts, tests/framework/fixtures/json/default-fixture.json. Running all tests.

Performance Test Selection: No performance-sensitive changes are present. The Stellar integration is gated behind code fencing and the new snap/account provider changes don't affect measured performance scenarios (launch, login, onboarding, swaps, asset loading, etc.). The multichain account service changes (batched Solana config, discovery enabled) are initialization-time changes that don't directly map to any of the available performance test scenarios. No performance spec files were changed.

View GitHub Actions results

github-actions[bot] avatar Jul 21 '26 13:07 github-actions[bot]