Use the Securitytxt module to enable the “/security.txt” file in the site.
The security.txt file is a standard for websites' security information that is meant to allow security researchers to easily report security vulnerabilities. You can read more about it, and also create your own security text in securitytxt.org.
Enable the Secuirtytxt module.
Enter the content for the security.txt file.