Scan a git repo's full history for leaked secrets
Anshuman Atrey
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.
Input
Output fields
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.

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
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay