Skip to content
  • Hjem
  • Seneste
  • Etiketter
  • Populære
  • Verden
  • Bruger
  • Grupper
Temaer
  • Light
  • Brite
  • 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
Kollaps
FARVEL BIG TECH
  1. Forside
  2. Ikke-kategoriseret
  3. This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been.

This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been.

Planlagt Fastgjort Låst Flyttet Ikke-kategoriseret
77 Indlæg 49 Posters 0 Visninger
  • Ældste til nyeste
  • Nyeste til ældste
  • Most Votes
Svar
  • Svar som emne
Login for at svare
Denne tråd er blevet slettet. Kun brugere med emne behandlings privilegier kan se den.
  • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

    This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

    The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

    LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

    Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

    And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

    An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

    I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

    demiurg@fosstodon.orgD This user is from outside of this forum
    demiurg@fosstodon.orgD This user is from outside of this forum
    demiurg@fosstodon.org
    wrote sidst redigeret af
    #6

    @david_chisnall Sorry, but this article is not a good source. There is nothing stated about the bug(s) and the narrative is the dev has brought 2 bugs to prod in 6 months and was threatend to be fired. That alone does not sound plausible. The rest is the usual fear mongering. As if subtile bugs is something new.

    rhelune@todon.euR 1 Reply Last reply
    0
    • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

      @dysfun Well, that used to be cheaper, but with subsidised LLM subscriptions it makes sense to onshore it.

      dysfun@social.treehouse.systemsD This user is from outside of this forum
      dysfun@social.treehouse.systemsD This user is from outside of this forum
      dysfun@social.treehouse.systems
      wrote sidst redigeret af
      #7

      @david_chisnall you say this, but salt is cheap out east.

      1 Reply Last reply
      0
      • amenonsen@flipping.rocksA amenonsen@flipping.rocks

        @david_chisnall I was reading a thread recently in which people were trying to formulate an LLM policy for a project, and someone said (words to the effect that) we would ideally have both AI and human reviews, but if they had to get rid of one, they would keep the AI reviews.

        david_chisnall@infosec.exchangeD This user is from outside of this forum
        david_chisnall@infosec.exchangeD This user is from outside of this forum
        david_chisnall@infosec.exchange
        wrote sidst redigeret af
        #8

        @amenonsen Sounds terrifying. I’ve seen ‘AI’ reviews and they have a huge number of false positives. Actually applying their suggestions makes the code worse on average. Reviewing the output from ‘AI’ reviews takes a lot of effort.

        But, beyond that, it’s missing two of the key values of code review: ensuring that the code is understood by at least two people and ensuring that the code is understandable by someone other than the author. If you give up on that, you are assuming that code that makes it into your tree will be understood by at most one person, who may leave the project at any point.

        I’ve worked on projects like that long before LLMs were a thing and, well, there are good reasons sensible projects try really hard to avoid becoming like that again.

        tuban_muzuru@beige.partyT 1 Reply Last reply
        0
        • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

          This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

          The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

          LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

          Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

          And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

          An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

          I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

          spitfire@mastodon.deS This user is from outside of this forum
          spitfire@mastodon.deS This user is from outside of this forum
          spitfire@mastodon.de
          wrote sidst redigeret af
          #9

          @david_chisnall I'm telling people since day one that this might be a major problem down the road. But hey - I am not a developer myself, just an ordinary computer-toucher. What do I know? 🤷

          david_chisnall@infosec.exchangeD 1 Reply Last reply
          0
          • spitfire@mastodon.deS spitfire@mastodon.de

            @david_chisnall I'm telling people since day one that this might be a major problem down the road. But hey - I am not a developer myself, just an ordinary computer-toucher. What do I know? 🤷

            david_chisnall@infosec.exchangeD This user is from outside of this forum
            david_chisnall@infosec.exchangeD This user is from outside of this forum
            david_chisnall@infosec.exchange
            wrote sidst redigeret af
            #10

            @spitfire

            It’s something you can predict if you’ve read LLM-generated prose too. They generate entirely plausible-sounding text. Spotting the errors is hard. If you’d written the text, you wouldn’t introduce errors from completely fabricated data and citations. If someone who wasn’t actively trying to trick you wrote the text, they wouldn’t include made-up numbers and citations. But somehow people expect code to be magical and special.

            spitfire@mastodon.deS 1 Reply Last reply
            0
            • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

              @spitfire

              It’s something you can predict if you’ve read LLM-generated prose too. They generate entirely plausible-sounding text. Spotting the errors is hard. If you’d written the text, you wouldn’t introduce errors from completely fabricated data and citations. If someone who wasn’t actively trying to trick you wrote the text, they wouldn’t include made-up numbers and citations. But somehow people expect code to be magical and special.

              spitfire@mastodon.deS This user is from outside of this forum
              spitfire@mastodon.deS This user is from outside of this forum
              spitfire@mastodon.de
              wrote sidst redigeret af
              #11

              @david_chisnall I once told ChatGPT to create a non-standard x-to-y belt-balancer for the game factorio AND print out the encoded export-string for me so I can easily import it into the game. It was a test, not a real thing I needed. I just wanted to know what that thing puts out if anything at all. And it did put out something that looked very, very plausible. Even said string. Well, guess what happened when I tried to import it into the game? It was invalid of course! 😆

              david_chisnall@infosec.exchangeD 1 Reply Last reply
              0
              • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                hbons@mastodon.socialH This user is from outside of this forum
                hbons@mastodon.socialH This user is from outside of this forum
                hbons@mastodon.social
                wrote sidst redigeret af
                #12

                @david_chisnall looks like slop writing though. 😕

                "But what if the reality here is more complicated?"
                "This is a key point."
                "Here’s the thing: he’s not alone."
                "But it does emphasize an important truth:"

                davidgerard@circumstances.runD cholling@bytes.programming.devC thirstybear@agilodon.socialT 3 Replies Last reply
                0
                • spitfire@mastodon.deS spitfire@mastodon.de

                  @david_chisnall I once told ChatGPT to create a non-standard x-to-y belt-balancer for the game factorio AND print out the encoded export-string for me so I can easily import it into the game. It was a test, not a real thing I needed. I just wanted to know what that thing puts out if anything at all. And it did put out something that looked very, very plausible. Even said string. Well, guess what happened when I tried to import it into the game? It was invalid of course! 😆

                  david_chisnall@infosec.exchangeD This user is from outside of this forum
                  david_chisnall@infosec.exchangeD This user is from outside of this forum
                  david_chisnall@infosec.exchange
                  wrote sidst redigeret af
                  #13

                  @spitfire I think that’s part of why people trust it for code. You know it was invalid because the parser rejected it. If you have to compile the code, run it, and pass tests, then you have some confidence that it is not completely wrong. The problem is that you have a tool that is especially good at producing subtly wrong output.

                  1 Reply Last reply
                  0
                  • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                    This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                    The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                    LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                    Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                    And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                    An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                    I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                    davidgerard@circumstances.runD This user is from outside of this forum
                    davidgerard@circumstances.runD This user is from outside of this forum
                    davidgerard@circumstances.run
                    wrote sidst redigeret af
                    #14

                    @david_chisnall this piece would be less annoying if it didn't offer the evidence against Ai coding and then say it was good really

                    xan@xantronix.socialX iain@kolektiva.socialI 2 Replies Last reply
                    0
                    • hbons@mastodon.socialH hbons@mastodon.social

                      @david_chisnall looks like slop writing though. 😕

                      "But what if the reality here is more complicated?"
                      "This is a key point."
                      "Here’s the thing: he’s not alone."
                      "But it does emphasize an important truth:"

                      davidgerard@circumstances.runD This user is from outside of this forum
                      davidgerard@circumstances.runD This user is from outside of this forum
                      davidgerard@circumstances.run
                      wrote sidst redigeret af
                      #15

                      @hbons @david_chisnall yeah that's the other problem

                      1 Reply Last reply
                      0
                      • davidgerard@circumstances.runD davidgerard@circumstances.run

                        @david_chisnall this piece would be less annoying if it didn't offer the evidence against Ai coding and then say it was good really

                        xan@xantronix.socialX This user is from outside of this forum
                        xan@xantronix.socialX This user is from outside of this forum
                        xan@xantronix.social
                        wrote sidst redigeret af
                        #16

                        @davidgerard it's always hard to know when people are hedging because they don't want to hurt people's feelings, or if they've just adopted magical thinking after staring into Pandora's Box @david_chisnall

                        1 Reply Last reply
                        0
                        • davidgerard@circumstances.runD davidgerard@circumstances.run

                          @david_chisnall this piece would be less annoying if it didn't offer the evidence against Ai coding and then say it was good really

                          iain@kolektiva.socialI This user is from outside of this forum
                          iain@kolektiva.socialI This user is from outside of this forum
                          iain@kolektiva.social
                          wrote sidst redigeret af
                          #17

                          @davidgerard @david_chisnall see the other popular article about the decline in online writing because everyone uses AI which ends with “but my use of AI is good, actually”

                          1 Reply Last reply
                          0
                          • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                            This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                            The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                            LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                            Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                            And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                            An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                            I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                            thirstybear@agilodon.socialT This user is from outside of this forum
                            thirstybear@agilodon.socialT This user is from outside of this forum
                            thirstybear@agilodon.social
                            wrote sidst redigeret af
                            #18

                            @david_chisnall “LLMs, by their nature, generate statistically plausible output." and “trained on code that made it past code review”.

                            <Ding!> 🎯 Bang on target.

                            mirabilos@toot.mirbsd.orgM 1 Reply Last reply
                            0
                            • hbons@mastodon.socialH hbons@mastodon.social

                              @david_chisnall looks like slop writing though. 😕

                              "But what if the reality here is more complicated?"
                              "This is a key point."
                              "Here’s the thing: he’s not alone."
                              "But it does emphasize an important truth:"

                              cholling@bytes.programming.devC This user is from outside of this forum
                              cholling@bytes.programming.devC This user is from outside of this forum
                              cholling@bytes.programming.dev
                              wrote sidst redigeret af
                              #19

                              @hbons @david_chisnall All of those phrases were in common use before LLMs. That's why LLMs use them. You can't conclude from their presence that this is slop.

                              hbons@mastodon.socialH 1 Reply Last reply
                              0
                              • hbons@mastodon.socialH hbons@mastodon.social

                                @david_chisnall looks like slop writing though. 😕

                                "But what if the reality here is more complicated?"
                                "This is a key point."
                                "Here’s the thing: he’s not alone."
                                "But it does emphasize an important truth:"

                                thirstybear@agilodon.socialT This user is from outside of this forum
                                thirstybear@agilodon.socialT This user is from outside of this forum
                                thirstybear@agilodon.social
                                wrote sidst redigeret af
                                #20

                                @hbons @david_chisnall Damn…that's my (non-AI) writing style screwed then 😕

                                hbons@mastodon.socialH 1 Reply Last reply
                                0
                                • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                                  This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                                  The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                                  LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                                  Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                                  And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                                  An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                                  I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                                  kp@bsd.networkK This user is from outside of this forum
                                  kp@bsd.networkK This user is from outside of this forum
                                  kp@bsd.network
                                  wrote sidst redigeret af
                                  #21

                                  @david_chisnall That's (on of) my concern(s) with LLM submissions too.
                                  It's going to be so much more work to review them than reviewing human submissions, and at the same time the payoff is less valuable. Human submissions, even if they're flawed at first, may result in a new contributor. Reviewing LLM submissions will not grow a new contributor.

                                  dch@bsd.networkD bcasiello@floss.socialB cavyherd@wandering.shopC 3 Replies Last reply
                                  0
                                  • cholling@bytes.programming.devC cholling@bytes.programming.dev

                                    @hbons @david_chisnall All of those phrases were in common use before LLMs. That's why LLMs use them. You can't conclude from their presence that this is slop.

                                    hbons@mastodon.socialH This user is from outside of this forum
                                    hbons@mastodon.socialH This user is from outside of this forum
                                    hbons@mastodon.social
                                    wrote sidst redigeret af
                                    #22

                                    @cholling @david_chisnall from this amount I’m 90% certain.

                                    datarama@hachyderm.ioD 1 Reply Last reply
                                    0
                                    • thirstybear@agilodon.socialT thirstybear@agilodon.social

                                      @hbons @david_chisnall Damn…that's my (non-AI) writing style screwed then 😕

                                      hbons@mastodon.socialH This user is from outside of this forum
                                      hbons@mastodon.socialH This user is from outside of this forum
                                      hbons@mastodon.social
                                      wrote sidst redigeret af
                                      #23

                                      @thirstybear @david_chisnall pretty sure your style is better than this.

                                      rhelune@todon.euR 1 Reply Last reply
                                      0
                                      • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                                        This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                                        The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                                        LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                                        Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                                        And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                                        An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                                        I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                                        troed@swecyb.comT This user is from outside of this forum
                                        troed@swecyb.comT This user is from outside of this forum
                                        troed@swecyb.com
                                        wrote sidst redigeret af
                                        #24

                                        @david_chisnall True. I've found that strict TDD is the best way to handle it. The Superpowers plugin is excellent at enforcing it with the agents.

                                        I'm seeing remarkably few subtle bugs in agent produced code.

                                        https://github.com/obra/superpowers

                                        1 Reply Last reply
                                        0
                                        • david_chisnall@infosec.exchangeD david_chisnall@infosec.exchange

                                          This article starts with a story from someone who tried Claude Code and found it amazing, but then switches to the same person a few months later seeing what a disaster it’s been. This quote is key:

                                          The problem is that code produced by an AI agent looks reasonable, but can contain ‘hard-to-spot bugs’ that end up causing major problems

                                          LLMs, by their nature, generate statistically plausible output. That is often a set that overlaps with correct output. But the things that are not correct look exactly the same as the ones they are.

                                          Learning to review code is hard. You look for the bugs that you expect to be possible implementing it by using your theory of mind for the person writing the code and the kinds of things that they might overlook (not necessarily a specific person, but the kinds of things people miss) and also common bug classes.

                                          And the big help is that the person writing the code is not thinking adversarially. They are not trying to sneak bugs in. Normally. Unless they’re a supply-chain attacker, and we’ve a depressing amount of evidence that code review doesn’t catch supply-chain attacks.

                                          An LLM is not trying to do anything. It has no intent. But it is a machine that is trained on code that made it past code review. The kind of bugs that it will generate are ones that look like code that appeared in production. This is exactly what an attacker would do: try to write code that looks correct but is subtly wrong.

                                          I’m only being slightly flippant when I say LLMs are a mechanism for bringing supply chain attacks in house.

                                          S This user is from outside of this forum
                                          S This user is from outside of this forum
                                          slotos@toot.community
                                          wrote sidst redigeret af
                                          #25

                                          @david_chisnall

                                          > I’m only being slightly flippant when I say LLMs are a mechanism for brining supply chain attacks in house.

                                          I am, however, absolutely serious when I say that outsourcing code production to a handful providers is the series of supply chain attacks in the making.

                                          The use of LLMs is a cherry on top.

                                          1 Reply Last reply
                                          0
                                          Svar
                                          • Svar som emne
                                          Login for at svare
                                          • Ældste til nyeste
                                          • Nyeste til ældste
                                          • Most Votes


                                          • Log ind

                                          • Har du ikke en konto? Tilmeld

                                          • Login or register to search.
                                          Powered by NodeBB Contributors
                                          Graciously hosted by data.coop
                                          • First post
                                            Last post
                                          0
                                          • Hjem
                                          • Seneste
                                          • Etiketter
                                          • Populære
                                          • Verden
                                          • Bruger
                                          • Grupper