okTurtles / group-income

A decentralized and private (end-to-end encrypted) financial safety net for you and your friends.
https://groupincome.org
GNU Affero General Public License v3.0
331 stars 44 forks source link

node tries to connect to fcm.googleapis.com #2384

Open taoeffect opened 1 month ago

taoeffect commented 1 month ago

Problem

Screenshot 2024-10-20 at 1 38 35 PM

This should not be happening. It sometimes pops up, seems like it might be related to push notifications.

A search in node_modules reveals:

$ grep -R fcm.googleapis
./web-push/README.md:      "endpoint": "https://fcm.googleapis.com/fcm/send/d61c5u920dw:APA91bEmnw8utjDYCqSRplFMVCzQMg9e5XxpYajvh37mv2QIlISdasBFLbFca9ZZ4Uqcya0ck-SP84YJUEnWsVr3mwYfaDB7vGtsDQuEpfDdcIqOX_wrCRkBW2NDWRZ9qUz9hSgtI3sY", 
./web-push/README.md:    --endpoint=https://fcm.googleapis.com/fcm/send/d61c5u920dw:APA91bEmnw8utjDYCqSRplFMVCzQMg9e5XxpYajvh37mv2QIlISdasBFLbFca9ZZ4Uqcya0ck-SP84YJUEnWsVr3mwYfaDB7vGtsDQuEpfDdcIqOX_wrCRkBW2NDWRZ9qUz9hSgtI3sY \
./web-push/src/web-push-lib.js:    const isFCM = subscription.endpoint.startsWith('https://fcm.googleapis.com/fcm/send');

Solution

Identify what this is, why it is, and stop it. Nothing should be connecting to Google.