With reproducible builds like Signal does you can be sure the app you've downloaded matches the source code that's been audited:
https://github.com/signalapp/Signal-Android/blob/main/reprod...
https://github.com/signalapp/Signal-Android/blob/main/reprod...
A solution to this would be independent reproducible builds like F-Droid does, but Moxie rejected this citing it would cause them to lose control of the platform and install metrics Google and Apple provide. Always thought that was a weird position for a privacy tool.
Even if Instagram was open source, Meta could remove the E2E chat feature.