• Optional@lemmy.world
    link
    fedilink
    English
    arrow-up
    113
    arrow-down
    2
    ·
    1 day ago

    “Basically, doge.gov has its codebase, probably through GitHub or something,” the other developer who noticed the insecurity said. “They’re deploying the website on Cloudflare Pages from their codebase, and doge.gov is a custom domain that their pages.dev URL is set to. So rather than having a physical server or even something like Amazon Web Services, they’re deploying using Cloudflare Pages which supports custom domains.”

    Elmo’s a genius you know

      • Optional@lemmy.world
        link
        fedilink
        English
        arrow-up
        46
        arrow-down
        3
        ·
        1 day ago

        Most websites run off of a server. They’re just using a “repeater” (CloudFlare Pages) to serve directly off of their Github or whatever which is sort of top-shelf slapdashery.

        Not serious. Not competent.

        • sugar_in_your_tea@sh.itjust.works
          link
          fedilink
          English
          arrow-up
          24
          arrow-down
          1
          ·
          edit-2
          1 day ago

          What’s sloppy about it? Plenty of blogs and other static sites work that way. In fact, that’s largely how we do deployments at my company, we merge to a special branch and it triggers a deployment.

          The database being open is completely sloppy, but deploying through a source control platform is fine.

          • Optional@lemmy.world
            link
            fedilink
            English
            arrow-up
            33
            arrow-down
            6
            ·
            1 day ago

            Well, it’s sloppy for a government website. This is not a private enterprise running out of someone’s garage. There’s many reasons why that should not be an acceptable paradigm for posting government information.

            If you’re running a sandwich shop or a metal working shop, posting your phone number and address through CloudFlare Pages is probably fine.

            • sugar_in_your_tea@sh.itjust.works
              link
              fedilink
              English
              arrow-up
              12
              arrow-down
              1
              ·
              1 day ago

              This is not a private enterprise running out of someone’s garage

              Neither is the company I work for. We’re not Amazon, but we handle billions of revenue, our users have very high risk jobs, and they are using our software more and more to do these high risk jobs. We have a lot of controls about how things get released (QA team, and every change is tested before and after deployment), we just use our source control to handle the actual deployment.

              Whether it’s sloppy depends on their processes (i.e. who validates the change?), not the tools they use.

              We don’t use Cloudflare Pages, but we do use automatic deployments, and pretty much anyone on the team can submit a change for deployment. It’ll get reviewed before going live, but that’s a limitation we’ve placed on the tools and process.

              • Optional@lemmy.world
                link
                fedilink
                English
                arrow-up
                15
                arrow-down
                1
                ·
                1 day ago

                No doubt your company has more invested in the domain name than a pointer to pages.dev, as well.

                Do we think doge.gov has a QA group? Do we think there’s more than two people who review changes? Or that they even review changes at all?

                The setup your company has and what this appears to be (it’s true, this is speculation) is probably vastly more than just “we both use git to manage production pushes”. I’d bet you company has spent a fair number of years getting to this point, and doge.gov has not even secured a proper certificate while suggesting they’re competent to handle the entire financial information of the United States Government.

                • sugar_in_your_tea@sh.itjust.works
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  1 day ago

                  Do we think doge.gov has a QA group? Do we think there’s more than two people who review changes?

                  Idk, I don’t work there, nor have I looked into how they’re structured. I’m not going to make assumptions though.

                  I’d bet you company has spent a fair number of years getting to this point

                  Yeah, we have a bunch of tooling to make all that magic “just work.” It runs tests, check the health of deploys (and has a sane failover if it’s unhealthy), etc. There’s a lot to it, but at the end of the day, if I really want to, I can push and deploy straight to prod w/o anyone else being involved (I’d probably get fired, but I could do it).

                  The tech stack isn’t nearly as interesting as the processes surrounding it.

                  proper certificate

                  I assume you’re talking about the DB and not the website itself, which is protected by a proper certificate, at least as of Tuesday (that’s when the certificate starts being valid). I don’t know when the website was launched, so I can’t comment on anything before that point, though the domain seems to have been registered since the day after inauguration.

                  the entire financial information of the United States Government

                  That’s largely public info, no? I don’t know what exactly is exposed, but honestly, pretty much all financial information (aside maybe from the military and intelligence) should be public record. If it’s not, I’d welcome a breach that exposes it so journalists can look it over and find out what they’re trying to hide.

                  • Optional@lemmy.world
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    1 day ago

                    mmmm all the same I’d rather not have AI slurping up all my tax records to sell me a mortgage rate I’d have to take.

          • criss_cross@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            ·
            1 day ago

            Yeah I think the static page thing was just there to illustrate how the coders reverse engineered the api and saw what was getting called.

            I agree static content alone on CF isn’t “bad”. This perfectly illustrates why you have to have your API shit together when you go with this approach.

      • Optional@lemmy.world
        link
        fedilink
        English
        arrow-up
        7
        arrow-down
        1
        ·
        1 day ago

        Ohhhh . sssuuure. I mean, when he’s not ketted out to the gills.

        So. Regularly. Maybe even often?