Prevent malware attacks by identifying and remediating malicious dependencies.
On GitHub, navigate to the main page of the repository.
Under your repository name, click Settings. If you cannot see the "Settings" tab, select the dropdown menu, then click Settings.

In the "Security and quality" section of the sidebar, click Advanced Security.
To enable Dependabot malware alerts, you first need to enable Dependabot alerts. Under "Advanced Security", to the right of Dependabot alerts, click Enable.
To the right of Dependabot malware alerts, click Enable.
You can enable Dependabot malware alerts for repositories in your organization with a custom security configuration. Security configurations are collections of security settings that you can customize and apply at scale. See Creating a custom security configuration.
You can enable Dependabot malware alerts for repositories in your enterprise with a custom security configuration. Security configurations are collections of security settings that you can customize and apply at scale. See Creating a custom security configuration for your enterprise.
To view and update your Dependabot malware alerts, see Managing Dependabot malware alerts.