Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Selfhosted
  3. Do you actually audit open source projects you download?

Do you actually audit open source projects you download?

Scheduled Pinned Locked Moved Selfhosted
selfhosted
74 Posts 63 Posters 288 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G [email protected]

    Let me put it this way: I audit open source software more than I audit closed source software.

    T This user is from outside of this forum
    T This user is from outside of this forum
    [email protected]
    wrote on last edited by [email protected]
    #36

    I have also looked at the code of one project.

    (Edit: Actually, I get paid for closed source software... So I can not say the same)

    1 Reply Last reply
    2
    • O [email protected]

      The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

      Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

      Let's hear it!

      pika@sh.itjust.worksP This user is from outside of this forum
      pika@sh.itjust.worksP This user is from outside of this forum
      [email protected]
      wrote on last edited by [email protected]
      #37

      I vet lesser known projects, but yea I do end up just taking credibility for granted for larger projects. I assume that with those projects, the maintainers team with pull access is doing that vetting before they accept a pull.

      1 Reply Last reply
      0
      • O [email protected]

        The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

        Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

        Let's hear it!

        S This user is from outside of this forum
        S This user is from outside of this forum
        [email protected]
        wrote on last edited by
        #38

        I don't audit the code, but I do somewhat audit the project. I look at:

        • recent commits
        • variety of contributors
        • engagement in issues and pull requests by maintainers

        I think that catches the worst issues, but it's far from an audit, which would require digging through the code and looking for code smells.

        dietasse@feddit.orgD 1 Reply Last reply
        5
        • O [email protected]

          The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

          Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

          Let's hear it!

          irmadlad@lemmy.worldI This user is from outside of this forum
          irmadlad@lemmy.worldI This user is from outside of this forum
          [email protected]
          wrote on last edited by [email protected]
          #39

          I do not audit code line by line, bit by bit. However, I do due diligence in making sure that the code is from reputable sources, see what other users report, I'll do a search for any unresolved issues et al. I can code on a very basic level, but I do not possess the intelligence to audit a particular app's code. Beyond my 'due diligence' I rely on the generosity of others who are more intelligent than I and who can spot problems. I have a lot of respect and admiration for dev teams. They produce software that is useful, fun, engaging, and it just works.

          1 Reply Last reply
          1
          • S [email protected]

            I don't audit the code, but I do somewhat audit the project. I look at:

            • recent commits
            • variety of contributors
            • engagement in issues and pull requests by maintainers

            I think that catches the worst issues, but it's far from an audit, which would require digging through the code and looking for code smells.

            dietasse@feddit.orgD This user is from outside of this forum
            dietasse@feddit.orgD This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #40

            Same here, plus

            • on the phone I trust F-droid that they have some basic checks
            • I either avoid very small projects or I rifle through the code very fast to see if its calling/pinging something suspicious.
            1 Reply Last reply
            1
            • O [email protected]

              The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

              Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

              Let's hear it!

              C This user is from outside of this forum
              C This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #41

              I implicitly trust FOSS more than closed source but because that trust has been earned through millions of FOSS projects.

              On occasion, I will dive deep into a codebase especially if I have a bug and I think I can fix it.

              You can't do this with closed source or even source available code because there is no guarantee that the code you have is the code that's been compiled.

              1 Reply Last reply
              0
              • O [email protected]

                The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                Let's hear it!

                B This user is from outside of this forum
                B This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #42

                I do sometimes, when I know the tech stack. (I wonder if GitHub Copilot could help in other situations?)

                For example, I've been learning more about FreshRSS and Wallabag (especially now that Pocket is shutting down).

                In any case, with open source, I trust that someone looks at it.

                1 Reply Last reply
                0
                • A [email protected]

                  I know lemmy hates AI but auditing open source code seems like something it could be pretty good at. Maybe that's something that may start happening more.

                  mobotsar@sh.itjust.worksM This user is from outside of this forum
                  mobotsar@sh.itjust.worksM This user is from outside of this forum
                  [email protected]
                  wrote on last edited by
                  #43

                  I'm writing a paper on this, actually. Basically, it's okay-ish at it, but has definite blind spots. The most promising route is to have AI use a traditional static analysis tool, rather than evaluate the code directly.

                  semperverus@lemmy.worldS 1 Reply Last reply
                  0
                  • O [email protected]

                    The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                    Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                    Let's hear it!

                    P This user is from outside of this forum
                    P This user is from outside of this forum
                    [email protected]
                    wrote on last edited by
                    #44

                    If it's a project with a couple hundred thousands of downloads a week then no, i trust that it's been looked at by more savvy people than myself.

                    If it's a niche project that barely anyone uses or comes from a source i consider to be less reputable then i will skim it

                    1 Reply Last reply
                    14
                    • N [email protected]

                      'AI' as we currently know it, is terrible at this sort of task. It's not capable of understanding the flow of the code in any meaningful way, and tends to raise entirely spurious issues (see the problems the curl author has with being overwhealmed for example). It also wont spot actually malicious code that's been included with any sort of care, nor would it find intentional behaviour that would be harmful or counterproductive in the particular scenario you want to use the program.

                      semperverus@lemmy.worldS This user is from outside of this forum
                      semperverus@lemmy.worldS This user is from outside of this forum
                      [email protected]
                      wrote on last edited by [email protected]
                      #45

                      Having actually worked with AI in this context alongside github/azure devops advanced security, I can tell you that this is wrong. As much as we hate AI, and as much as people like to (validly) point out issues with hallucinations, overall it's been very on-point.

                      N 1 Reply Last reply
                      0
                      • mobotsar@sh.itjust.worksM [email protected]

                        I'm writing a paper on this, actually. Basically, it's okay-ish at it, but has definite blind spots. The most promising route is to have AI use a traditional static analysis tool, rather than evaluate the code directly.

                        semperverus@lemmy.worldS This user is from outside of this forum
                        semperverus@lemmy.worldS This user is from outside of this forum
                        [email protected]
                        wrote on last edited by
                        #46

                        That seems to be the direction the industry is headed in. GHAzDO and competitors all seem to be converging on using AI as a force-multiplier on top of the existing solutions, and it works surprisingly well.

                        1 Reply Last reply
                        0
                        • O [email protected]

                          The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                          Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                          Let's hear it!

                          termaxima@programming.devT This user is from outside of this forum
                          termaxima@programming.devT This user is from outside of this forum
                          [email protected]
                          wrote on last edited by
                          #47

                          If I can read it in around an afternoon, and it’s not a big enough project that I can safely assume many other people have already done so, then I will !

                          But I don’t think it qualifies as “auditing”, for now I only have a bachelor’s in CS and I don’t know as much as I’d like about cybersecurity yet.

                          1 Reply Last reply
                          1
                          • O [email protected]

                            The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                            Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                            Let's hear it!

                            D This user is from outside of this forum
                            D This user is from outside of this forum
                            [email protected]
                            wrote on last edited by
                            #48

                            It depends on the provenance of the code and who (if anyone) is downstream.

                            A project that's packaged in multiple distros is more likely to be reliable than a project that only exists on github and provides its own binary builds.

                            1 Reply Last reply
                            0
                            • O [email protected]

                              The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                              Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                              Let's hear it!

                              d_air1@lemmy.mlD This user is from outside of this forum
                              d_air1@lemmy.mlD This user is from outside of this forum
                              [email protected]
                              wrote on last edited by
                              #49

                              Depends on how the project and how long they have been around.

                              1 Reply Last reply
                              0
                              • O [email protected]

                                The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                                Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                                Let's hear it!

                                J This user is from outside of this forum
                                J This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #50

                                some yes, I'm currently using hyde for hyprland and I've been tinkering with almost every script that holds the project together

                                1 Reply Last reply
                                0
                                • O [email protected]

                                  The question is simple. I wanted to get a general consensus on if people actually audit the code that they use from FOSS or open source software or apps.

                                  Do you blindly trust the FOSS community? I am trying to get a rough idea here. Sometimes audit the code? Only on mission critical apps? Not at all?

                                  Let's hear it!

                                  fizz@lemmy.nzF This user is from outside of this forum
                                  fizz@lemmy.nzF This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #51

                                  Nah. My security is entirely based on vibes and gambling

                                  I 1 Reply Last reply
                                  20
                                  • semperverus@lemmy.worldS [email protected]

                                    Having actually worked with AI in this context alongside github/azure devops advanced security, I can tell you that this is wrong. As much as we hate AI, and as much as people like to (validly) point out issues with hallucinations, overall it's been very on-point.

                                    N This user is from outside of this forum
                                    N This user is from outside of this forum
                                    [email protected]
                                    wrote on last edited by
                                    #52

                                    Could you let me know what sort of models you're using? Everything I've tried has basically been so bad it was quicker and more reliable to to the job myself. Most of the models can barely write boilerplate code accurately and securely, let alone anything even moderately complex.

                                    I've tried to get them to analyse code too, and that's hit and miss at best, even with small programs. I'd have no faith at all that they could handle anything larger; the answers they give would be confident and wrong, which is easy to spot with something small, but much harder to catch with a large, multi process system spread over a network. It's hard enough for humans, who have actual context, understanding and domain knowledge, to do it well, and I've, personally, not seen any evidence that an LLM (which is what I'm assuming you're referring to) could do anywhere near as well. I don't doubt that they flag some issues, but without a comprehensive, human, review of the system architecture, implementation and code, you can't be sure what they've missed, and if you're going to do that anyway, you've done the job yourself!

                                    Having said that, I've no doubt that things will improve, programming languages have well defined syntaxes and so they should be some of the easiest types of text for an LLM to parse and build a context from. If that can be combined with enough domain knowledge, a description of the deployment environment and a model that's actually trained for and tuned for code analysis and security auditing, it might be possible to get similar results to humans.

                                    semperverus@lemmy.worldS 1 Reply Last reply
                                    0
                                    • F [email protected]

                                      For personal use? I never do anything that would qualify as "auditing" the code. I might glance at it, but mostly out of curiosity. If I'm contributing then I'll get to know the code as much as is needed for the thing I'm contributing, but still far from a proper audit. I think the idea that the open-source community is keeping a close eye on each other's code is a bit of a myth. No one has the time, unless someone has the money to pay for an audit.

                                      I don't know whether corporations audit the open-source code they use, but in my experience it would be pretty hard to convince the typical executive that this is something worth investing in, like cybersecurity in general. They'd rather wait until disaster strikes then pay more.

                                      A This user is from outside of this forum
                                      A This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by [email protected]
                                      #53

                                      My company only allows downloads from official sources, verified publishers, signed where we can. This is enforced by only allowing the repo server to download stuff and only from places we’ve configured. In general those go through a process to reduce the chances of problems and mitigate them quickly.

                                      We also feed everything through a scanner to flag known vulnerabilities, unacceptable licenses

                                      If it’s fully packaged installable software, we have security guys that take a look at I have no idea what they do and whether it’s an audit

                                      I’m actually going round in circles with this one developer. He needs an open source package and we already cache it on the repo server in several form factors, from reputable sources ….. but he wants to run a random GitHub component which downloads an unsigned tar file from an untrusted source

                                      1 Reply Last reply
                                      0
                                      • A [email protected]

                                        I know lemmy hates AI but auditing open source code seems like something it could be pretty good at. Maybe that's something that may start happening more.

                                        A This user is from outside of this forum
                                        A This user is from outside of this forum
                                        [email protected]
                                        wrote on last edited by [email protected]
                                        #54

                                        I’m actually planning to do an evaluation of a n ai code review tool to see what it can do. I’m actually somewhat optimistic that it could do this better than it can code

                                        I really want to sic it on this one junior programmer who doesn’t understand that you can’t just commit ai generated slop and expect it to work. This last code review after over 60 pieces of feedback I gave up on the rest and left it as he needs to understand when ai generated slop needs help

                                        Ai is usually pretty good at unit tests but it was so bad. Randomly started using a different mocking framework, it actually mocked entire classes and somehow thought that was valid to test them. Wasting tests on non-existent constructors no negative tests, tests without verifying anything. Most of all there were so many compile errors, yet he thought that was fine

                                        1 Reply Last reply
                                        0
                                        • fizz@lemmy.nzF [email protected]

                                          Nah. My security is entirely based on vibes and gambling

                                          I This user is from outside of this forum
                                          I This user is from outside of this forum
                                          [email protected]
                                          wrote on last edited by
                                          #55

                                          Hell yeah brother!

                                          1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups