Skip to content

Generate and check a security.txt file

A security.txt tells honest researchers how to reach you when they find a bug. It keeps no one out. Fill in the form, or paste a file to check it. Everything runs in this tab. Nothing is uploaded.

One per line. Start with mailto:, tel: or https://.

Date and time, like 2027-11-12T00:00:00.000Z. Under one year ahead.

Link to your public PGP key, or openpgp4fpr:fingerprint.

Language tags separated by commas.

Where you will host the file.

Your file

Serve it as text/plain at /.well-known/security.txt on your domain, over https. Signing is optional. To sign it, run gpg --clearsign on the finished file and host the signed copy. If you edit a signed file, sign it again. The old signature no longer matches.

Checks

    The eight fields

    RFC 9116 defines these. Two are required. Web addresses must use https. Lines that start with # are comments.

    security.txt fields
    FieldNeedWhat it is forExample
    ContactRequiredHow to reach you. Use mailto:, tel: or an https address. Add more than one if you like.mailto:security@example.com
    ExpiresRequiredWhen the file stops being valid. Set it less than a year ahead and renew it before then.2027-11-12T00:00:00.000Z
    EncryptionOptionalWhere to find your public PGP key, so reports can be encrypted.https://example.com/pgp-key.txt
    AcknowledgmentsOptionalA page that thanks people who reported issues.https://example.com/thanks
    Preferred-LanguagesOptionalLanguages you can read reports in, as language tags.en, fr
    CanonicalOptionalThe address where this file lives. It tells readers the copy is the real one.https://example.com/.well-known/security.txt
    PolicyOptionalYour disclosure policy: what is in scope and how you respond.https://example.com/security
    HiringOptionalA page about security jobs.https://example.com/jobs

    What it cannot do

    The file is a front door sign. It does not lock anything. camada does not read it, and it is not part of how camada works. To see what the file looks like on a live site, run the website security check.

    It does not secure anything
    security.txt is a note with your contact details. It fixes no bug and stops no attack. Its job is to help an honest researcher reach the right person fast.
    It does not keep anyone out
    The file is public on purpose. Anyone can read it, including people with bad intent. Do not put anything secret in it.
    It is only as good as your inbox
    A contact nobody reads is worse than none. Use a shared address, answer reports, and renew the Expires date before it passes.
    The signature is not checked here
    RFC 9116 recommends signing the file with PGP. This page does not sign it and cannot verify a signature. Sign the finished file with gpg --clearsign, then host the signed copy.

    Questions about security.txt

    More free tools: all developer tools.

    What is a security.txt file?
    It is a small text file, defined in RFC 9116, that tells security researchers how to report a problem with your site. It lists a contact, an expiry date and a few optional links.
    Where do I put the file?
    Serve it as text/plain at /.well-known/security.txt on your main domain, over https. The older /security.txt location also works as a fallback, but the .well-known path is the one to use.
    Does my input leave my computer?
    No. The form and the checker run in this tab. The page makes no request that carries what you type or paste. You can watch the Network panel in DevTools to confirm it.
    Which fields are required?
    Contact and Expires. Contact must appear at least once. Expires must appear once, as a date and time such as 2027-11-12T00:00:00.000Z. Everything else is optional.
    Why does it say a bare email address is wrong?
    RFC 9116 wants a URI in Contact. An email must be written as mailto:you@example.com. A plain address without mailto: is not a valid value.
    How long should Expires be?
    Less than a year ahead. The RFC advises this so stale files drop out. The default here is 364 days. Set a reminder to renew it, because researchers are told to ignore an expired file.
    Should I sign the file with PGP?
    It is optional but recommended. A signature lets a reader see that the file was not changed on the way. Run gpg --clearsign on the finished file and host the result. If you edit a signed file, sign it again, because the old signature no longer matches. Paste a signed file in the checker and it reads the text inside, but it does not verify the signature.
    Can I check a file I already have?
    Yes. Use the Check a file tab, paste the text, and it lists what is missing, expired or wrong. To check a live site instead, use the website security check, which reads the file for you.

    Use it from an AI agent

    This page is also Markdown at /tools/security-txt-generator.md. Agents can also run the check itself, without the form.

    • check_security_txt on the MCP server at https://www.camada.app/mcp, and in this tab through WebMCP

      Takes text. Check the text of a security.txt file against RFC 9116: Contact and Expires present, Expires in the future and under a year out, valid URIs, Canonical, Preferred-Languages and PGP signing. Returns each problem with a fix. Same check as https://www.camada.app/tools/security-txt-generator.

    • make_security_txt on the MCP server at https://www.camada.app/mcp, and in this tab through WebMCP

      Takes contact, expires?, encryption?, acknowledgments?, preferred_languages?, canonical?, policy?, hiring?. Write a valid security.txt file (RFC 9116) from its fields. Contact is required; Expires defaults to 364 days from today. Returns the file to serve at /.well-known/security.txt, and any problems with the fields. Same as https://www.camada.app/tools/security-txt-generator.

    The MCP server needs no key. Every agent tool on this site is listed in the server card and on the tools page.

    Related tools

    • Website security check

      Enter a URL to trace HTTPS redirects, check CSP and OWASP headers, and audit cookie flags. Also checks robots.txt, llms.txt, and security.txt.

    • DNS & DMARC lookup

      Query A, AAAA, MX, NS, CAA, SPF, DKIM, DMARC, and DNSSEC records. Count nested SPF lookups against the 10-query limit.

    • CSP & security headers

      Fetch live response headers or paste curl output. Flag unsafe-inline CSP rules, check HSTS and nosniff, and hash inline scripts.

    All free tools

    Let researchers in. Keep bad actors out.

    security.txt handles the honest reports. For the traffic that is not honest, install the SDK on the Free plan to score 100,000 events a month with no card.

    Free needs no card. A 14-day trial of Starter or Growth needs a card. Nothing is charged today. Cancel before the trial ends (the date is shown in the app) and you pay nothing. Otherwise the plan's monthly price starts on day 15.