Let's say, I create a bank with the caveat that all of my banking phone apps and webapps are FOSS (or if they depend on non-free components — banks probably do to communicate with each other —, then just OSS). Am I going to be behind the competition by doing this?
If the most secure crypto algorithms are the ones that are public, can we ensure the security of a bank's apps by publicizing it?
Are they not doing this because they secretly collect a lot of data (on top of your payment history because of the centralized nature of card payments) through these apps?
EDIT: Clarifying question: Is there a technical reason they don't publicize their code or is it just purely corporate greed and nothing else?
Most of what a bank does isn't on your phone, but server side.
In fact most bank apps could be replaced with an internal web browser that is pointing at their website, and a password manager, with no loss in functionality or change in security.
And if you'd like to review the client side code the bank is using you can just open dev mode in your browser, right now.
OP raises a good point, though. Why isn't there a standard banking API that all banks could use, against which applications could be written?
People don't choose banks because of the bank's app. Banks are also pretty sticky. Having a standard would allow banks to save money on application development. I just don't see what the value-add of proprietary banking APIs are for them. It doesn't seem like much of a differentiator.
I think there's a sort of standard in the EU; why doesn't the US have one?
There are a bunch of APIs, actually. Plaid is a pretty popular one. The problem is getting the banks to implement them.
But people definitely choose banks because of their apps. For example, my bank doesn't have any physical branches in my area, so I do everything through the website or app. Remote check deposit through my phone camera, for example.
So, just so I understand: the app, not services, fees, rates, or other financial considerations was a significant factor in your choice of institutions?
I started banking with them in 2011, I think, on recommendation from friends. I've continued to use them because of my satisfaction with the things you've mentioned as well as the services they make available through the site and app. (It's USAA, for reference).
I think it's interesting, and I wonder if it's a generational thing or if that'd be overgeneralizing. Or, you're so flush it doesn't matter to you. I'm Gen-X; while I can't speak for the rest of my generation, I was taught that, when it comes to entrusting me money with an institution, the most important things were the financial factors: fees, interest, loan services and terms, investment services.
Did you do any comparison shopping based on financial considerations? Or is ease of use the most important factor? Do you feel that all banks are basically the same?
Are there any downsides to opening up the server-side code too? Would it also compromise other banks' security, since these banks need to interoperate?
It would be unwise for a bank to publish its exact fraud detection and risk management policies, otherwise they could be easily circumvented. A lot of these policies will be embodied in their internal backend services.
Someone will now inevitably mention "security by obscurity". But Kerckhoff's Principle is specifically about cryptosystems which should derive their security solely from the strength of the keys. That way, confidentiality is still ensured even when details about the cryptosystem become known to adversaries.
But non-cryptographic aspects of security benefit from asymmetric knowledge, from grey areas, from increasing risk for adversaries.
Yeah I thought you'd ask this. Basically they'll never do this, just because their attitude is "fuck you I'm a bank".
Beyond this, there's a big difference between source code and having a working system.
For very long running systems their state depends very heavily on how they were maintained, little bits of informal design decisions that get components working together, and the order stuff was loaded in, and what other services were up and running when you booted up.
None of this magic is captured by source code, and it can make even setting up a replacement server, even as part of the same infrastructure really hard.
Of course banks are moving to more modern dev methods that encourages turnkey deployment, but the fact that they still rely on a bunch of COBOL code tells you there's a lot of very old system running in "do not touch" mode