• Web3 developer Brian Guan lost $40,000 after accidentally posting his wallet’s secret keys publicly on GitHub, with the funds being drained in just two minutes.
  • The crypto community’s reactions were mixed, with some offering support and others mocking Guan’s previous comments about developers using AI tools like ChatGPT for coding.
  • This incident highlights ongoing debates about security practices and the role of AI in software development within the crypto community.
    • fart_pickle@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      10 months ago

      Having plain text secrets, or having secrets at all in a repository is always a bad practice. Even if it’s a super-duper private/local/no one will ever see this repo.

    • Bookmeat@lemmy.world
      link
      fedilink
      English
      arrow-up
      14
      ·
      10 months ago

      Users often don’t take care to separate private and public environments. They just dump all their stuff into one and expect their brain to make the correct decision all the time.

      Put your private data into a private space. Never put private data into a mixed use space or a public space.

      e.g. Don’t use your personal email at work. Don’t use your personal phone for business. Don’t put your passwords or crypto keys in the same github or gitlab account or even instance and don’t reuse passwords and keys, etc.

        • barsquid@lemmy.world
          link
          fedilink
          English
          arrow-up
          5
          ·
          10 months ago

          If you don’t have a policy of never committing private keys to any repo, you should choose a policy of never transitioning any private repo to public. IMO if you don’t choose strict and effective policy with low cognitive burden, you will burn yourself sooner or later.