Go to example tasks

Scan a git repo's full history for leaked secrets

Clone any public git repository and scan every commit with Betterleaks for API keys, tokens, passwords and private keys, each finding with file, line, commit, author and date. Works with GitHub, GitLab or any git URL; the example repo holds test keys made for scanners.

Try for free
Betterleaks Cloud - GitHub & S3 Secret Scanner
Betterleaks Cloud - GitHub & S3 Secret Scanneranshumanatrey/betterleaks-cloud
Rule
Description
Secret value
Match
+10 fields
Text
Number
Boolean
List
Object

Input

Target URL (github / git / s3 modes):https://github.com/trufflesecurity/test_keys.git
Git platform (link format):github
Enable live secret validation:false

Output fields

Rule
Description
Secret value
Match
Live?
Line
End line
Fingerprint
Tags
Capture groups
Attributes
Source
Validation reason
Validation metadata

How it works

Sign up on Apify or log in

The Betterleaks Cloud - GitHub & S3 Secret Scanner Actor is ready to run with the inputs already set for "Scan a git repo's full history for leaked secrets". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Scan a git repo's full history for leaked secrets" task

The Betterleaks Cloud - GitHub & S3 Secret Scanner Actor will start running based on the input automatically. You can also change all the input fields, like target url (github / git / s3 modes), git platform (link format), and more, to match your specific use case.

Receive the "Scan a git repo's full history for leaked secrets" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as rule, description, secret value, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Scan a git repo's full history for leaked secrets" task via API.

Image

Integrate "Scan a git repo's full history for leaked secrets" into your workflow

Connect "Scan a git repo's full history for leaked secrets" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay