News for hackers. Stuff that matters.
Re:End of the Road for Google Drive in Transmit by hn_throwaway_99 on Tuesday October 08, 2024 @03:51PM (#41781137)
I wrote this response to another front page HN article on a similar topic: https://news.ycombinator.com/item?id=41664753

I know everyone loves to dunk on Google, and I definitely agree their communication and customer service to app developers is shite, but this change to permissions scope is a good thing. If you have full, unfettered access to large number of people's Google Drive data, you're a huge target for malevolent actors. If you can't afford the new audit requirements (which I've done and are quite easy - if anything I'm sympathetic to the argument that they're more "box ticking" than valuable security audits), then I'd really question your ability to appropriately safeguard so much critically private data. For reference, these audits are about 1/20th as complicated as a full SOC 2 audit, for example.

FWIW I'm not previously familiar with this Transmit app, but based on their use cases (e.g. backup) it sounds like the limited "drive.file" scope wouldn't work for them. Still, if you want complete, unfettered access to my entire Drive account, I don't think it's a bad thing that Google is enforcing some minimal security standards.

Re:End of the Road for Google Drive in Transmit by SoftTalker on Tuesday October 08, 2024 @03:57PM (#41781206)
> If you can't afford the new audit requirements ... then I'd really question your ability to appropriately safeguard so much critically private data.

Because large companies that can afford it have proven to be exemplars at safeguarding private data?

Re:End of the Road for Google Drive in Transmit by IncreasePosts on Tuesday October 08, 2024 @04:10PM (#41781342)
Like google? Yes, I think so. Probably one of the best track records among big tech, so maybe their security practices should carry more weight?
Re:End of the Road for Google Drive in Transmit by SoftTalker on Tuesday October 08, 2024 @04:16PM (#41781417)
Lets just say this: the US Federal Government, several large health care and health insurance organizations, several large financial institutions, a major university, and several others have all had to send me "We take security seriously" letters. They could all afford to undergo (and had passed) various security audits. But in the real world they failed.
Re:End of the Road for Google Drive in Transmit by kasey_junk on Tuesday October 08, 2024 @04:17PM (#41781423)
They aren’t demanding you meet their practices. They are demanding you meet whatever the approved auditor thinks the practices are.

Certification schemes like that don’t have a good track record.

Re:End of the Road for Google Drive in Transmit by ChadNauseam on Tuesday October 08, 2024 @04:06PM (#41781301)
If you can't afford to buy starbucks every day, I'd really question your ability to buy a private jet. However, that doesn't mean that being able to afford to buy starbucks every day is sufficient to being able to afford to buy a private jet.
Re:End of the Road for Google Drive in Transmit by acdha on Tuesday October 08, 2024 @04:14PM (#41781394)
That seems like a poor argument for an app which doesn’t mirror data or accept commands remotely (if I can control your app on your device, I can control the official Google Drive app) but there is a general point about full drive access. However, I think the answer there is for Google to improve the security model for Drive - for example, allow the user to select a non-root folder which Transmit or iA Writer can use and have some UI indicating that it’s shared. Instead, this process serves as a competitive moat and isn’t very effective – all of the large companies that we’ve seen getting breached are going to pay KPMG to spend time on performative box checking, and your data will still be exfiltrated but they’ll at least say they’re very sorry.
Re:End of the Road for Google Drive in Transmit by joshuamorton on Tuesday October 08, 2024 @04:58PM (#41781749)
> However, I think the answer there is for Google to improve the security model for Drive - for example, allow the user to select a non-root folder which Transmit or iA Writer can use and have some UI indicating that it’s shared.

The oauth scope https://www.googleapis.com/auth/drive.file [0]basically allows this. If memory serves the app can use this scope, create a folder, and have access to things within that folder, it can certainly have access to all files created via the app (which should in general be true for iA and probably also Transmit). Offhand, I don't actually see what iA or Transmit are doing that needs the broader scope, though TotalCommander, trying to be a replacement file manager would still need the biggest scopes.

[0]: See https://developers.google.com/drive/api/guides/api-specific-..., the drive.file scope is non-sensitive so it needs a much more cursory approval process

Re:End of the Road for Google Drive in Transmit by andreyvit on Wednesday October 09, 2024 @04:46AM (#41785790)
Transmit is a file transfer app; it's used to get access to existing files on your own Google Drive without installing Google Drive's native app. Limiting it to a subfolder would defeat what I believe to be the most common use case.
Re:End of the Road for Google Drive in Transmit by acdha on Wednesday October 09, 2024 @06:23AM (#41786263)
It’d depend on what exactly you’re using it for - as an example, if you’re backing something up regularly that’d be fine.

The main thing I was thinking would be beneficial is getting user confirmation at better than the whole drive level. I think Google is trying to prevent cases where a third-party stores tokens on their servers which are breached, and in that kind of scenario it could be useful to push for scoping so e.g. if iA were breached the attacker could get your screenplay draft but not the folder where you backup your password manager or financial data.

Re:End of the Road for Google Drive in Transmit by Ferret7446 on Wednesday October 09, 2024 @06:29AM (#41786293)
How do you know it doesn't mirror data or accept commands remotely, or that it has no vulnerabilities/backdoors which can make it do so? Perhaps you could do an audit of it or something...
Re:End of the Road for Google Drive in Transmit by acdha on Wednesday October 09, 2024 @06:48AM (#41786382)
Are you under the misimpression that KPMG or PwC to fill out a checklist will catch a back door? They’re looking for things like whether your servers have an old OpenSSL library or your code doesn’t escape values in SQL, which is pretty low-hanging fruit even on hosted apps and much less valuable for local apps.
Re:End of the Road for Google Drive in Transmit by ianlevesque on Tuesday October 08, 2024 @03:57PM (#41781216)
I think it's relevant that Transmit is a local native app. There's no hosted app exposed to the internet to hack here. Google made one lengthy process that doesn't fit this use case.
Re:End of the Road for Google Drive in Transmit by mikeocool on Tuesday October 08, 2024 @04:14PM (#41781387)
Panic runs a cloud-hosted sync service that syncs your credentials and connection info between different instances of Transmit you may have.

No idea if that's what google is targeting here, but that is a cloud service, that presumably gets a copy of people's Google Drive OAuth keys if they use Google Drive with Transmit and the sync service.

Re:End of the Road for Google Drive in Transmit by bigfatkitten on Friday October 11, 2024 @08:07PM (#41815178)
That isn't a factor in Google's decision making. An app is an app as far as they're concerned, whether it's a local client or some sort of hosted service.
Re:End of the Road for Google Drive in Transmit by StarterPro on Tuesday October 08, 2024 @04:02PM (#41781258)
If they are connecting to Google Drive, is that not connected to the internet?
Re:End of the Road for Google Drive in Transmit by dreadlordbone on Tuesday October 08, 2024 @04:20PM (#41781459)
Everything's connected to the internet, what the OP was talking about was attack vectors and since Transmit is a local app it really isn't one unless your whole machine is compromised, which in that case you're screwed.
Re:End of the Road for Google Drive in Transmit by Ferret7446 on Wednesday October 09, 2024 @06:34AM (#41786311)
There are lots of ways a local app can be compromised. It can read a local config value unsafely which can be influenced by some other app that does talk to the Internet, for example.

There's a reason why airgapping is the only way to secure important systems (and of course that can also have a number of vulnerabilities).

And besides, how do you know it's a local only app if you haven't audited it?

"Just trust me bro" -- some dev

Re:End of the Road for Google Drive in Transmit by psd1 on Saturday October 12, 2024 @08:24PM (#41824045)
DNS.

If it makes outbound connections and you control DNS, you own it.

I imagine you could do this sitting in a café with an open hotspot.

Re:End of the Road for Google Drive in Transmit by acdha on Tuesday October 08, 2024 @04:05PM (#41781287)
There’s no way for someone on the internet to reach into your Transmit app and make it do something.
Re:End of the Road for Google Drive in Transmit by deely3 on Tuesday October 08, 2024 @06:17PM (#41782358)
How can you be so sure? Even after reading all the source code, there still can be bugs, attacks, demanding letters from different agencies, misconfigurations, vulnerabilities in code and in libraries, etc. etc. etc.
Re:End of the Road for Google Drive in Transmit by acdha on Wednesday October 09, 2024 @06:17AM (#41786220)
If your threat model is the NSA leaning on a developer to ship a compromised build, KPMG is not going to catch that. If it’s that you’re going to use Transmit to connect to a server which is compromised and exploits your client to exfiltrate your Drive files, guess what else they’re not going to prevent?

It’d be one thing if Project Zero was running serious audits but this policy is designed to let them check audit checkboxes so when you lose data, it’s hard to sue Google.

Re:End of the Road for Google Drive in Transmit by bigfatkitten on Friday October 11, 2024 @08:08PM (#41815180)
All of which would also impact the Google Drive client installed on the same machine. None of Google's requirements seek to address this.
Re:End of the Road for Google Drive in Transmit by MobiusHorizons on Tuesday October 08, 2024 @04:11PM (#41781348)
exposed to the internet and connected to the internet are different. Exposed implies that traffic originating from the internet reaches the app. You still do have to worry about things like parsing malicious files, but the class of relevant attacks is much smaller and generally easier to defend against.
Re:End of the Road for Google Drive in Transmit by AlexandrB on Tuesday October 08, 2024 @04:11PM (#41781351)
Google's not my dad. It's not their responsibility (or their place) to audit every piece of software I use to interact with their services. I'm tired of being treated like a child who needs every sharp corner ground down for my safety.

Edit: Next logical step is auditing every IMAP client before you can connect it to Gmail. Ridiculous.

Re:End of the Road for Google Drive in Transmit by hn_throwaway_99 on Tuesday October 08, 2024 @04:18PM (#41781436)
You say that, but I've been in plenty of situations where people say they're comfortable taking on the risk themselves, but then when shit blows up, they come and blame the biggest actor (with the biggest pockets) they can. I mean, just check out some sob stories that made the front pages of NYT and Washington Post when people got scammed out of a lot of crypto money - I've read a bunch of those and always the first thing I think is "lord, there is no way these people should have had a dime in crypto in the first place", but then when they lose their money they're the first to blame everyone else but themselves.
Re:End of the Road for Google Drive in Transmit by jasonjayr on Tuesday October 08, 2024 @04:31PM (#41781562)
> Edit: Next logical step is auditing every IMAP client before you can connect it to Gmail. Ridiculous.

Actually .... They're not that far away from that, if they're not already implementing it. Office365, and Google, if they haven't already have disabled basic Auth for IMAP/SMTP, and only supporting oauth2. Which requires a AppId/ClientSecret handed out out by registering your app with Microsoft/Google.

It seems that you can still steal thunderbirds appid/clientsecret from their open source code, for now ( https://simondobson.org/2024/02/03/getting-email/ ) , but ......

Re:End of the Road for Google Drive in Transmit by jsnell on Tuesday October 08, 2024 @04:35PM (#41781592)
They're the ones who will take the blame when a third-party app gets compromised and is used to siphon off people's data.

This isn't a theoretical concern. It's pretty much exactly what happened with Cambridge Analytica. Facebook didn't really do anything wrong; they provided an API for data access, people explicitly authorized an app with broad access their data, and it turned out that the app was basically a trojan horse for data collection. And politicians, the media, the general public, and even the technologically savvier people who should know better all blamed Facebook for this.

Re:End of the Road for Google Drive in Transmit by hn_throwaway_99 on Tuesday October 08, 2024 @10:33PM (#41783919)
You're leaving out a very important part of the Cambridge Analytica story, which is "transitive permissions". "Normal" people think of transitive permissions very different from computer science folks.

That is, the vast majority of people whose data was sucked up by Cambridge Analytica did not explicitly authorize the app. Instead, their friends did, and at the time authorizing a third party app meant the app got to see everything you did, including all of the data about your friends. Now, you may argue that if you share your data with your friends that you're then at the mercy of whoever they give this data to, but I guarantee very few people at the time understood this - saying "I authorize Bob to see my FB data" is different, in most people's minds, to saying "I authorize Bob to see my data, and also any random app that can convince Bob into giving them access." Facebook was rightly pilloried for this permissions model.

Re:End of the Road for Google Drive in Transmit by jsnell on Wednesday October 09, 2024 @12:56PM (#41790064)
Right, thanks for the demonstration about people on HN blaming the API rather than the user or the abuser too. Do you now see why the only realistic option is for platforms to not provide such dangerous unscoped APIs, or in cases where they do provide such an API, have rigorous security and purpose audits?
Re:End of the Road for Google Drive in Transmit by dewey on Tuesday October 08, 2024 @03:54PM (#41781180)
> which I've done and are quite easy - if anything

Did you read the part where it took multiple months to continue because of slow replies and non-working tooling from Google's side?

It's also pretty expensive for a relatively niche app, it might be fine if you are Dropbox or a big VC funded Mail app but for smaller companies it's not "easy".

> I don't think it's a bad thing that Google is enforcing some minimal security standards.

How would Google find out if the version that they are "scanning" is the same one that gets uploaded to the app store on every small app update? Zero, so there's no security benefit.

Re:End of the Road for Google Drive in Transmit by rammer on Tuesday October 08, 2024 @04:01PM (#41781251)
We've done it too, first time it was hard but it's required and recommended.

It raises the bar for low effort hackers and improves security.

I disagree with the op. Sorry mate go through the casa audit and get the access .

Re:End of the Road for Google Drive in Transmit by dewey on Tuesday October 08, 2024 @04:06PM (#41781297)
How much was the external audit they are now requiring? As it's most likely not based on company revenue, it's obvious that it's less of an issue for bigger companies who can afford to pay an auditor for their stamp of approval and task a person with talking to Google over a few months every year.
Re:End of the Road for Google Drive in Transmit by StewardMcOy on Tuesday October 08, 2024 @04:16PM (#41781413)
If you read the article, they went through the casa audit, found that it did not improve the security of their app, and came to the conclusion it wasn't worth the time and now money to do it a second time.
Re:End of the Road for Google Drive in Transmit by masklinn on Tuesday October 08, 2024 @04:32PM (#41781572)
> and came to the conclusion it wasn't worth the time and now money to do it a second time.

Especially because they'd now have to go through an other third-party to perform the audit process (not just the security lab, the entire thing), according to the total commander folks[1] that's 75k/year/program.

[1] https://www.ghisler.com/googledrivehelp.htm

Re:End of the Road for Google Drive in Transmit by joshuamorton on Tuesday October 08, 2024 @05:24PM (#41781967)
They say it's "up to 75,000" per program, looking at the actual assessor websites, most require quotes, but tier 2 assessments start at $500 and tier 3 start at $5-6000, and you're in the land of asking for quotes from companies, so "hey we compile the same code into 32 and 64 bit versions" probably does not actually require a 2x cost increase.
Re:End of the Road for Google Drive in Transmit by JamesBarney on Tuesday October 08, 2024 @04:30PM (#41781559)
> It raises the bar for low effort hackers and improves security.

There are meaningful ways you can improve the security of your app. There are ways to make sure your app passes CASA. I found very little if any overlap between those two when going through the process.

Re:End of the Road for Google Drive in Transmit by cpr on Tuesday October 08, 2024 @04:27PM (#41781534)
The problem is that if you want to provide a full-featured file picker, and not rely on Google's limited browser-based version, your app will require the full "drive" scope. (We do, and we do, for our InDesign-to-Google Docs connector plugin.)

If you use some of the lower-tier CASA labs, it's not that expensive (4K/year), but it is definitely a nuisance for a pure desktop plugin like ours that has absolutely no cloud component (other than connecting to GDocs).

Re:End of the Road for Google Drive in Transmit by tlogan on Tuesday October 08, 2024 @04:40PM (#41781636)
The problem with Google’s security certifications, especially when compared to competitors like Salesforce and Microsoft, is how disorganized the process is. While these companies all require security reviews, Google’s approach seems particularly disorganized: if something goes wrong, there’s almost no one to contact for help.

The certifications themselves are valuable, but Google’s main issue lies in its poor communication and support. Third-party developers, even those paying $60k annually for re-certification, struggle to get timely responses or any at all.

What’s ironic is that the very partners handling these certifications often avoid using Google themselves because it’s “unreliable if something unusual happens.”

And that’s the crux of the issue—when things do go wrong or something unusual happens, it’s incredibly difficult to resolve.

Re:End of the Road for Google Drive in Transmit by hn_throwaway_99 on Tuesday October 08, 2024 @04:59PM (#41781766)
100% agree. Again, my position is that Google rightfully deserves all the criticism they get around communication and customer support. I just think it's a mistake to confuse that criticism with Google's change to enforce better security for highly sensitive permission scopes.
Re:End of the Road for Google Drive in Transmit by dbmnt on Tuesday October 08, 2024 @10:27PM (#41783882)
Probably not news to you, but those are completely different departments within the company with opposing goals.
Re:End of the Road for Google Drive in Transmit by wink on Wednesday October 09, 2024 @03:39AM (#41785446)
I fail to see how the app vendor comes into play here. There should be no "whitelisting", but the user as the active party just uses some sort of tool (may it be online or a native app) to authenticate (e.g. via OAuth) and that's what establishes trust on the tool.

Of course security is good, but this is just hindering third party access.

Re:End of the Road for Google Drive in Transmit by rakoo on Tuesday October 08, 2024 @05:04PM (#41781794)
This assumes that Google can be trusted with my data and other apps can't, and that I'm ok with Google assessing the safety of other apps. It's something that is automatic, and right now it needs to be explained.

Yes, assessing the trustability of apps is important. No, I don't trust Google to do it properly. Maybe I didn't choose Google because I find them the best, but because I have to (because Google, surprise surprise, forces itself down the throat of everyone, so the people I want to collaborate with use it).

Did my apps certify Google as a trustable provider ?

Re:End of the Road for Google Drive in Transmit by hn_throwaway_99 on Tuesday October 08, 2024 @07:21PM (#41782826)
If you don't trust Google, why are you using Drive in the first place?
Re:End of the Road for Google Drive in Transmit by rakoo on Wednesday October 09, 2024 @06:26AM (#41786280)
Quoting the message you replied to:

> the people I want to collaborate with use it

If I were an independent individual who didn't need any others, then it might be a decision I can make. That's the neo-liberal lie you are driven to believe. But we're always part of a society and can't exist without society. Some of the information I want to read has been elaborated and written for years in Google Drive. Some of the people who want to share stuff with me will only use Google Drive. Of course I do all my best to migrate them away, but it only works that much.

Re:End of the Road for Google Drive in Transmit by theamk on Tuesday October 08, 2024 @11:53PM (#41784378)
That makes no sense - if you don't trust Google Drive, don't use it.

Google is not "forcing itself down the throat" with Google Drive, and even my Android phone comes with 3 cloud providers.

And yes, your apps certified Google as a trustable provider when they added support for it. Such support is not automatic, it requires non-trivial effort, and presumable no one would do it for services they do not trust.

Re:End of the Road for Google Drive in Transmit by rakoo on Wednesday October 09, 2024 @06:33AM (#41786309)
> And yes, your apps certified Google as a trustable provider when they added support for it. Such support is not automatic, it requires non-trivial effort

Are you talking about the technical support (ie implementing APIs) or the bureaucratic support (ie going through Google's process) ? Because the first one is a result of Google going its own way with its own protocol, and the second is entirely a decision of Google.

> and presumable no one would do it for services they do not trust.

No, they would not do it for a service that is vital for the sustainability of their app. When Google is so hegemonic it's sometimes impossible to avoid, app developers must consider whether Google's ways are worth implementing not just based on Google but on the users' willing to make do with an app that doesn't work with Google. Not being compatible with Google is more often than not seen as a problem with the app, not with Google.

Re:End of the Road for Google Drive in Transmit by xp84 on Tuesday October 08, 2024 @05:15PM (#41781898)
> if you want complete, unfettered access to my entire Drive account,

Panic never got complete or unfettered (or any) access to my Google Drive. I got access. I used their application, which can easily be supervised with Little Snitch or other software to prove that is not sending a copy of my credentials or my files to Panic. If it were OSS it would be even more categorically provable that it's not giving access to anyone but the end user, but these draconian requirements would still apply.

The point is, Google is telling THEIR users, not Panic, that they aren't qualified to use their own judgment to select a client. It woudl be just as bad as Microsoft saying that if you want to check your email or access SharePoint you can't use anything but Edge (insert jokes about how they basically did do that 20 years ago with MSIE, but let's be serious, that sort of thing would be rightfully mocked today).

> I don't think it's a bad thing that Google is enforcing some minimal security standards.

These certification programs are 100% a moneymaking program to engage in a lot of box-checking, which I'd wager has zero correlation with a positive outcome for anyone other than the shareholders of the "labs" that do these audits.

Re:End of the Road for Google Drive in Transmit by oarsinsync on Monday October 14, 2024 @05:15AM (#41835728)
> The point is, Google is telling THEIR users, not Panic, that they aren't qualified to use their own judgment to select a client. It woudl be just as bad as Microsoft saying that if you want to check your email or access SharePoint you can't use anything but Edge (insert jokes about how they basically did do that 20 years ago with MSIE, but let's be serious, that sort of thing would be rightfully mocked today).

Isn't Google doing the same thing today with YouTube? Isn't that what led MS to give up on EdgeHTML and adopt Blink instead?

Re:End of the Road for Google Drive in Transmit by amiantos on Tuesday October 08, 2024 @06:38PM (#41782510)
They're my files in Google Drive. If I've made the choice to buy a product from Panic, and I trust Panic as a company personally, it should be my right to decide to give Panic access to my files in Google Drive. It is not up to Google to shuffle money into the pockets of their security partners under the guise of doing it for my safety. My safety and the safety of my files is my responsibility, not Google's, and it's oddly convenient from a monetary perspective (both for Google itself and their partners) for Google to suddenly care a lot more about this than they used to, so it does not seem particularly altruistic in any way.
Re:End of the Road for Google Drive in Transmit by psd1 on Saturday October 12, 2024 @08:10PM (#41823956)
I agree with your point for, say, Linux.

For the plebs, no, they do not have the capacity. Out there is 7 billion meatbags who have had of a million years of selection for a tribal savannah environment, ten thousand years of selection for an agrarian lifestyle, two hundred years of selection for life in cities, and ten years of selection in the information era.

They're fucking children. They are savannah monkeys. They fall victim to rudimentary scams. They are unable to make an informed choice.

When you get into the billions of users, you become a parent to those users. Parents don't let toddlers get into the knife drawer.