How do I know I can trust an app?

What decides for you whether you can trust an app or not?

A big trust bonus is if apps are open source, but this opens two questions for me?

  1. How do I know that the source code it self is safe if their was no audit and the contributor amount is not very high?
  2. How do I know that the final app file is actually corresponding to the source code and that nothing was added in between?

You could have an AI agent review it then build from source. If there’s reproducible builds then you can just review the code and verify it’s reproducible.

If the app uses reproducible builds that proves that the source code corresponds.

Other things you can do is look at the permissions and analyze network traffic using RethinkDNS (on Android).

3 Likes

My main factors are

  • Audit or big community
  • Reproducible (if its not reproducible but I really want to use it, I may build it from source)

Depends on whether its reproducible, if yes, then the everyone can verify that the binary corresponds to the source code by compiling and then hashing the binary.

1 Like

Yep. Note that, RBs are both not required (for this property to hold) & not enough on their own (especially when apps can download additional code over the interwebs to run it).

Prior: Trust assumptions in none-reproducible FOSS applications

I don’t think there’s a one size fits all answer here.
The simplest answer is finding a source of recommendations you trust, or that can at least point you in the right direction.
Is it listed on something like AlternativeTo, PrivacyGuides or the Techlore Resources page?
Did a cybersecurity/privacy blog/podcast you’re familiar with discuss it?
How did they get listed or end up in the discussion?

Questions I tend to pass through:

  • What am I entrusting the app with and what is my risk model with respect to that data/access?
  • What do I know about the developer and their reputation?
    • I personally take particular note of where they’re legally based.
    • What else have they developed?
  • Does the business model seem sustainable?
    • This is related to reputation and one might compensate for the other.
    • How long has the app been in active development?
  • Are there any other controls the app has passed?
    • Is it on an app store and how well do they keep malware at bay?
    • Are there any public audits?
  • What are the altenatives and how do they compare?
    • In particular, are there clones and which is the original?
    • Is there a suitable open source option?
  • Based on the answers to the questions, are there any additional requirements I would want to put in place?
    • For example, I might trust an app enough to use it for a particular thing, but not enough to allow it to connect to the internet. Or I might try to find out what if anything it tries to connect to.
7 Likes

Reproducible builds only check that the binary matches the source. They don’t tell you what the server stores once it accepts a packet.

You can build the app yourself and still just be trusting the operator on that. “No logs” is too vague to check. What is kept, for how long, what they can’t see.

PWAs don’t even have a binary to reproduce. You can read the script in the browser, but minified code is a pain to review, and it still says nothing about the server.

How do you verify that a binary 100% corresponds to some source code without these reproducible builds, is there another way?

I would not trust such an app

Outsourcing senstive task to remote computing is a trap and should be:

  1. Avoided whenever possible
  2. If 1 is mot possible, it should be self hosted
  3. If 2 is not possible, there should be as few trust as possible in the provider party and they should self host it instead of outsourcing it to another provider

There are PWAs that work offline

Yeah. If you can keep it local, or run the server yourself, that’s the actual answer.

The leftover case is when the product is the remote service. Then you’re stuck checking a claim: what they keep, for how long. Self-hosting doesn’t help the people who won’t run it.

True, some do. Offline just means that packet never left the device, so there’s no server claim to check.

Once it syncs, you’re back to trusting whoever took the packet. Readable script doesn’t change that.

1 Like

Simple; You Don’t, unless its the case you do.
you should trust NOTHING.

So I should just live in the woods?

I wouldn’t do that. The government has birds everywhere.

1 Like

What would be the alternative to RBs?

As discussed in the linked thread, Hermetic builds and Build Attestation can prove “source code correspondence”.

Beside all the great advices that the community gave you, I have a golden rule “the apps that have access to my files don’t have the access to the Internet and the apps that have the access to Internet don’t have the access to my files”

2 Likes