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.
  • N [email protected]

    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 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
    #57

    Its just whatever is built into copilot.

    You can do a quick and dirty test by opening copilot chat and asking it something like "outline the vulnerabilities found in the following code, with the vulnerabilities listed underneath it. Outline any other issues you notice that are not listed here." and then paste the code and the discovered vulns.

    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!

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

      If it looks sketchy I'll look at it and not trust the binaries. I'm not going to catch anything subtle, but if it sets up a reverse shell, I can notice that shit.

      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!

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

        I don't have the know how to do so, so I go off of what others have said about it. It's at-least got a better chance of being safe than closed source software where people are FULLY guessing at if its safe or not, rather than what we have with at-least 1 person having poured over it that doesn't have ties to the creator.

        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!

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

          No, so I only use well known widely used open source programs. If I'm doing a code review I'm getting paid to do it.

          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!

            jagged_circle@feddit.nlJ This user is from outside of this forum
            jagged_circle@feddit.nlJ This user is from outside of this forum
            [email protected]
            wrote on last edited by
            #61

            I rely on Debian repo maintainers to do this for me

            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!

              jagged_circle@feddit.nlJ This user is from outside of this forum
              jagged_circle@feddit.nlJ This user is from outside of this forum
              [email protected]
              wrote on last edited by
              #62

              I usually just look for CVEs. The biggest red flag is if there's 0 CVEs. The yellow flag is if the CVEs exist, but they don't have a prominent notice on their site about it.

              Best case is they have a lot of CVEs, they have detailed notices on their sites that were published very shortly after the CVE was published, and they have an bug bounty program setup.

              P 1 Reply Last reply
              0
              • vk6flab@lemmy.radioV [email protected]

                I run projects inside Docker on a VM away from important data. It allows me to test and restrict access to specific things of my choosing.

                It works well for me.

                jagged_circle@feddit.nlJ This user is from outside of this forum
                jagged_circle@feddit.nlJ This user is from outside of this forum
                [email protected]
                wrote on last edited by
                #63

                Oof, you are infected

                1 Reply Last reply
                0
                • jagged_circle@feddit.nlJ [email protected]

                  I usually just look for CVEs. The biggest red flag is if there's 0 CVEs. The yellow flag is if the CVEs exist, but they don't have a prominent notice on their site about it.

                  Best case is they have a lot of CVEs, they have detailed notices on their sites that were published very shortly after the CVE was published, and they have an bug bounty program setup.

                  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
                  #64

                  What if the software is just so flawlessly written that there are not CVEs?

                  /s

                  C 1 Reply Last reply
                  0
                  • P [email protected]

                    What if the software is just so flawlessly written that there are not CVEs?

                    /s

                    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
                    #65

                    I maintained an open-source app for many years. It leveraged a crypto library but allowed for different algos, or none at all for testing.

                    Some guy wrote a CVE about "when I disable all crypto it doesn't use crypto". So there's that. It's the only CVE we got before or during my time.

                    But even we got one.

                    P 1 Reply Last reply
                    2
                    • C [email protected]

                      I maintained an open-source app for many years. It leveraged a crypto library but allowed for different algos, or none at all for testing.

                      Some guy wrote a CVE about "when I disable all crypto it doesn't use crypto". So there's that. It's the only CVE we got before or during my time.

                      But even we got one.

                      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
                      #66

                      Oh damn, haha.

                      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!

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

                        Depends on what you mean by "audit".

                        I look at the GitHub repo.

                        • How many stars?
                        • Last commit?
                        • Open issues
                        • Contributer count

                        Do I read the whole code base? Of course not. But this is way more than I can do with closed source software.

                        1 Reply Last reply
                        12
                        • 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!

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

                          Generally, no. On some cases where I'm extending the code or compiling it for some special case that I have, I will read the code. For example, I modified a web project to use LDAP instead of a local user file. In that case, I had to read the code to understand it. In cases where I'm recompiling the code, my pipeline will run some basic vulnerability scans automatically.

                          I would not consider either of these a comprehensive audit, but it's something.

                          Additionally, on any of my server deployments, I have firewall rules which would catch "calls to home". I've seen a few apps calling home, getting blocked but no adverse effects. The only one I can remember is Traefik, which I flipped a config value to not do that.

                          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!

                            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
                            #69

                            no... I do just blindly trust the code.

                            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!

                              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
                              #70

                              Nope! Not at all. I don't think I could find anything even if I tried. I do generally trust OS more than other apps but I feel like I'm taking a risk either way. If it's some niche thing I'm building from a git repo I'll be wary enough to not put my credit card info but that's about it

                              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!

                                4k93n2@lemmy.zip4 This user is from outside of this forum
                                4k93n2@lemmy.zip4 This user is from outside of this forum
                                [email protected]
                                wrote on last edited by
                                #71

                                no. ive skimmed through maybe 2 things overall but thats about it. i use too many apps to be able to audit them all and i dont have the proper skills to audit code anyway, and even if i did i would still have to re-audit after every update or every few years. its just not worth the effort

                                youre taking a chance whether you use closed or open source software, at least with open source there is the option to look through things yourself, and with a popular project theres going to be a bigger chance of others looking through it

                                1 Reply Last reply
                                3
                                • 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!

                                  mitm0@lemmy.worldM This user is from outside of this forum
                                  mitm0@lemmy.worldM This user is from outside of this forum
                                  [email protected]
                                  wrote on last edited by
                                  #72

                                  I look whether if someone has audited the code or not & even then I simply find Libre stuff trustworthy anyways

                                  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!

                                    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 [email protected]
                                    #73

                                    Yes, but with an explanation.

                                    You don't necessarily need coding skills to "audit", you can get q sense of the general state of things by simply reading the docs.

                                    The docs are a good starting point to understand if there will be any issues from weird licensing, whether the author cares enough to keep the project going, etc. Also serious, repeated or chronic issues should be noted in the docs if its something the author cares about.

                                    And remember, even if you do have a background in the coding language, the project might not be built in a style you like or agree with.

                                    I'm pretty proficient at bash scripting, and I found the proxmox helper scripts a spaghetti mess of interdependent scripts that were simply a nightmare to follow for any particular install.

                                    I think the overall message is do your best within your abilities.

                                    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!

                                      mitexleo@buddyverse.oneM This user is from outside of this forum
                                      mitexleo@buddyverse.oneM This user is from outside of this forum
                                      [email protected]
                                      wrote on last edited by
                                      #74

                                      All I do is look into the open issues, the community, docs etc. I don't remember auditing the code.

                                      1 Reply Last reply
                                      0
                                      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