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

    dirkhh@hachyderm.ioD This user is from outside of this forum
    dirkhh@hachyderm.ioD This user is from outside of this forum
    dirkhh@hachyderm.io
    wrote last edited by
    #3

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

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

      @nixCraft An entire CLI with fs support in typescript is diabolical

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

        cryptgoat@fedifreu.deC This user is from outside of this forum
        cryptgoat@fedifreu.deC This user is from outside of this forum
        cryptgoat@fedifreu.de
        wrote last edited by
        #5

        @nixCraft

        Edit: Oh, I was way too slow.

        Link Preview Image
        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? 🀑

          synnef@woof.techS This user is from outside of this forum
          synnef@woof.techS This user is from outside of this forum
          synnef@woof.tech
          wrote last edited by
          #6

          @nixCraft regex????????????????? oh my god lmao

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

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

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

            X Cancelled | Verifying your request

            favicon

            (xcancel.com)

            crazyeddie@mastodon.socialC 1 Reply Last reply
            0
            • 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
                                          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