I decompiled the White House's new app

(thereallo.dev)

91 points | by amarcheschi 1 hour ago

14 comments

  • iancarroll 31 minutes ago
    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 commonly invoked function.

    • frizlab 9 minutes ago
      > it doesn't request location permissions anywhere, despite the claims in the article

      The article does not claim the app requests the location. It claims it can do it with a single JS call.

    • dijksterhuis 13 minutes ago
      what version are you on?

      from the iphone app store: version 47.0.1 - minor bug fixes - 34 minutes ago

      while the parent posted 18 minutes ago

      they may have patched the location stuff as part of the “minor bug fixes”?

      • kennywinker 0 minutes ago
        If they did patch it that fast, i’m impressed
  • SoftTalker 58 minutes ago
    Looks like what you might expect in a standard marketing app from a consultancy. They probably hired someone to develop it, that shop used their standard app architecure which includes location tracking code and the other stuff.
  • somehnguy 1 hour ago
    Interesting. The site is nearly unusable to me unfortunately. '19 MBP w/ Chrome - scrolling stutters really bad
    • imalerba 18 minutes ago
      Scrolling is so laggy it's annoying to follow on mobile (FF 151.0a1)
    • catlikesshrimp 39 minutes ago
      Not what you meant, but works fine on

      Firefox 148.0.2 (Build #2016148295), 15542f265e9eb232f80e52c0966300225d0b1cb7 GV: 148.0.2-20260309125808 AS: 148.0.1 OS: Android 14

  • sitzkrieg 57 minutes ago
    i assumed it was malware out the gate. yep
  • r4indeer 56 minutes ago
    The argument regarding no certificate pinning seems to miss that just because I might be on a network that MITM's TLS traffic doesn't mean my device trusts the random CA used by the proxy. I'd just get a TLS error, right?
    • thegagne 55 minutes ago
      Not if you are part of an org that uses MDM and pushes their own CA to devices.
      • r4indeer 50 minutes ago
        Ok, fair point. However, I would consider any MDM-enabled device fully "compromised" in the sense that the org can see and modify everything I do on it.
        • p2detar 26 minutes ago
          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.
  • ThaFresh 35 minutes ago
    nice work, so they can get your location and have ICE scoop you up if required
  • replwoacause 52 minutes ago
    lol honestly all of this tracks given the current administration. i'm actually surprised it isn't worse. but yeah, amateur hour for sure.
    • jfengel 42 minutes ago
      "Amateur hour" is basically their theme. They were swept in on a wave of distrust for people who know what they're talking about. They were elected to tear down Chesterton's fence, even (and especially) the parts holding in the face-eating leopards.

      To mix the metaphors further, they (the politicians and their supporters) fancy themselves the kind to dream of things that never were and ask why not. Why not have a war in Iran? You won't know until you give it a try.

  • oefrha 1 hour ago
    > An official United States government app is injecting CSS and JavaScript into third-party websites to strip away their cookie consent dialogs, GDPR banners, login gates, and paywalls.

    Giving people a taste of web with Ublock Origin annoyance filters applied, refreshing. Can’t believe orange man regime is doing one thing right.

  • vineyardmike 1 hour ago
    > The official White House Android app has a cookie/paywall bypass injector, tracks your GPS every 4.5 minutes (9.5m when in background), and loads JavaScript from some guy's GitHub Pages (“lonelycpp” is acct, loads iframe viewer page).

    Doesn’t seem too crazy for a generic react native app but of course coming from the official US government, it’s pretty wide open to supply chain attacks. Oh and no one should be continually giving the government their location. Pretty crazy that the official government is injecting JavaScript into web views to override the cookie banners and consent forms - it is often part of providing legal consent to the website TOS. But legal consent is not their strong suit I guess.

    • trimethylpurine 53 minutes ago
      Aren't the banners for EU page visitors. I don't think there is a US law about this, is there?
  • post-it 24 minutes ago
    > An official United States government app is injecting CSS and JavaScript into third-party websites to strip away their cookie consent dialogs, GDPR banners, login gates, and paywalls.

    Rare Trump administration W. I'm assuming there's one particular website they open in the app that shows a cookie popup, and this was a dev's heavy-handed way of making that go away.

  • Arainach 1 hour ago
    "An official United States government app is injecting CSS and JavaScript into third-party websites to strip away their cookie consent dialogs, GDPR banners, login gates, and paywalls."

    In their defense, this is the first thing the Trump admin has done that's unambiguously positive for ordinary people.

    • ronsor 1 hour ago
      Yes, this is a major UX improvement considering I remove those with uBlock Origin anyway.
  • trimethylpurine 57 minutes ago
    I don't see what the fuss is about. This all looks pretty standard. I use random people's stuff all the time. Isn't that the point of open source?

    Did you find something malicious in the random GitHub repo? If so, you should write an article about that instead.

  • colesantiago 1 hour ago
    This is a pretty standard decomplation of an Android app.

    I am sure if you decompile other apps used by hundreds of thousands of people, you would find all sorts of tracking in there.

    Thanks for helping the White House improve their app security for free though.

    • yellow_lead 1 hour ago
      Even in the apps I've worked on, you won't find us loading arbitrary JS from a random GitHub user's account.
      • colesantiago 1 hour ago
        > Even in the apps I've worked on, you won't find us loading arbitrary JS from a random GitHub user's account.

        You'd be surprised how many apps inside have hacks and workarounds because deadlines.

        • crtasm 1 hour ago
          Let's see if anyone can give an example of such a high profile app doing something similar.
          • flutas 36 minutes ago
            I've worked on a three letter sports orgs (one of NFL, NBA, NHL, etc) Android app.

            I always joke that we could probably tell you what color and type your underwear is on any random day with how much data is siphoned off your phone.

            As for loading random JS, yeah also seen that done that before. "Partner A wants to integrate their SDK in our webviews." -> "Partner A" SDK is just loading a JS chunk in that can do whatever they want in webviews, including load more files.

            Don't get me started on the sports betting SDKs...

            Though we do have a Security team constantly scanning SDKs and the endpoints for changes in situations like this.

            • jasonlotito 17 minutes ago
              > As for loading random JS, yeah also seen that done that before.

              Partner A is not random JS. The assumption there is 1) you have some official signed agreement with them and 2) you've done your due diligence to ensure you can use them in this way.

              It's not just some person's GH repo who can freely change that file to whatever they want.

              Hotlinking is as old as the internet, and a well-worn security threat.

  • longislandguido 22 minutes ago
    The comments in here are pretty rich. If this was any other app, everyone would be screaming about "why are you being mean to the author", flagging posts left and right.