5 ms·
Of course Google isn't going to look at the code. Most Google App Store apps are not open source, so why would that be a workflow at all? You have to evaluate
by kazinator 4y ago
Of course Google isn't going to look at the code. Most Google App Store apps are not open source, so why would that be a workflow at all?
You have to evaluate those same deliverables that are downloaded to the user.
To be able to infer properties of the build application from the source code review, it has to be shown that the two correspond; the shipped, built version comes from the code that was reviewed.
Poring over someone's source code is a fool's errand. You will never catch everything; people find 25 year old bugs in code that have evaded all previous pairs of eyes.
Google's approach here is poor though; they created these API's and permission model and now have to backpedal on it randomly.
If you want untrusted applications to have access to Contacts, it should be done with abstract tokens that do not reveal any contact details. Each contact is represented by an object handle that provides every imaginable operation you might want to do to, with or by-means-of a contact.
It's possible to design a system whereby some contact properties (e.g. mobilePhoneNumber) are accessible, but the result of the access is an abstract object that doesn't actually reveal the content, only represents its existence. The user interface could be priviled so that, say, a text field widget can be given one of these opaque objects, and then display the actual phone number. The only way to get at it would be to have permission to take a screenshot, and then OCR it.
- deleted 4y ago[deleted]
- jeremyjh 4y agoIt’s a VOIP phone - it has to actually have the number.
- 6510 4y agoSorry if this is a dumb question but how does it use the number if it isn't uploaded?
- pjerem 4y agoOf course you need to tell the server the number you want to call. That’s the basis of any VoIP application. But you don’t have to upload every contact neither you have to send any information associated with the number.
- heisenzombie 4y agoThis seems like the crux of things. Yes, contact information is sent from your phone to the internet. Therefore they need that flag for their app. Seems things are working as intended? The app is still free to tell the user a more nuanced privacy story if they want, right?
- benced 4y agoIt was always funny to me reading those stories that Microsoft shares the source of windows with government officials who are worried they have NSA backdoors in a sterile environment: what on earth could you possibly spit from just reading source code? The function won’t be “postToNsa()”
- AlexThrowAway 4y ago>The function won’t be “postToNsa()” How about "_NSAKEY"? In practice Microsoft's thousands of unintentional backdoors would be indistinguishable from a small number of intentionally placed ones. Spy agencies don't even have to bother.
- dougk16 4y agoGoogle does some pretty surprising levels of static analysis of compiled source, particularly surrounding their API usage. There's a few examples I've run into but the first that pops to mind is when they started requiring a yes/no confirmation dialog before allowing a user to access a non-https resource through the WebView. There was no way a human was running into that on the particular app I was working on. We're not talking advanced static analysis but it's not a simple decompile and grep either. In another case I had accidentally left some dead/debug AWS access credentials in a build and they sniffed those out too. Notable since that's not even Google-related. They had to have been looking for a particular AWS library method signature and how it was fed. I would bet on their static analysis getting more advanced, in which case it could also be used to prove that OP is using APIs/permissions in a safe manner. But of course they're not incentivized to do that.
- saagarjha 4y agoGoogle generally would have an incentive to not be up in a negative light on Hacker News if they could avoid it, no?
- dougk16 4y agoGoogle is a vast, schizophrenic organization. They're big enough that they have different teams and internal politics fighting each other all the time. It's not a unified consciousness with consistent incentives. Even if that's a bad take, Google is constantly seen in a negative light on Hacker News. The Google hive-mind doesn't care too much.
- saagarjha 4y agoIncentives not being present and the company being unable to act on those incentives are very different things. Intel is incentivized to beat Apple, AMD chip performance. That they’re failing to deliver right now doesn’t mean the incentives aren’t present or that they don’t care.
- 4y ago
- saagarjha 4y agoHow much time did you put it your “abstract tokens” idea? Was it just something you came up with as you wrote your comment? You’re presenting it as “it’s possible to do this and here’s how” but I’m not really aware of any systems that do this in a practical manner. Out-of-process rendering is definitely a thing it’s not nearly as simple as “just render all sensitive content away from the app and this will solve all problems!”