News for hackers. Stuff that matters.
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by Sayrus on Friday June 07, 2024 @08:02AM (#40607816)
> When a community member inquired about how long it took for the funds to be drained, the Web3 founder responded that it took just two minutes for someone to withdraw the funds.

The public events API is delayed by 5 minutes[1]. Unless someone was actively scraping his profile rather than doing large scans on GitHub, this is not possible.

[1] https://docs.github.com/en/rest/activity/events?apiVersion=2...

Re:Developer posts secret key on GitHub, loses $40K in 2 min... by jsheard on Friday June 07, 2024 @08:07AM (#40607860)
They don't need to proactively scan all of GitHub to exploit this kind of mistake, just accounts that are known to be involved with cryptocurrency.

GitHub even makes it easy to find them: https://github.com/search?q=language%3ASolidity&type=users

Re:Developer posts secret key on GitHub, loses $40K in 2 min... by ben_w on Friday June 07, 2024 @08:09AM (#40607883)
Given the obvious incentive, I expect multiple groups to be scraping simultaneously, out of sync with each other.

Also, I expect anyone working on high-value systems to be under more targeted scraping.

Re:Developer posts secret key on GitHub, loses $40K in 2 min... by Waterluvian on Friday June 07, 2024 @08:08AM (#40607874)
A delay or just that it polls every 5 minutes?
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by Sayrus on Friday June 07, 2024 @08:09AM (#40607881)
It's delayed. You can poll it continuously and you get live events "from 5 minutes ago".
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by koollman on Friday June 07, 2024 @08:07AM (#40607861)
"$40k became 'untraceable' while being reported as lost" /s
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by bravetraveler on Friday June 07, 2024 @08:31AM (#40608054)
They're on Twitter with a crypto symbol in the username, you really think targeting is outlandish?
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by tjoff on Friday June 07, 2024 @08:32AM (#40608061)
Note he didn't commit his keys by mistake, but rather made a private repo public. Don't know if that makes a difference.
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by Ferret7446 on Saturday June 08, 2024 @02:05AM (#40615620)
Committing keys is a mistake.
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by tjoff on Saturday June 08, 2024 @02:17AM (#40615665)
In my mind yes, but he seems to have done it on purpose. At least he was aware of it.
Re:Developer posts secret key on GitHub, loses $40K in 2 min... by Timpy on Friday June 07, 2024 @08:34AM (#40608077)
I didn't read that to mean a literal two minutes. Based on his style of writing that was quoted in the article and the nature of his mistake I don't think he's reporting an in-depth postmortem on the situation, although I didn't bother going to twitter to take a closer look. He probably didn't even realize his mistake within two minutes.