Tools/madneal/gshark

gshark

Scan for sensitive information easily and effectively.

1.0k+1/wkemergingGoApache License 2.0trending

The Lens

By Erik Loyd, SaaS CEO and former COO/CFO of an AWS Premier Partner.

Updated Jun 2026

gshark watches public code for your secrets before someone else finds them. It scans GitHub, GitLab, Searchcode, and Postman for leaked API keys, tokens, and credentials that match rules you define, then surfaces the hits in a web dashboard. The job it does is the same one GitGuardian charges for: catching the AWS key an employee pasted into a public gist before it turns into a bill or a breach. It is open source under Apache-2.0.

This is a real application to run, not a script. There is a Go backend, a Vue frontend, and a database, plus API tokens for each source you want to scan. Budget an afternoon to stand it up and some ongoing care to tune rules so you are not drowning in false positives. Once it is running, it is yours: your data never leaves your infrastructure, which matters when the thing you are searching for is your own leaked credentials.

Solo developers and small teams who mostly need to watch their own org: gshark is a solid free option and the self-hosting is manageable. Larger security teams that want managed coverage, validity checking, and a support line will still find GitGuardian or similar worth paying for. If you only need to scan your own repos in CI, lighter tools like gitleaks or trufflehog may be a better fit than standing up a whole platform.

The catch: a tool that hunts for exposed secrets across public code is dual-use by nature, and the docs lean heavily Chinese. Nothing wrong with either, but factor in the reading and the responsibility before you point it at the whole internet.

Free vs Self-Hosted vs Paid

fully free

Free: Apache-2.0, the entire platform. All four sources (GitHub, GitLab, Searchcode, Postman), the rule engine, the dashboard.

Self-hosted: The only option. Go backend plus Vue frontend plus a database, configured with API tokens per source. Plan for setup and rule-tuning time.

Paid: None from the project. The paid equivalent is a managed service like GitGuardian, which trades the setup work for a subscription and adds validity checks and support.

Free and open source under Apache-2.0. You pay in setup and tuning time instead of a GitGuardian subscription.

What to do by team size

Solo
free
Small team
free
Larger team
free
Self-hosting ops:significant

Get tools like this every Wednesday

One featured tool, three on the radar. No fluff.

Similar Tools

Score
68/100 · B
Adoption13/30
Maintenance25/25
Community5/20
License15/15
Analysis10/10

A low score is not a verdict on quality. Young and niche tools start low by design. How we calculate scores

License: Apache License 2.0

Use freely. Patent grant included.

Commercial use: ✓ Yes

About

Owner
Neal Caffery (User)
Stars
1,049
Forks
157

Explore Further

More tools in the directory