
- I scrolled to the dependency settings and found the Dependency graph disabled — I enabled it.
- For automatic dependency updates I temporarily disabled automatic dependency submission, but I enabled Dependabot alerts.
- For Security updates I set it to
Not setso repository owners can decide whether to enable or disable them. - I enabled direct alert dismissal and enabled alerts for detected malware.
- After saving, the changes were applied across multiple repositories (this example updated three repositories).
Enterprise-level dependency settings (Dependency graph, Dependabot alerts, etc.) are enforced for repositories under that enterprise. Repository owners can view but not override those enforced settings.
- With the Dependency graph enabled, GHAS scans common manifest files and resolves the dependency tree for supported ecosystems.
- It identifies known advisories (CVE-based or ecosystem advisories), surfaces severity labels, and links to remediation guidance.
Example package.json from the demo repository
- The Dependency graph view lists resolved packages from your manifests and flags known vulnerabilities with severity badges.
- Click any package to view package details, the affected versions, and links to advisories.

- To see all alerts for the repository, go to Security and analysis → Dependabot alerts.
- Use filters by CVE, manifest, ecosystem, severity, and status to triage alerts quickly.
- Each alert includes the advisory, affected ranges, severity, and remediation guidance.

- Advisories typically recommend upgrading to a non-vulnerable version or version range. For example, an advisory might suggest updating mongoose to a secure major/minor version.
- The package update in your manifest could look like this:
Always prefer the version or range shown in the specific advisory. After updating dependencies, run your tests and CI pipelines to verify the upgrade doesn’t break functionality.
- Dependabot can create pull requests that update the impacted dependency to the recommended secure version or range.
- Review the Dependabot PR, run CI, and perform any necessary code validation before merging.
- Use branch protection rules and required status checks to enforce verification before merging automated dependency updates.
- For more details on GitHub Advanced Security and Dependabot:
- GitHub Docs: https://docs.github.com/en/code-security
- Dependabot alerts: https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically
- Dependency graph: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-the-dependency-graph