Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • 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 (Cyborg)
  • No Skin
Collapse
Brand Logo

CIRCLE WITH A DOT

  1. Home
  2. Uncategorized
  3. Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

Scheduled Pinned Locked Moved Uncategorized
31 Posts 27 Posters 1 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.
  • nixcraft@mastodon.socialN nixcraft@mastodon.social

    Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

    Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

    Link Preview Image
    clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

    See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

    favicon

    GitHub (github.com)

    These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

    dvdschneider@infosec.exchangeD This user is from outside of this forum
    dvdschneider@infosec.exchangeD This user is from outside of this forum
    dvdschneider@infosec.exchange
    wrote last edited by
    #15

    @nixCraft reminds me of the old joke that all Ai is just regex

    1 Reply Last reply
    0
    • nixcraft@mastodon.socialN nixcraft@mastodon.social

      Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

      Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

      Link Preview Image
      clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

      See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

      favicon

      GitHub (github.com)

      These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

      wordshaper@weatherishappening.networkW This user is from outside of this forum
      wordshaper@weatherishappening.networkW This user is from outside of this forum
      wordshaper@weatherishappening.network
      wrote last edited by
      #16

      @nixCraft Oh, god, we used to joke that we could replace a lot of people doing bullshit jobs with a small perl script. Apparently Anthropic took that joke to heart and is trying to make it real.

      nymnympseudonymm@mstdn.scienceN 1 Reply Last reply
      0
      • wordshaper@weatherishappening.networkW wordshaper@weatherishappening.network

        @nixCraft Oh, god, we used to joke that we could replace a lot of people doing bullshit jobs with a small perl script. Apparently Anthropic took that joke to heart and is trying to make it real.

        nymnympseudonymm@mstdn.scienceN This user is from outside of this forum
        nymnympseudonymm@mstdn.scienceN This user is from outside of this forum
        nymnympseudonymm@mstdn.science
        wrote last edited by
        #17

        @wordshaper @nixCraft s/small perl script/terabytes of data, 10,000 GPUs, and PyML/

        wordshaper@weatherishappening.networkW 1 Reply Last reply
        0
        • nymnympseudonymm@mstdn.scienceN nymnympseudonymm@mstdn.science

          @wordshaper @nixCraft s/small perl script/terabytes of data, 10,000 GPUs, and PyML/

          wordshaper@weatherishappening.networkW This user is from outside of this forum
          wordshaper@weatherishappening.networkW This user is from outside of this forum
          wordshaper@weatherishappening.network
          wrote last edited by
          #18

          @Nymnympseudonymm @nixCraft Well, yeah, that's then fronted with what's essentially a very small perl script. (I'm sure someone will be able to work out how to drop the LLM back end, you should be able to express what Claude Code does with a sufficiently expressive regex...)

          1 Reply Last reply
          0
          • nixcraft@mastodon.socialN nixcraft@mastodon.social

            Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

            Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

            Link Preview Image
            clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

            See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

            favicon

            GitHub (github.com)

            These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

            trkzn@mastodon.socialT This user is from outside of this forum
            trkzn@mastodon.socialT This user is from outside of this forum
            trkzn@mastodon.social
            wrote last edited by
            #19

            @nixCraft Holy file naming inconsistency !

            1 Reply Last reply
            0
            • stefano@mastodon.bsd.cafeS stefano@mastodon.bsd.cafe shared this topic
            • nixcraft@mastodon.socialN nixcraft@mastodon.social

              Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

              Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

              Link Preview Image
              clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

              See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

              favicon

              GitHub (github.com)

              These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

              darkasvim@fosstodon.orgD This user is from outside of this forum
              darkasvim@fosstodon.orgD This user is from outside of this forum
              darkasvim@fosstodon.org
              wrote last edited by
              #20

              @nixCraft Has this been forked yet?

              jaalsa@mastodon.bsd.cafeJ 1 Reply Last reply
              0
              • nixcraft@mastodon.socialN nixcraft@mastodon.social

                Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                Link Preview Image
                clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                favicon

                GitHub (github.com)

                These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                buckfiftyseven@mastodon.socialB This user is from outside of this forum
                buckfiftyseven@mastodon.socialB This user is from outside of this forum
                buckfiftyseven@mastodon.social
                wrote last edited by
                #21

                @nixCraft npm, what can't it do

                1 Reply Last reply
                0
                • darkasvim@fosstodon.orgD darkasvim@fosstodon.org

                  @nixCraft Has this been forked yet?

                  jaalsa@mastodon.bsd.cafeJ This user is from outside of this forum
                  jaalsa@mastodon.bsd.cafeJ This user is from outside of this forum
                  jaalsa@mastodon.bsd.cafe
                  wrote last edited by
                  #22

                  @Darkasvim @nixCraft

                  1 Reply Last reply
                  0
                  • nixcraft@mastodon.socialN nixcraft@mastodon.social

                    Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                    Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                    Link Preview Image
                    clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                    See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                    favicon

                    GitHub (github.com)

                    These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                    coldfish@sfba.socialC This user is from outside of this forum
                    coldfish@sfba.socialC This user is from outside of this forum
                    coldfish@sfba.social
                    wrote last edited by
                    #23

                    @nixCraft You ever work with a new developer who's super excited to work on a project, and they stay up all night, every night working on code, just pumping it out.

                    And it's cool, and it works, but there's no testing, no real code review, no planning, no real defined goals. Just developer on 1000 cups of coffee.

                    Coding with ClaudeCode CLI is excellent if you simply have it do the scut-work for you. I mean, take a screen shot of an old app that you are converting to another language and say, "Make me a form with all these fields, using the styles I have defined in this css..."

                    And it grinds it out, just like a normal wizard that makes a template that is like 90% done from a viewer-perpective.

                    Now tell it, "I need to design an inventory system for a rental company that includes windows of availability for both serialized and pooled stock" And it will give you a gigantic system that 100% will not work at all, ever.

                    So, real thought is still absent.

                    1 Reply Last reply
                    0
                    • nixcraft@mastodon.socialN nixcraft@mastodon.social

                      Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                      Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                      Link Preview Image
                      clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                      See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                      favicon

                      GitHub (github.com)

                      These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                      divverent@misskey.deD This user is from outside of this forum
                      divverent@misskey.deD This user is from outside of this forum
                      divverent@misskey.de
                      wrote last edited by
                      #24
                      @nixCraft@mastodon.social https://github.com/chatgptprojects/claude-code/blob/642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc/src/utils/undercover.ts

                      Features like this should be outright illegal.
                      1 Reply Last reply
                      0
                      • nixcraft@mastodon.socialN nixcraft@mastodon.social

                        Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                        Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                        Link Preview Image
                        clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                        See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                        favicon

                        GitHub (github.com)

                        These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                        qgustavor@urusai.socialQ This user is from outside of this forum
                        qgustavor@urusai.socialQ This user is from outside of this forum
                        qgustavor@urusai.social
                        wrote last edited by
                        #25

                        @nixCraft on one hand, using regex for sentiment analysis in an AI app?!??? Don't there are many models made just for that?

                        On the other hand, that's exactly a solution a LLM would propose for that problem.

                        1 Reply Last reply
                        0
                        • nixcraft@mastodon.socialN nixcraft@mastodon.social

                          Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                          Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                          Link Preview Image
                          clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                          See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                          favicon

                          GitHub (github.com)

                          These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                          2something@transfem.social2 This user is from outside of this forum
                          2something@transfem.social2 This user is from outside of this forum
                          2something@transfem.social
                          wrote last edited by
                          #26

                          @nixCraft@mastodon.social Can someone use AI to "cleanly reimplement" it and make it gpl?

                          1 Reply Last reply
                          0
                          • nixcraft@mastodon.socialN nixcraft@mastodon.social

                            Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                            Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                            Link Preview Image
                            clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                            See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                            favicon

                            GitHub (github.com)

                            These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                            n_dimension@infosec.exchangeN This user is from outside of this forum
                            n_dimension@infosec.exchangeN This user is from outside of this forum
                            n_dimension@infosec.exchange
                            wrote last edited by
                            #27

                            @nixCraft

                            The npm installation method is now deprecated.
                            Native installer is faster, requires no dependencies, and auto-updates in the background.
                            ...the main cleanup step is making sure the old npm version is fully gone.

                            I almost didn't want to post, but since the wood folk have so little joy in their lives they dance around the fire in the woods, every time they think clankers stumble.

                            Youse are getting excitable over deprecated code, which in #Ai is last Friday push to prod.

                            #claudecode #vibecode #claude

                            fedihacker@masto.esF 1 Reply Last reply
                            0
                            • nixcraft@mastodon.socialN nixcraft@mastodon.social

                              Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                              Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                              Link Preview Image
                              clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                              See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                              favicon

                              GitHub (github.com)

                              These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                              cxj@phpc.socialC This user is from outside of this forum
                              cxj@phpc.socialC This user is from outside of this forum
                              cxj@phpc.social
                              wrote last edited by
                              #28

                              @nixCraft Well now. This will be interesting as people dig into that code.

                              1 Reply Last reply
                              0
                              • limebar@mastodon.socialL limebar@mastodon.social shared this topic
                              • n_dimension@infosec.exchangeN n_dimension@infosec.exchange

                                @nixCraft

                                The npm installation method is now deprecated.
                                Native installer is faster, requires no dependencies, and auto-updates in the background.
                                ...the main cleanup step is making sure the old npm version is fully gone.

                                I almost didn't want to post, but since the wood folk have so little joy in their lives they dance around the fire in the woods, every time they think clankers stumble.

                                Youse are getting excitable over deprecated code, which in #Ai is last Friday push to prod.

                                #claudecode #vibecode #claude

                                fedihacker@masto.esF This user is from outside of this forum
                                fedihacker@masto.esF This user is from outside of this forum
                                fedihacker@masto.es
                                wrote last edited by
                                #29

                                @n_dimension @nixCraft wtf is this nonsense post?

                                1 Reply Last reply
                                0
                                • nixcraft@mastodon.socialN nixcraft@mastodon.social

                                  Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                                  Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                                  Link Preview Image
                                  clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                                  See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                                  favicon

                                  GitHub (github.com)

                                  These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                                  fedihacker@masto.esF This user is from outside of this forum
                                  fedihacker@masto.esF This user is from outside of this forum
                                  fedihacker@masto.es
                                  wrote last edited by
                                  #30

                                  @nixCraft That's what happens when you vibe code the shit out the window.

                                  Of course they were using typescript. That's one of the interpreted languages the LLMs have better results with.

                                  1 Reply Last reply
                                  0
                                  • nixcraft@mastodon.socialN nixcraft@mastodon.social

                                    Claude Code's source code has been leaked via a map file in their NPM registry https://xcancel.com/Fried_rice/status/2038894956459290963 πŸ˜‚

                                    Guess what? Most of code is either slop or even old good regex like for detecting negative sentiment in users prompt which is then logged

                                    Link Preview Image
                                    clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                                    See your claude code logs in clear details in your dashboard - clear-code/src/utils/userPromptKeywords.ts at 642c7f944bbe5f7e57c05d756ab7fa7c9c5035cc Β· chatgptprojects/clear-code

                                    favicon

                                    GitHub (github.com)

                                    These tools are going to replace 80% of all dev jobs and their plugin is gonna maintain all security and banking code? 🀑

                                    nixcraft@mastodon.socialN This user is from outside of this forum
                                    nixcraft@mastodon.socialN This user is from outside of this forum
                                    nixcraft@mastodon.social
                                    wrote last edited by
                                    #31

                                    Anthropico is now takeing down those repos with DMCA. So someone convert the whole codebase from TypeScript to Python with Codex or such tools. So it violates no copyright & cannot be taken down. I guess AI is quietly erasing copyright πŸ˜‚ https://github.com/instructkr/claw-code

                                    1 Reply Last reply
                                    2
                                    0
                                    • R relay@relay.infosec.exchange shared this topic
                                    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