BreachHunter
Pricing Blog Log inSign up
● thermal huntscan engines onlineassessment only — no exploits
  1. Home
  2. Blog
  3. What Is security.txt? The Small File That Lets Researchers Reach You

Guides · ← All guides

What Is security.txt? The Small File That Lets Researchers Reach You

Published: November 14, 2026 · Last reviewed: November 14, 2026 · 6 min read

By the Ingenious AI team

The short answer: security.txt is a small standardized file at /.well-known/security.txt that publishes how security researchers should contact you — an email or page for vulnerability reports, plus an expiry date. BreachHunter's web audit checks for it and files its absence as a minor finding: not because the missing file is a hole, but because the alternative researchers face — a generic contact form, or silence — is how reportable vulnerabilities end up unpublished, sold, or posted publicly instead of in your inbox.

Run a free BreachHunter assessment on your site →

Every site eventually receives the email from a researcher who found something. Whether the next one reaches you at all depends on whether they can find the door. The security.txt standard (RFC 9116) exists because “security@” guessing and webmaster archaeology failed often enough that the industry standardized the file's location and format.

This guide covers what the audit's security.txt check looks for, the fields a valid file needs (Contact and Expires are the mandatory pair), and the operational side — a mailbox that is monitored, a response expectation, a disclosure posture — because publishing the file is a promise the organization behind it has to keep.

What goes in the file, and what does the check verify?

The format is deliberately plain: field lines in a text file. Contact: (required, repeatable — a mailto: or an https: reporting page) and Expires: (required, an ISO date in the future — files go stale and the standard says so) are the core. Optional fields add Policy (your disclosure terms), Acknowledgments, Preferred-Languages, and Canonical to state the authoritative location. The check requests the well-known path, parses what returns, and flags absence — and a good implementation also notes an expired Expires date, the most common way real files quietly become non-compliant.

Placement matters: /.well-known/security.txt is the standard location; the legacy /security.txt path is a courtesy redirect or duplicate. The file is served over HTTPS, as text/plain, unsigned or PGP-signed — signing is optional and mostly skipped by small teams without penalty. What reviewers look for is simpler than the full spec: can a stranger with a real finding reach a human who is expecting the message, this year, at the address printed?

The file is a promise: staff the mailbox

Publishing a contact creates an obligation with a clock. Researchers judge responsiveness, and the community's memory is long: an unmonitored security@ that auto-replies into a void is worse than a slower honest process, because the researcher's next step after silence is rarely patience. The minimal viable operation is small — a monitored alias routed to whoever would handle an incident anyway, an acknowledgement target of a few business days, and a triage habit: thank, verify, fix, credit if they want it.

It also pays defensively in a way owners feel: the assessment lists the missing file as a minor finding, but the first time a genuinely critical report arrives through it instead of through a public post, the file has repaid its five minutes of setup a thousandfold. Pair it with the rest of the web-audit hygiene in the headers guide — security.txt is the human-facing member of the same “small files, real signals” family, alongside robots.txt and your sitemap.

Worked example: beaconlegalaid.example

Beacon Legal Aid, a nonprofit whose site holds sensitive client intake forms, had never heard of security.txt when its scan noted the missing file. Two years earlier, a researcher had tried to report an exposed upload folder through the site's general contact form — the message was routed as a donation inquiry and answered three weeks later with a fundraising template.

GET /.well-known/security.txt -> 404
Finding: no security.txt published (disclosure contact absent)

Beacon published a four-line file — Contact: mailto with its ops alias, Expires set a year out with a calendar reminder at month ten, Policy linking a short disclosure page the director approved — and routed the alias to the same two people who would run any incident. The finding closed on retest. Six months later the file did its job for the first time: a misconfigured storage permission, reported quietly, fixed before it was anything else. The director's summary stands: “it cost an afternoon; the alternative cost us three weeks of not knowing, once already.”

The five actions to take

Publishing a security.txt that actually works:

  1. Decide the contact: a monitored alias (not an individual's inbox) routed to whoever handles incidents.
  2. Write the file with Contact and a future Expires (one year out), plus a Policy link if you have disclosure terms.
  3. Serve it at /.well-known/security.txt over HTTPS as text/plain; optionally mirror at /security.txt.
  4. Calendar the expiry renewal and test the alias quarterly by sending it a message.
  5. Re-scan to close the finding, and brief whoever monitors the alias on the acknowledge-verify-fix-credit flow.

Run a free BreachHunter assessment on your site →

Frequently asked questions

Does publishing security.txt invite attacks?

Attackers do not need the invitation — they scan regardless. The file addresses the other population: good-faith researchers deciding where to send a finding. Sites with clear contacts get reports; sites without them get surprises.

Is security.txt legally required?

Not generally, though some sectors and government-adjacent contracts reference RFC 9116 as expected practice. Treat it as a maturity signal: assessors and enterprise reviewers read its presence (and currency) as evidence a disclosure process exists.

Our file expired. Is that worse than none?

An expired file signals a process that lapsed — and strict parsers treat it as invalid. It is a five-minute renewal and a calendar problem, and exactly the sort of small decay the quarterly alias test in the checklist exists to catch.

Should we offer a bug bounty in the file?

Only if one actually exists. The Policy field should describe what is true: scope, expectations, safe-harbor language if your counsel has approved it. A small, honest “we welcome reports and credit researchers” outperforms a bounty you do not run.

What about the humans.txt / contact page instead?

Keep them — they serve other purposes. security.txt is the location tools and researchers check programmatically, at a standardized path, in a parseable format. The standard's value is that nobody has to guess.

Sources

Where this guide's claims come from, in citable form:

  • RFC 9116 (2022) — the security.txt specification itself.
  • securitytxt.org (2026) — the project's generator and field reference.
Share this: X · Facebook · LinkedIn · WhatsApp

Related guides

  • Website Security Test: What It Checks, What It Misses, and How to Read Yours · 9 min read
  • Website Security Cheat Sheet: Headers, TLS, Cookies and Exposed Files · 7 min read
  • What a Website Security Assessment Actually Tests · 10 min read
  • TLS/SSL Basics: What Your Certificate Says About Your Site · 8 min read
  • Common Website Misconfigurations (and How to Fix Them) · 11 min read
  • Reading Your First Pentest Report: From Score to Action · 9 min read
  • Deleted ≠ Gone: What the Wayback Machine Keeps After You Delete Your Secrets · 9 min read
  • SQL Injection in Plain English: How One Login Box Can Read Your Database · 9 min read
  • What Does a Website Security Scan Check? · 8 min read
  • Exposed .git Directory: What It Leaks and How to Check · 7 min read
  • Security Headers Missing? What Each Header Stops · 7 min read
  • How Much Does a Penetration Test Cost in 2026? · 7 min read
  • Website Security Checklist for Small Teams (60-second self-check) · 6 min read
  • Reading Your Scan Results: Which Findings Fix First? · 7 min read
  • Content-Security-Policy Missing: What CSP Does and How to Add It Safely · 8 min read
  • HSTS Missing: What Strict-Transport-Security Prevents · 7 min read
  • Clickjacking and X-Frame-Options: How Framing Attacks Work · 7 min read
  • Cookie Flags Explained: Secure, HttpOnly and SameSite · 8 min read
  • Exposed .env File: What Leaks, What Attackers Do Next, What You Do First · 8 min read
  • Directory Listing Enabled: What It Shows Attackers and How to Disable It · 7 min read
  • Mixed Content: Why Your HTTPS Page Still Loads Insecure Resources · 7 min read
  • Expired SSL Certificate: What Breaks, Why Renewal Fails, and How to Catch It Early · 7 min read
  • TLS 1.0 and 1.1 Still Enabled: Why Old Protocols Show Up as a Finding · 7 min read
  • Open Ports on a Web Server: Which Ones Should Never Face the Internet · 8 min read
  • No SPF or DMARC Record: How Missing Email Auth Exposes Your Website · 7 min read
  • Subdomain Takeover: How a Dangling DNS Record Lets Attackers Claim Your Name · 7 min read
  • Forgotten Subdomains: The Staging Site You Forgot Is Still Public · 7 min read
  • WordPress Security Scan: The Exposures an Assessment Finds on WordPress Sites · 8 min read
  • Exposed Backup Files: .bak, .old and .zip Files Sitting in Your Web Root · 7 min read
  • phpinfo() in Production: The Diagnostic Page That Maps Your Server for Attackers · 7 min read
  • Server Version Banners: Why Your Headers Point Attackers to the Right Exploit · 7 min read
  • End-of-Life Software: Running a Server Stack Nobody Patches Anymore · 7 min read
  • CORS Misconfiguration: When Cross-Origin Sharing Opens Your Data to Any Site · 7 min read
  • Open Redirect Vulnerability: How Your Own Domain Sends Visitors to a Phishing Page · 7 min read
  • Dangerous HTTP Methods: What TRACE, PUT and DELETE Should Never Answer · 7 min read
  • Host Header Injection: Poisoned Reset Links and Cache Attacks Explained · 7 min read
  • Admin Panel Exposed to the Internet: What an Assessment Flags and Why · 7 min read
  • phpMyAdmin Exposed: Why This Database Door Is a Prime Brute-Force Target · 7 min read
  • Spring Boot Actuator Exposed: Environment Dumps, Heap Leaks and Shutdown Endpoints · 7 min read
  • Debug Console in Production: The Finding That Can Become Code Execution · 7 min read
  • Exposed AWS Credentials File: The /.aws/credentials Finding, Explained · 7 min read
  • Referrer-Policy and Permissions-Policy: The Two Quiet Headers You Are Probably Missing · 6 min read
  • Exposed package.json: Your Dependency List Is a Recon Gift · 6 min read
  • DNS Zone Transfer Open (AXFR): Handing Out Your Entire DNS Map · 6 min read
  • Certificate Name Mismatch: Why the Cert Does Not Match Your Domain · 6 min read
  • Website Security Assessments for Agencies: Checking Every Client Site Without a Security Team · 8 min read
  • SaaS Security Questionnaires: What Buyers Check About Your Website First · 8 min read
  • Ecommerce Website Security: The Exposures That Put Your Checkout at Risk · 8 min read
  • Small Business Website Security: The Checks That Matter at Your Size · 7 min read
  • How to Prepare for a Website Security Assessment (and Read the Report Calmly) · 7 min read
  • Vulnerability Severity Explained: What Critical, High, Medium and Low Actually Mean · 7 min read
  • Retest After Fixes: How to Prove a Security Finding Is Actually Closed · 7 min read
  • Security Assessment vs Vulnerability Scan vs Pentest: What Is the Difference? · 7 min read
  • How Long Does a Website Security Scan Take? · 6 min read
  • Website Security Drift: Why Last Month's Clean Scan Is Already Out of Date · 7 min read
  • WordPress Site Keeps Getting Hacked After Cleanup · 8 min read
  • Google Blacklist Removal: Getting the Red Warning Off Your Site · 8 min read
  • VirusTotal Flagged My Site: How to Clear a False Positive · 8 min read

Related from the Ingenious AI suite

  • Ingenious AI — the full suite of security and compliance tools
  • DomainGuard — domain impersonation and typosquat defense
  • See BreachHunter pricing →
BreachHunter · by Ingenious AI · read-only security assessment — scan only targets you own or are authorized to test
About · Contact · Blog · vs Intruder · Privacy · Terms · Security · Threats · Nextcloud Check · Verify Evidence · Help · Redeem
More from Ingenious AI:
DisclosureGuard — AI disclosure compliance · Vibe-Code Audit — AI code security scanner · Rogue-Agent Defense — AI agent firewall · ChatBreaker — AI chatbot red-teaming · ModelMinder — AI model deprecation radar · TermsWatch — AI vendor terms monitor · Agent Flight Recorder — tamper-evident agent audit trails · Agent Auth Gateway — agent credentials & kill switch · DomainGuard — domain impersonation defense · Agent Passport — Know-Your-Agent registry · AgentGate — agent policy publisher · AgentBlock — AI agent & crawler access control · BoundaryVault — agent log forensics · Agentic Receipts — verifiable agent payment receipts · EvalEgress — eval-to-production exposure scan · HomeShield MCP — home AI server exposure check · WireWatch — payment verification ceremony · ADMT Notice Kit — AI decision notice compliance · DueLadder — human-approved invoice chasing · Agent-Ready Store Audit — can AI agents buy from your store · ContentCraft AI — content operations · AgentReady — agent-readiness checks · AI Audit Exchange — AI audit exchange · CallbackShield — callback & webhook protection · CompanionGuard — AI companion safety guardrails · CRAClock — EU Cyber Resilience Act deadline clock · EInvoice Translator — e-invoice format translator · GEOFixer — geo & local listing fixes · MandateGuard — agent spending mandates · OutcomeMeter — AI outcome measurement · ProvenanceGuard — content provenance checks · ReviewDesk — review response desk · ReviewProof — verified review evidence · TakedownCoop — coordinated phishing takedowns · TrustGate — trust & safety gating · BreachHunter — website penetration testing · All 36 platforms — the Ingenious AI portfolio

We use cookies. Necessary cookies keep the site working. With your permission we also use analytics cookies (to understand usage) and marketing cookies (for ads). Read our privacy policy.

NecessaryRequired for login, security and core features. Always on.
AnalyticsHelps us understand which pages are useful.
MarketingUsed for advertising and measuring ad performance.

    No match. Try “pricing”, “php2shell” or “contact” — or press Esc to close.

    ↑↓ navigate · Enter open · Esc close