Generate a security.txt file
security_txt_generateGenerates a security.txt file (RFC 9116): the standard file at /.well-known/security.txt on a website that tells security researchers where to report the vulnerabilities (security bugs) they find. Takes contact URIs (mailto:, https:, tel:), an optional expiry date and optional fields (PGP encryption key, disclosure policy, acknowledgments, languages, canonical URL, hiring). Returns the file text, or a message per invalid field. Does not write a full vulnerability disclosure policy or check a live website.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"contact": "<contact>"
},
"name": "security_txt_generate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hiring | No | https URL of security job openings. | |
| policy | No | https URL of your vulnerability disclosure policy (VDP or coordinated vulnerability disclosure policy). | |
| contact | Yes | Security contact where researchers send vulnerability reports: mailto: e-mail address, https: web form or tel: phone URIs, most preferred first. | |
| expires | No | Expiry date YYYY-MM-DD (UTC). Default: about one year from today, as RFC 9116 recommends. | |
| canonical | No | https URL where this file will be published, e.g. https://example.com/.well-known/security.txt. | |
| encryption | No | https URL of your OpenPGP (PGP) public key for encrypted reports. | |
| acknowledgments | No | https URL of your security acknowledgments page. | |
| preferred_languages | No | Comma-separated language tags, e.g. "en, de". |