ExLisper Site
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
eicker@lemmy.world to Technology@lemmy.worldEnglish · 5 days ago

Claude Code is accidentally exposing secrets all over GitHub: “Do not ask again” prompt leads to passwords, API keys, and more being shared.

arstechnica.com

external-link
message-square
31
link
fedilink
390
external-link

Claude Code is accidentally exposing secrets all over GitHub: “Do not ask again” prompt leads to passwords, API keys, and more being shared.

arstechnica.com

eicker@lemmy.world to Technology@lemmy.worldEnglish · 5 days ago
message-square
31
link
fedilink
Claude Code is accidentally exposing secrets all over GitHub
arstechnica.com
external-link
Do not ask again" prompt leads to passwords, API keys, and more being shared.
alert-triangle
You must log in or register to comment.
  • eicker@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    104
    ·
    5 days ago

    The irony is spectacular: a coding assistant designed to automate development also automates the creation of security liabilities. And Anthropic’s response seems to be more automation. Perhaps the next AI agent can monitor the first AI agent while a third one explains to management why the database credentials are now public.

    • Z3k3@lemmy.world
      link
      fedilink
      English
      arrow-up
      42
      ·
      5 days ago

      Your comment instantly made my brain jump to https://downdetectorsdowndetector.com/

      • Alexstarfire@lemmy.world
        link
        fedilink
        English
        arrow-up
        8
        ·
        5 days ago

        How do I know if they are both down or if it’s my internet?

        • Z3k3@lemmy.world
          link
          fedilink
          English
          arrow-up
          20
          ·
          5 days ago

          Got you covered fam. https://downdetectorsdowndetectorsdowndetector.com/

          • Alexstarfire@lemmy.world
            link
            fedilink
            English
            arrow-up
            15
            ·
            5 days ago

            • Steve@startrek.website
              link
              fedilink
              English
              arrow-up
              3
              ·
              5 days ago

              How long can a URL be?

              • frongt@lemmy.zip
                link
                fedilink
                English
                arrow-up
                6
                ·
                5 days ago

                http://theofficialabsolutelongestdomainnameregisteredontheworldwideweb.international/

                The URL query string doesn’t have a fixed max length, but if you’re worried about the length of a get you should already be using a post.

              • ayyy@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                2
                ·
                4 days ago

                One of the more frustrating parts of Internet standards is that there is no defined limit. You just get to keep going and going until some piece of software in the chain mysteriously breaks.

        • rockSlayer@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          8
          ·
          5 days ago

          Great news, there’s a down detector for the down detector’s down detector. They even have a down detector for the down detector’s down detector down detector

      • paraphrand@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        5 days ago

        Fuzz buster buster buster

      • Hugucinogens@lemmy.blahaj.zone
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        My life has been enriched, learning about this

    • affenlehrer@feddit.org
      link
      fedilink
      English
      arrow-up
      14
      ·
      5 days ago

      I detected the sarcasm but I have to say it anyways : this won’t work as long all of them are built on the same technology which is inherently vulnerable for prompt injections

    • DarkSpectrum@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      5 days ago

      This is my point with AI. The risk is not that it will become something new, it’s that it will become like us.

    • non_burglar@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      One is ultimately responsible for one’s output.

  • partial_accumen@lemmy.world
    link
    fedilink
    English
    arrow-up
    71
    ·
    5 days ago

    When a user chooses the “Yes, and don’t ask again” option to approve running a command, that choice gets stored as part of a rule in the local “.claude/settings.local.json” file on the user’s computer.

    Saving privileged credentials in the clear in a config file? I think I can take credit for Claude doing that as this. Claude was clearly trained on my StackOverflow posts from 15 years ago.

    • NotMyOldRedditName@lemmy.world
      link
      fedilink
      English
      arrow-up
      12
      ·
      5 days ago

      Thank you for your critically important contribution.

  • Aks@pawb.social
    link
    fedilink
    English
    arrow-up
    41
    ·
    5 days ago

    Share no secrets, make no mistake

    • xvapx@lemmy.world
      link
      fedilink
      English
      arrow-up
      18
      ·
      5 days ago

      who are you, who are so wise in the ways of science?

      • Aks@pawb.social
        link
        fedilink
        English
        arrow-up
        9
        ·
        5 days ago

        Im gay

        • Goldholz @lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          4
          ·
          5 days ago

          Checks out

      • OrteilGenou@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        5 days ago

        That’s Doug

        • WindyRebel@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          5 days ago

          Mystery Science Doug? Daaaaamn. We got a celebrity here!

  • BastingChemina@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    15
    ·
    5 days ago

    The fact that people give Claude access to their secrets is a big liability in the first place.

    Even Claude itself warns you about it. I did shared a snippet of code with API keys in it by mistake, I got a huge warning telling me that I should consider these compromise and change them immediately.

  • Wispy2891@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    5 days ago

    Why they’re blaming the tool instead of the user?

    It’s the vibe coder’s fault if they don’t even watch the files edited in a commit.

    Not only they approve a commit without reading the code, but they approve without watching the list of edited files in a commit? They don’t use vs code or something that shows a diff? Just type in a box and let the algorithm have full control on the commits, blindly?

    • ayyy@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 days ago

      But I was told we don’t need developers anymore because Claude can do everything.

    • Kangae_Hishiryo@scribe.disroot.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      4 days ago

      Because the tool it’s inherently built to steal data.

  • Kangae_Hishiryo@scribe.disroot.org
    link
    fedilink
    English
    arrow-up
    6
    ·
    4 days ago

    Remember, that’s not a bug, that’s not a vulnerability, that’s an intentional feature. Stealing data it’s what lets the slop machines survive.

  • Artisian@lemmy.world
    link
    fedilink
    English
    arrow-up
    8
    ·
    5 days ago

    So this is a pretty bad headline; it isn’t Claude Code sharing the secrets, it’s the user syncing their command history.

    I’m sad we can’t get claude to share what it’s seen.

  • TWeaK@lemmy.today
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 days ago

    It took me a little while to realise they just mean the tickbox you select to remember your password, rather than some special prompt being fed into Claude, along the lines of “make no mistakes” or “don’t hallucinate”.

  • Aceticon@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    5
    ·
    5 days ago

    We’re trully entering a new Golden Age for hacking!

  • Gpennyhigh@lemmy.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 days ago

    Oh Claude, why you do me this way?

Technology@lemmy.world

technology@lemmy.world

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !technology@lemmy.world

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


  • @L4s@lemmy.world
  • @autotldr@lemmings.world
  • @PipedLinkBot@feddit.rocks
  • @wikibot@lemmy.world
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 2.57K users / day
  • 7.91K users / week
  • 13.8K users / month
  • 26.9K users / 6 months
  • 1 local subscriber
  • 89.8K subscribers
  • 10.3K Posts
  • 232K Comments
  • Modlog
  • mods:
  • L3s@lemmy.world
  • enu@lemmy.world
  • Technopagan@lemmy.world
  • L4sBot@lemmy.worldB
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org