Live data from Hacker News

I decompiled the White House's new app

thereallo.dev

161–170 of 291 posts

Re: I decompiled the White House's new app

#161

Earlier quoted context omitted.

>as it seems to be mostly written by AI. Is there something in particular that made you conclude that or are you going just with how it felt? For what it's worth, it didn't seem to me.

[flagged]

What? They listed a very specific complaint about the content.

Re: I decompiled the White House's new app

#162

Earlier quoted context omitted.

"Visit TrumpRx.gov" Holy crap, the grift never ends! Is he even allowed to do that, use a .gov address to peddle dodgy meds?

Hatch Act won't be enforced until the next administration and next DOJ.

At least. I'm not hopeful.

Re: I decompiled the White House's new app

#163

Earlier quoted context omitted.

This is stopped by certificate transparency logs. Your software should refuse to accept a certificate which hasn’t been logged in the transparency logs, and if a rogue CA issues a fraudulent certificate, it will be detected.

I don't believe it's supposed to proactively check the logs as that would inevitably break in the presence of properly configured MITM middleboxes which are present on many (most?) corporate networks. The point of the logs as I understand it is to surface events involving official CAs after the fact.

Corporate machines would have the proper certs pushed to them for the MITM box to work though - would that affect this ?

Re: I decompiled the White House's new app

#164
post #24

Earlier quoted context omitted.

An MDM orga cannot install a trusted CA on non-supervised (company owned) devices. By default on BYOD these are untrusted and require manual trust. It also cannot see everything on your device - certainly not your email, notes or files, or app data.

As someone who has an MDM-managed device, I beg to differ. Although, this one uses newer style android MDM, which involves factory resetting and doing special things during OOBE. Even if it used the older style, nothing's stopping the app for requesting file access, notification access, etc. and not working until you grant the permissions.

Android has multiple options for MDM - the mess invasive one has a completely separate work profile that should not give the org that kind of access.

Re: I decompiled the White House's new app

#165

Earlier quoted context omitted.

Completely agree. This is really unique. Can you imagine if it were standard practice to be open to supply chain attacks like that, by blindly relying on hotlinked or unpinned dependencies?

Why imagine? Let's take a quick look at what's actually happening right now. We can check some widely used libraries and see what their instructions are teaching new developers. Boostrap (code snippet from their quick start instructions): ``` Bootstrap demo https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootst... " rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZq…

They have not. CDNs are specifically meant for demo/non-critical usage, to make it easy for amateurs to try out the library.

You don't do this in any non-trivial system.

Re: I decompiled the White House's new app

#166
post #50

A bit skeptical of how this article is written as it seems to be mostly written by AI. Out of curiosity, I downloaded the app and it doesn't request location permissions anywhere, despite the claims in the article. I've noticed Claude Code is happy to decompile APKs for you but isn't very good at doing reachability analysis or figuring out complex control flows. It will treat completely dead code as important as a co…

The permissions snippet they show also doesn't include location, and you can't request location at runtime at all without declaring it there. I'd verify all this stuff for myself, but Play won't install it in my phone so I can't really get the APK. Maybe because I use Graphene...? but I don't know all the ways they can restrict it, maybe it's something else (though for a pixel 9a it's rather strange if it's hardware…

If you use Aurora Store instead of the Play store, you can download APKs. They are a Google Play store proxy.

Re: I decompiled the White House's new app

#167

A bit skeptical of how this article is written as it seems to be mostly written by AI. Out of curiosity, I downloaded the app and it doesn't request location permissions anywhere, despite the claims in the article. I've noticed Claude Code is happy to decompile APKs for you but isn't very good at doing reachability analysis or figuring out complex control flows. It will treat completely dead code as important as a co…

>as it seems to be mostly written by AI. Is there something in particular that made you conclude that or are you going just with how it felt? For what it's worth, it didn't seem to me.

There's a specific writing style for globalized English that AI's use. And then this post also had none of the stylistic flourishes that a real author might add. And then simple things like constructing a table of 68 libraries or whatever organized by relatively subjective categories. That is something that nobody is going to do by hand.

Re: I decompiled the White House's new app

#168

Earlier quoted context omitted.

Completely agree. This is really unique. Can you imagine if it were standard practice to be open to supply chain attacks like that, by blindly relying on hotlinked or unpinned dependencies?

Why imagine? Let's take a quick look at what's actually happening right now. We can check some widely used libraries and see what their instructions are teaching new developers. Boostrap (code snippet from their quick start instructions): ``` Bootstrap demo https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/css/bootst... " rel="stylesheet" integrity="sha384-sRIl4kxILFvY47J16cr9ZwB07vP4J8+LH7qKQnuqkuIAvNWLzeN8tE5YBujZq…

I was being sarcastic. Although hot linking is not particularly common, it's common enough; and unpinned dependencies are just as much if not more of a supply chain attack risk.

I'd bet something like 70+% of all JS apps are inadequately protected against the risk of a malicious actor gaining access to a dependency's repo.

Pearlclutching over this while ignoring the lessons of `left-pad` and `colors` is biased motivated reasoning at best.

Re: I decompiled the White House's new app

#169
post #153

Earlier quoted context omitted.

>as it seems to be mostly written by AI. Is there something in particular that made you conclude that or are you going just with how it felt? For what it's worth, it didn't seem to me.

Perhaps the apparent hallucination they mentioned in their comment?

Apparently just like OP, you didn't read the article either. Just because the app doesn't ask for permission in the manifest doesn't mean it can't be acquired at runtime. It's very publicly documented [0].

So, no. Not a "hallucination".

[0] https://documentation.onesignal.com/docs/en/location-opt-in-...

Re: I decompiled the White House's new app

#170

Earlier quoted context omitted.

I don't believe it's supposed to proactively check the logs as that would inevitably break in the presence of properly configured MITM middleboxes which are present on many (most?) corporate networks. The point of the logs as I understand it is to surface events involving official CAs after the fact.

Corporate machines would have the proper certs pushed to them for the MITM box to work though - would that affect this ?

The entire point of transparency logs is to detect a cert issued by a different root CA despite both being trusted. The corporate MITM cert won't be present in the logs by design.
Post reply on HN