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.
  • crazyeddie@mastodon.socialC crazyeddie@mastodon.social

    @nixCraft "This would’ve been an insane April fools prank"

    X Cancelled | Verifying your request

    favicon

    (xcancel.com)

    crazyeddie@mastodon.socialC This user is from outside of this forum
    crazyeddie@mastodon.socialC This user is from outside of this forum
    crazyeddie@mastodon.social
    wrote last edited by
    #8

    @nixCraft HAHAHAHA

    X Cancelled | Verifying your request

    favicon

    (xcancel.com)

    1 Reply Last reply
    0
    • dirkhh@hachyderm.ioD dirkhh@hachyderm.io

      @nixCraft
      Can't wait for someone to use Claude to recreate Claude Code from this source dump and then creates fake Claude packages with an info stealer or another fun supply chain disaster...

      boricua_yakuza@infosec.exchangeB This user is from outside of this forum
      boricua_yakuza@infosec.exchangeB This user is from outside of this forum
      boricua_yakuza@infosec.exchange
      wrote last edited by
      #9

      @dirkhh @nixCraft

      Good point. Just a matter of time before this becomes a malicious chrome extension

      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? 🀑

        sanskritfritz@fosstodon.orgS This user is from outside of this forum
        sanskritfritz@fosstodon.orgS This user is from outside of this forum
        sanskritfritz@fosstodon.org
        wrote last edited by
        #10

        @nixCraft
        Nice one, I too fell for this joke πŸ˜„

        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? 🀑

          stepheneb@ruby.socialS This user is from outside of this forum
          stepheneb@ruby.socialS This user is from outside of this forum
          stepheneb@ruby.social
          wrote last edited by
          #11

          @nixCraft

          The coordinator prompt starts at line 111

          Link Preview Image
          File not found Β· chatgptprojects/clear-code

          See your claude code logs in clear details in your dashboard - File not found Β· chatgptprojects/clear-code

          favicon

          GitHub (github.com)

          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? 🀑

            mndflayr@metalhead.clubM This user is from outside of this forum
            mndflayr@metalhead.clubM This user is from outside of this forum
            mndflayr@metalhead.club
            wrote last edited by
            #12

            @nixCraft

            You're one day early.

            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? 🀑

              gimulnautti@mastodon.greenG This user is from outside of this forum
              gimulnautti@mastodon.greenG This user is from outside of this forum
              gimulnautti@mastodon.green
              wrote last edited by
              #13

              @nixCraft Haha, if you tell it: ”you can’t go on like this!”, it’ll interpret that as a positive πŸ˜…

              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? 🀑

                hoboshrimps@mastodon.socialH This user is from outside of this forum
                hoboshrimps@mastodon.socialH This user is from outside of this forum
                hoboshrimps@mastodon.social
                wrote last edited by
                #14

                @nixCraft They did say Claude has been coding itself for a little while now with minimal human input. Now we see the fruits of its labor https://www.axios.com/2026/01/13/anthropic-claude-code-cowork-vibe-coding

                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? 🀑

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