4 ms·
> Each Lambda invocation executed a simple TruffleHog scan command with concurrency set to 1000. This setup allowed me to complete the scan of 5,600,000 reposit
by jsiepkes 11mo ago
> Each Lambda invocation executed a simple TruffleHog scan command with concurrency set to 1000. This setup allowed me to complete the scan of 5,600,000 repositories in just over 24 hours.
Gitlab must have been thrilled about a bot cloning 5.6 million repo's in 24 hours. That doesn't really sound responsible to me.
- treyd 11mo agoThat's 64 clones per second. That's quite a lot but it seems like something that a forge operating at the scale of GitHub can handle, especially if they were --depth=1 (which might have missed some secrets if someone was lazy about clearing their git history).
- 47282847 11mo agoIf they don’t like, they will apply rate limiting? Assuming they were well behaved (user agent, IPs).
- pcdevils 11mo agoAssuming bog standard lambda they'd have to rate limit a whole Aws region lambda range which would risk affecting legit usage. Bit of an arse way to behave against a service
- 3eb7988a1663 11mo agoI also thought the sleep(0.03) was cute. Some well deserved rest for the server to avoid hammering it.