logoalt Hacker News

moi2388yesterday at 9:16 PM2 repliesview on HN

They explain how.

“ At 5:40PM on November 18th, now-deleted user brwjbowkevj opened a pull request against our posthog repository, including this commit. This PR changed the code of a script executed by a workflow we were running against external contributions, modifying it to send the secrets available during that script's execution to a webhook controlled by the attacker. These secrets included the Github Personal Access Token of one of our bots, which had broad repo write permissions across our organization.”


Replies

AndrewDuckeryesterday at 9:42 PM

Which shows the danger of keeping build scripts in your repos and letting users update them themselves.

mrdosijayesterday at 9:24 PM

Oh. I mist be blind. Well, that's a warning for all.