#
DIFF.BLOG
New
Following
Discover
Jobs
More
Top Writers
Suggest a blog
Upvotes plugin
Report bug
Contact
About
Privacy
+
Create new post
Create new blog
Add your blog
Sign up
The home for great developer writing.
We surface the best developer writing from thousands of independent blogs, updated daily.
Join Diff.blog
TOPICS
Scan your repo for leaked secrets with gitleaks before an agent pushes
·
Flaviocopes
·
Dec. 1, 2026, 2:52 p.m.
GitLeaks
Git
API Keys
Security
Summary
This post discusses how to use gitleaks, a tool for detecting leaked API keys and secrets in Git repositories. It emphasizes configuring the tool effectively and implementing hooks and CI to prevent insecure commits and pushes from developers.
Read full post on flaviocopes.com →
MORE POSTS LIKE THIS
Review an agent's diff in the terminal with git diff
Flaviocopes ·
Nov 30, 2026
Git
Development
git reset --soft vs --mixed vs --hard: What Each One Moves, with Real git status and git log Output, and How to Undo a Reset with reflog
Rahul Wagh ·
Nov 30, 2026
Git
Version control
This Week in Source Control: 25 November 2026
Andrew Nesbitt ·
Nov 25, 2026
Git
Weekly
Rotate a leaked GitLab token and let GitLab Duo fix the code
GitLabBlog ·
Nov 19, 2026
Gitlab
Security
npm pack --ignore-scripts, .npm-extension
Joshua Rogers ·
Nov 15, 2026
npm
Javascript
Sort git branches by date
akrabat ·
Oct 26, 2026
Git
Git
Discover more posts →
AUTHOR
RECENT POSTS FROM THE AUTHOR
Choose how you want to continue.
Continue with GitHub
Continue with Google
By continuing, you agree to our
Privacy Policy
.