Skip to main content

GitHub security features

An overview of GitHub security features.

About GitHub's security features

GitHub has security features that help keep code and secrets secure in repositories and across organizations. Some features are available for repositories on all plans. Additional features are available to enterprises that use GitHub Advanced Security. Las características de la GitHub Advanced Security también se habilitan para todos los repositorios públicos de Para obtener más información, consulta la sección "Acerca de GitHub Advanced Security".

The GitHub Advisory Database contains a curated list of security vulnerabilities that you can view, search, and filter. Para obtener más información, consulta las secciones "Buscar vulnerabilidades de seguridad en la GitHub Advisory Database" y Acerca de las GitHub Security Advisories".

Available for all repositories

Security policy

Make it easy for your users to confidentially report security vulnerabilities they've found in your repository. For more information, see "Adding a security policy to your repository."

Security advisories

Privately discuss and fix security vulnerabilities in your repository's code. You can then publish a security advisory to alert your community to the vulnerability and encourage community members to upgrade. For more information, see "About GitHub Security Advisories."

Las alertas del dependabot and security updates

View alerts about dependencies that are known to contain security vulnerabilities, and choose whether to have pull requests generated automatically to update these dependencies. For more information, see "About alerts for vulnerable dependencies" and "About Actualizaciones de seguridad del dependabot."

Dependabot version updates

Use Dependabot to automatically raise pull requests to keep your dependencies up-to-date. This helps reduce your exposure to older versions of dependencies. Using newer versions makes it easier to apply patches if security vulnerabilities are discovered, and also makes it easier for Actualizaciones de seguridad del dependabot to successfully raise pull requests to upgrade vulnerable dependencies. For more information, see "About Actualizaciones de versión del dependabot."

Dependency graph

The dependency graph allows you to explore the ecosystems and packages that your repository depends on and the repositories and packages that depend on your repository.

You can find the dependency graph on the Insights tab for your repository. For more information, see "About the dependency graph."

Available with GitHub Advanced Security

GitHub Advanced Security is available and enabled for public repositories on It is also available for private or internal repositories that are owned by an organization that is part of an enterprise with a license for GitHub Advanced Security. Para obtener más información, consulta la sección "Acerca de GitHub Advanced Security".

Escaneo de código

Automatically detect security vulnerabilities and coding errors in new or modified code. Potential problems are highlighted, with detailed information, allowing you to fix the code before it's merged into your default branch. For more information, see "About code scanning."

Escaneo de secretos

Automatically detect tokens or credentials that have been checked into a repository. For secrets identified in public repositories, the service is informed that the secret may be compromised. For private repositories, you can view any secrets that GitHub has found in your code. You should treat tokens or credentials that have been checked into the repository as compromised. For more information, see "About secret scanning."

Dependency review

Show the full impact of changes to dependencies and see details of any vulnerable versions before you merge a pull request. For more information, see "About dependency review."

Further reading