Data Exposure
Magento Git File Exposure Check
Exposed Git files on your Magento store can reveal your source code and secrets. Detect their presence and secure your repository.
What this test checks
This test checks whether Git files (like .git/HEAD) are publicly accessible on your Magento site. Exposure of these files allows an attacker to retrieve your source code, secrets, and development history, compromising your site integrity.
Our recommendation
Remove or protect .git files in production. Ensure the .git folder is not web‑accessible. Use deployment tools that exclude these files. Regularly check .git accessibility.
Security tests
Read more
Form Security