this post was submitted on 21 Nov 2026
615 points (89.3% liked)

Privacy

11301 readers
173 users here now

A community for Lemmy users interested in privacy

Rules:

  1. Be civil
  2. No spam posting
  3. Keep posts on-topic
  4. No trolling

founded 3 years ago
MODERATORS
 

No answer yet from what I’ve seen. Possibly Mess up from an unreviewed vibe coded mess. Or worse yet , intentional.

you are viewing a single comment's thread
view the rest of the comments
[–] assaultpotato@sh.itjust.works 280 points 5 days ago* (last edited 5 days ago) (8 children)

https://developers.google.com/ml-kit

ML Kit’s processing happens on-device. This makes it fast and unlocks real-time use cases like processing of camera input. It also works while offline and can be used for processing images and text that need to remain on the device.

https://developers.google.com/ml-kit/vision/doc-scanner

The entire document scanner flow operates on-device.

It's on-device scanning and OCR and stuff. I fail to see how this is a privacy concern? Your documents aren't leaving your device and they're not being uploaded to Google servers. This really seems like a false moral outrage imo. Y'all really wanna hate Proton because the CEO is a dickbag but c'mon man, this doesn't scream vibe coded, low quality, or insecure/non-private to me. I'm guessing this is just to allow you to upload documents to Proton using your phone as a scanner.

[–] BrilliantBadger@piefed.ca 115 points 5 days ago (1 children)

Concerning

https://www.privacyaffairs.com/proton-drive-google-ml-kit/

ML Kit isn’t silent, though. Google’s data disclosure for ML Kit lists what its Android libraries collect for diagnostics and usage analytics:

Device: maker, model, OS version and available ML hardware.

App: package name and version.

Identifiers: a device identifier for features delivered through Play services, like this scanner, plus per-installation identifiers.

Usage: performance figures, settings, input and output sizes, events such as start-ups, model downloads and detections, and error codes.

[–] assaultpotato@sh.itjust.works 35 points 5 days ago* (last edited 5 days ago) (1 children)

Kudos for actually looking into this at all and not just having feelings on the subject.

Having said that, that usage data is not sold or made available for non-development purposes: https://developers.google.com/ml-kit/android-data-disclosure

Overview of data encryption and data sharing for ML Kit Android SDKs:

Data encryption For the collected data listed on this page, ML Kit encrypts the data in transit using HTTPS.
Data sharing For the collected data listed on this page, ML Kit does not transfer this data to third-parties.

I also haven't proven this out, but I think the devs should be able to block that behavior in the apps manifest and prevent the telemetry uploader from running.

[–] MonkderVierte@lemmy.zip 42 points 5 days ago* (last edited 5 days ago)

Having said that, that usage data is not sold or made available for non-development purposes:

Not yet. The usual pattern of Google is to ship something good for free and once it has a sufficient spread, extract the shit out of it, Human Rights be damned.

[–] Cris_Citrus@piefed.zip 99 points 5 days ago* (last edited 5 days ago) (1 children)

Thank you for the additional context!

Proton has issues as a company but it feels like 50% of the negative headlines or coverage they get ends up not being an accurate representation.

The other 50% sucks tho, which is a bummer

[–] badgermurphy@lemmy.world 24 points 5 days ago* (last edited 5 days ago)

It really is. A spotty record like this is simply not good enough for a company putting forth privacy and security as its chief features and product differentiators. You're either all in on those things or you're not.

[–] 64bithero@lemmy.world 36 points 5 days ago (2 children)

Is there a guarantee ML kit stays on device or we just taking Googles word for it ?

[–] EdyBolos@lemmy.world 35 points 5 days ago (1 children)

It would be pretty easy to demonstrate the opposite, a security researcher could do it in a jiffy, so it wouldn't make sense for Google to lie about it.

[–] MalReynolds@piefed.social 19 points 5 days ago* (last edited 5 days ago)

Yes, but also no, never know what G will do next, once you include their libraries terms can change on a whim.

ETA: Apparently terms already permit exfiltration of identifiers and 'performance figures, settings, input and output sizes, events such as start-ups, model downloads and detections, and error codes.' (thanks BrilliantBadger) So simple detection won't work.

[–] Clambake0351@piefed.zip 19 points 5 days ago (1 children)

You can sniff packets heading out of the device if you're so invested. Proton should frankly be the ones testing and making that statement clear, but you can too.

[–] AwesomeLowlander@cozyver.se 6 points 5 days ago (1 children)

MLK phones home, so it's more a matter of taking Google's word that they're not sending your data back.

[–] Clambake0351@piefed.zip 7 points 5 days ago (1 children)

A phone home ping looks very different from uploading scanned files, even if the messages are encrypted.

[–] AwesomeLowlander@cozyver.se 6 points 5 days ago

It's literally OCR, how can you tell they're not sending the text?

[–] rumba@lemmy.zip 22 points 5 days ago (1 children)

Illuminating, thanks for the info.

But do consider. From a security standpoint, do you want your security software company running a bunch of local ML on your phone? Even if it were being run by a stand-up, security-first guy who didn't tell them to fuck all delays/testing and charge ahead, do you want them to put a bunch of data processing on your device? Do you want them all over your text and images, even locally, making an index that can be exfiltrated?

Even if you completely remove the company's previous actions, I don't want that included in my VPN / Password / Document Storage app. I don't really even want that on my phone, even if it's provided by the Operating System.

They use ML to read and summarize data, it's inches away from selling telemetry info about you.

[–] 4am@lemmy.zip 2 points 5 days ago (1 children)

Same guy gets mad when search doesn’t find what he’s looking for

[–] rumba@lemmy.zip 1 points 4 days ago

Tell me what you're on about? Do you smell toast?

[–] cqgbp@lemmy.world 12 points 5 days ago (1 children)

It's not against proton.. But can you trust anything that is "on device" from G?

Go offline, scan, encrypt, zip with password, purge the original file somehow then go online.. Even then you can't be sure there ia not some thumbnail, copy, screenshot being made and send to G

[–] assaultpotato@sh.itjust.works 12 points 5 days ago (2 children)

It's trivially easy to prove it works offline, and it would be also very easy to sniff traffic on device or MITM yourself to verify traffic isn't flowing to Google.

As a closed-source package it's not possible to inspect the source but it would be very easy to catch them in the act, even with it as a black box.

[–] AwesomeLowlander@cozyver.se 5 points 5 days ago (1 children)

MLK phones home, so it's more a matter of taking Google's word that they're not sending your data back.

[–] assaultpotato@sh.itjust.works 1 points 5 days ago (1 children)

Not really, you can tcpdump it or MITM yourself and read the data that's being sent.

The app devs can also block the telemetry uploaded from running, which should be inspectacle from apps manifest.

[–] AwesomeLowlander@cozyver.se 1 points 5 days ago (1 children)

Not an expert, but can you if it's encrypted?

The app devs can also block the telemetry uploaded from running

Yeah but are they? Especially considering the recent turns proton has taken.

[–] assaultpotato@sh.itjust.works 4 points 5 days ago (1 children)

Yeah you have to get the TLS cert so it's annoying but you can definitely decrypt HTTPS traffic via tcpdump. It might be extra annoying over Android but it's definitely possible somehow.

Worst case you fake the cert and MITM your device and sniff as you pass it upstream. It's a lot of work but...

[–] AwesomeLowlander@cozyver.se 2 points 5 days ago (2 children)

I don't get it. The whole point of encryption is that only the recipient can decrypt it, regardless of what role you play in the middle. Unless you're reading it before the encryption happens.

Not saying it's bullshit, just not jiving with my very basic understanding of this.

[–] assaultpotato@sh.itjust.works 2 points 5 days ago* (last edited 5 days ago)

For MITM attacks you need to own the network you're on and then you have the client connect to you with a cert the client will trust (by adding to the client's trusted cert bundles or or or) and then sniff as you proxy upstream to the real intended host.

This is why people say not to trust random WiFi networks.

[–] assaultpotato@sh.itjust.works 2 points 5 days ago (1 children)

For option 1, since you are the device, you just need to use the TLS certificate from the session, which you can capture otherwise. This is just the first source I could find: https://support.atlassian.com/atlassian-knowledge-base/kb/how-to-capture-http-traffic-using-wireshark-fiddler-or-tcpdump/

Decrypt with SSLKEYLOGFILE

Wireshark has the ability to use SSLKEYLOGFILE to decrypt https traffic. This file is a feature provided by the web browser. When a Web Browser is configured to create and use this file all of the encryption keys created for that session are logged. This allows Wireshark to decrypt the traffic. If you supply SSLKEYLOGFILE and a pcap file that were taken at the same time, wireshark will show you all of the web traffic.

[–] AwesomeLowlander@cozyver.se 1 points 5 days ago

I see, thanks. Til

[–] Anafabula@discuss.tchncs.de 10 points 5 days ago

Apparently they are improving the on device search, so I assume it's for OCRing attachments for content search

[–] voidsignal@lemmy.world 9 points 5 days ago

Any code from google is either a problem or a future problem. And before you say "what about x?" my answer will be "nope".