Safeguard
Tag

git-security

Safeguard articles tagged "git-security" — guides, analysis, and best practices for software supply chain and application security.

16 articles

Vulnerability Analysis

Git Clone RCE via Symlink Race on Case-Insensitive Filesy...

A patched Git flaw let attackers achieve remote code execution during clone via a symlink race on case-insensitive filesystems. Here's what teams need to know.

Jul 26, 20268 min read
Vulnerability Analysis

Git safe.directory Bypass Enabling Code Execution on Mult...

CVE-2022-24765 let local users on shared Windows systems bypass Git's ownership checks and trigger code execution via malicious repo configs. Here's the full breakdown.

Jul 26, 20267 min read
Vulnerability Analysis

Git Local Clone Information Disclosure via Hardlinks (CVE...

CVE-2022-39253 abuses Git's local clone hardlink optimization to leak files from outside a repository. Here's the impact, fix, and how to stay protected.

Jul 26, 20268 min read
Vulnerability Analysis

Git Heap Buffer Overflow via GIT_PUSH_OPTION_COUNT (CVE-2...

CVE-2022-39260 is a heap overflow in Git from an integer overflow in GIT_PUSH_OPTION_COUNT during git push. What changed, and how to remediate it.

Jul 26, 20267 min read
Supply Chain Attacks

The PHP Source Code Git Server Backdoor Compromise of 2021

In 2021, attackers breached PHP's git server and pushed a backdoor under forged commits from top maintainers. Here's how the PHP git server compromise unfolded.

Jul 23, 20267 min read
AppSec

Choosing a Secrets Scanning Tool That Actually Catches Leaks

A secrets scanning tool finds API keys, tokens, and passwords hiding in your code and git history. Here is how they work and what to look for in one.

Jul 18, 20266 min read
Security

Repo Security: How to Secure Your Git Repositories End to End

Repo security covers access, secrets, branch protection, dependencies, and CI/CD. Here is a practical checklist to lock down your Git repositories against the ways they actually get compromised.

Jul 16, 20266 min read
Application Security

Exposed .git Directories and the Git Internals That Leak Your Source

Roughly 4.96 million IPs expose .git metadata today, and over 252,000 leak live credentials in .git/config — a 2018-era bug that never went away.

Jul 15, 20266 min read
Application Security

Argument injection in Git and Mercurial CLI wrappers

A branch name like --upload-pack=/bin/sh isn't a string to Git — it's a flag. CVE-2017-1000117 and CVE-2017-1000116 show why that distinction matters.

Jul 10, 20266 min read
Best Practices

Secrets detection to prevent data breaches

GitGuardian found 12.8 million new secrets exposed on public GitHub in 2023, up 28% year over year — and most of them stayed live for days after leaking.

Jul 8, 20268 min read
Security

Source Code Protection: How to Keep Your Codebase From Leaking

Source code protection is less about obfuscation and more about controlling access, catching secrets before they leak, and knowing when your code has escaped. Here is how to do it.

Jun 27, 20266 min read
AppSec

How to Run a Secret Scan Across Your Codebase

A secret scan finds hardcoded credentials, API keys, and tokens in your code and history before an attacker does. Here is how to scan, what to catch, and how to respond.

May 8, 20267 min read

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.

git-security — Safeguard Blog