this post was submitted on 07 Jun 2024
532 points (98.4% liked)

Technology

68528 readers
3945 users here now

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


founded 2 years ago
MODERATORS
 
  • 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.
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 20 points 10 months ago

There’s a reason we use .env files and put them in gitignore.

[–] [email protected] 56 points 10 months ago

I'm sad I didn't see any comments saying he shouldn't be using a $40k wallet key to test his software in the first place. Anything could happen with simple code mistakes...just get an empty wallet or one with a few bucks in it.

[–] [email protected] 86 points 10 months ago (1 children)

They made 2 errors.

  1. Use crypto

  2. Storing the key anywhere close to the repo.

[–] [email protected] 14 points 10 months ago (1 children)
[–] [email protected] 0 points 10 months ago (1 children)

You need an escape backslash character (\) before the #3 so it doesn't show as a #1.

[–] [email protected] 1 points 10 months ago* (last edited 10 months ago)

Works fine for me, lemmy.today on desktop browser.

Sucks that your medium for viewing is wrong, maybe you should go complain about the wrongness to the people who maintain it?

load more comments
view more: next ›