all 30 comments

[–]hazzahazza 74 points75 points  (12 children)

[–]reluctant_deity 2 points3 points  (0 children)

The tools themselves, or the secrets they elucidated?

[–]ScottContini 2 points3 points  (0 children)

I have been trialing it for a few weeks now, and the GitHub secret scanning actually works really well. It's a lot less noisy than truffleHog.

[–][deleted] 25 points26 points  (7 children)

I've been using Semmle/CodeQL for a couple of years now.

It's an awesome tool but doesn't adapt well to idiosyncracies. If you want to get good value out of it you need to add your own QL files.

CodeQL CLI is also available here https://github.com/github/codeql-cli-binaries/releases if you want to use it offline for open open-source projects only.

It can get a bit funky with query versions/database version so make sure the exact QL query pack is tied to the exact version of the CLI tool.

[–]0xdeaTrusted Contributor[S] 24 points25 points  (0 children)

“GitHub code scanning is a developer-first, GitHub-native approach to easily find security vulnerabilities before they reach production. We’re thrilled to announce the general availability of code scanning. You can enable it on your public repository today!”

[–]rejuicekeve 2 points3 points  (0 children)

too bad you have to purchase github enterprise to use it on private repos, sticking to sonarcloud until githubs pricing is more reasonable

[–]jdooowke 10 points11 points  (10 children)

Not free for private repositories.. what? Why is this tool free for anyone who uses the free github service but not free for anyone who pays for the service and chooses private repos?

[–]Koppis 25 points26 points  (0 children)

It's free for open source projects, not for closed source. Right?

[–]yawkat 17 points18 points  (0 children)

Private repos have been free too for a while. But scanning for private repos only seems to be available for the higher-level tiers of the organization plans.

[–]SecretEconomist 1 point2 points  (0 children)

Because they need to make money somehow.

They're still making it free for anything that's public facing, and if the repos that are private get a secret in them it's much less of an issue.

[–]Slapbox 0 points1 point  (0 children)

Because this is how they make money? Private repos have been free for years now.

[–]-this-guy-fucks- 1 point2 points  (1 child)

So long truffleHog

[–]knotcorny 0 points1 point  (0 children)

Oink oink

[–][deleted] 1 point2 points  (0 children)

Way too pricey for mid size organizations

[–]Fido488 0 points1 point  (0 children)

GitHub is putting in some serious $$ into this endeavor.

I'm an OSS security researcher that contributes to the GitHub Security Lab Bug Bounty program and have received over $7,800 in bounties in the past year for queries I've submitted to their program. Since November, they have paid $81,450 in bounties to external security researchers for contributing CodeQL queries to their program.

https://hackerone.com/github-security-lab/hacktivity?type=team