AI-generated analysisPublished automatically and not human-verified. Validated context appears in community notes below.
← Watch feed
Informational 15 Monero

CW-1734: Show a scam warning while the user is on a call (#3842)

Public commit record

What the developer wrote

Authored by Omar Hatem

81/100 · Strong
CW-1734: Show a scam warning while the user is on a call (#3842)

* CW-1734: Show a scam warning while the user is on a call

- Detect phone and VoIP calls natively: CallKit CXCallObserver on iOS,
AudioManager mode on Android, through is_on_phone_call on native_utils
and a new phone_call_status event channel
- Add the cw_core wrapper phone_call_native.dart (false on desktop or error)
- Add CallScamBanner: checks on open and resume, follows live changes, shows
the banner above the wrapped page and gives the page no top padding
- Add CallScamWarningSheet with the official support contacts
- Show the banner on the Home tab, the seed page and Show seed/keys
- Add the design's three icons and 8 strings in all 31 locales

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* CW-1734: Show the call warning on every screen

- Wrap the navigator once in MaterialApp.builder instead of the Home tab, seed page and keys page
- Open the warning sheet through the app navigator key
- Wrap the navigator in a semantics container during a call so screen readers reach the banner
- Move Android call detection into PhoneCallStatusStreamHandler; leave the unused Monero.com MainActivity alone
- Reuse the existing info icon and make the new SVGs white; colors are applied in code
- Read theme and strings inline, as in the rest of lib/new-ui

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
✓ Specific, descriptive subject✓ Names a concrete action or component✓ Provides detailed explanatory context✓ Links an issue, advisory, or supporting reference
The short version

What changed, and why it matters

This commit adds a new safety feature to the Cake Wallet app that shows a warning banner when the user is on a phone or VoIP call. The goal is to protect users from phone scams where attackers pretend to be Cake Wallet support. The app now detects active calls on iOS and Android, displays a banner across all screens, and offers a help sheet with official support contacts. There is no security vulnerability in this change.

Recommended action

No action required; this is a user-safety feature. If reviewing further, verify that the Android AudioManager mode detection does not require new runtime permissions and that the iOS CallKit usage is covered by the existing app entitlements/privacy disclosures.

Security signals we found

01

Defensive anti-scam user warning

02

Native call-state detection added

03

No sensitive data handling changes

04

No new permissions requested in diff

05

No cryptographic or network code modified

Risk score

Why this scored 15/100

Our methodology →
Potential impact 0/30
Exploitability 0/25
Stealth signal 0/15
Affected reach 0/15
Confidence 10/10
Evidence quality 5/5
Human-validated context

Community notes

Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.

No validated notes yet.

The AI analysis stands alone for now. Submit a note if you can add evidence or important context.