6 security settings every GitHub maintainer should enable this week
GitHub introduced six free security settings to help maintainers reduce vulnerabilities, including a guided flow called Protect Your Project. The changes aim to automate security checks and improve response to bug reports.
Video
Video available
The useful question is what changes for users, developers or buyers, and whether the announcement stays industry context or becomes something people can actually use.
GitHub Security Lab recommends six free settings to strengthen project security, acknowledging that no configuration can guarantee complete protection. These settings automate checks and close common attack vectors, making projects harder to compromise. The recommendations are designed for maintainers who may lack security expertise, emphasizing practical steps over complex configurations. A guided flow called Protect Your Project simplifies the process, allowing users to enable settings in under 30 minutes without prior experience.
Adding a SECURITY.md file provides clear instructions for reporting vulnerabilities, replacing public issue threads or personal email searches. The file specifies preferred communication methods and outlines which bugs are in scope, reducing confusion for reporters. GitHub points to the systemd project’s policy as a reference for structuring such files. This step ensures reporters know where to submit issues privately, improving response times and reducing public exposure of vulnerabilities.
Private vulnerability reporting (PVR) enables confidential advisories, allowing maintainers to triage issues privately before public disclosure. Enabled via a single checkbox in repository settings, PVR prevents accidental public exposure of vulnerabilities. Combined with SECURITY.md, these two settings offer the fastest way to signal commitment to security. They are free and require minimal effort, making them ideal for immediate implementation.
Secret scanning blocks exposed API keys and tokens from being pushed to repositories, addressing a growing issue highlighted by GitGuardian’s 2026 report. The tool prevents secrets from leaking into public or private repos, reducing the risk of data breaches. Dependabot and dependency review alert maintainers to vulnerable dependencies, while code scanning flags dangerous code patterns like SQL injection. Branch protection rules require pull requests and approvals before merging, ensuring automated alerts block risky changes.