[Eco Bounty] ioPay Allows Input of Invalid URLs in Custom Network Edit Screen and Confirm Button Remains Enabled

Wallet Address Reporter: io1tkw393kejmxwnd454twc6020sxcyvh5dxqmren

App Version: ioPay v5.3.1 (3973)

Device: Redmi Note 10 Pro (Android 13)

Summary:
The "Edit Custom Network" screen does not validate optional URL fields ("Block Explorer URL" and "RPC URL"). Users can input invalid/malformed URLs (e.g., plain text like "invalid" or malformed schemes), and the Confirm button stays enabled and tappable. This allows saving broken or potentially malicious network configs, risking app crashes, failed transactions, or security issues.

Steps to Reproduce:

  1. Open ioPay app.

  2. Go to Profile/Settings > Custom Networks.

  3. Tap + (Add) or edit an existing network (e.g., "THEO" as shown).

  4. Fill fields with invalid data:

    FieldInvalid Input Example

    Network Name

    THEO

    Symbol

    THEO

    Block Explorer URL

    invalid or not-a-url

    RPC URL

    invalid://test or blank

    Chain ID

    785 (valid)

  5. Note the Confirm button is enabled (highlighted/orange).

  6. Tap Confirm β€” network saves successfully despite invalid URLs.

Expected Behavior:

  • Real-time URL validation on "Block Explorer URL" and "RPC URL" fields (if filled): must match valid format (e.g., https://domain.com/path, proper scheme like http:///https://, no invalid chars).

  • Disable Confirm button (gray out) until all fields are valid.

  • Show inline error messages (e.g., red text: "Enter a valid URL starting with http:// or https://").

  • Align with app's disclaimer: "ioPay cannot verify the security of RPC URLs" β€” enforce safer defaults.

Actual Behavior:

  • No validation whatsoever on optional URL fields.

  • Confirm button remains fully enabled and functional.

  • Invalid networks save and appear in the list, potentially causing:

    • Connection failures.

    • Exposure to malicious RPCs (e.g., if user pastes phishing URL).

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

New Issue

Date

1 day ago

Author

cryptotestnet

Subscribe to post

Get notified by email when there are changes.