security.txt in Egypt: How Your Company Should Receive Vulnerability Reports, and What We Found on 37 Bank Websites

Short answer: A security.txt file is a small text file published at /.well-known/security.txt on your company website that tells anyone who finds a security vulnerability the right way to report it to you. The RFC 9116 standard requires only two fields, Contact and Expires, and the file must be served over HTTPS as text/plain. When we checked the websites of the 37 banks registered with the Central Bank of Egypt on 24 November 2026, we found a valid file at only one bank.
When a security researcher or an attentive customer finds a flaw on an Egyptian company's website, they usually find nothing but a "contact us" form or a customer service number, so the report gets lost or reaches someone who does not understand its value. A security.txt file solves this in a few hours of work: a fixed, internationally recognised address where anyone can find your official reporting channel and your policy for handling reports. This guide explains the required fields and publishing rules, shares an original scan Smart One Group ran on the websites of banks operating in Egypt, and ends with a 10-step implementation checklist that works for any company, clinic or online store.
What is a security.txt file and why does your company need one?
Definition: security.txt is a machine-readable text file defined by RFC 9116, published by the IETF in April 2022 in the Informational category, that describes how an organisation receives vulnerability reports and who handles them. The /.well-known/security.txt path is listed by IANA in the Well-Known URIs registry, so researchers' tools know it and look for it automatically.
The idea is not new: the old convention is a security@ mailbox for every domain, but RFC 9116 points out that this convention offers only a single email channel and gives no way to publish a disclosure policy. The file brings together the preferred contact method, encryption key, policy link, accepted languages and an expiry date for the information.
The practical benefit for an Egyptian company is direct: a report that reaches the right team early buys time to fix the issue before it is exploited, and makes it less likely that the finder turns to public disclosure or unofficial channels. It belongs to a wider routine that includes prioritising security updates and an incident response plan.
Which security.txt fields are required and which are optional?
RFC 9116 defines eight fields, two of them mandatory. The table summarises each field as the document describes it, with our practical recommendation for companies in Egypt:
| Field | Status in RFC 9116 | What it contains | Our practical recommendation |
|---|---|---|---|
| Contact | Required, may repeat | A mailto, tel or https link, in order of preference | A dedicated mailbox such as security@ that reaches a real team, not the customer service inbox |
| Expires | Required, once only | An RFC 3339 date and time after which the data is stale | Less than a year ahead, as the standard recommends, with an internal review reminder before it |
| Policy | Optional | Link to the vulnerability disclosure policy | An Arabic and English page defining scope and what is and is not allowed |
| Encryption | Optional | Link to a public encryption key | An OpenPGP key for sensitive reports |
| Canonical | Optional | The official URLs where the file is published | List every URL that actually serves the file |
| Preferred-Languages | Optional | Preferred languages for reports | ar, en for a company serving the Egyptian market |
| Acknowledgments | Optional | A page thanking researchers | Useful if you run a real disclosure programme |
| Hiring | Optional | Cybersecurity job openings | Unnecessary for most small companies |
The standard recommends signing the file with an OpenPGP cleartext signature, and states that if the file contains a Canonical field and the URL it was fetched from is not listed there, its contents should not be trusted.
Where does the file go and what are the technical publishing rules?
- Path: the file must sit under /.well-known/, for example https://example.com.eg/.well-known/security.txt; for legacy compatibility a copy or redirect may also exist at /security.txt.
- Protocol and content type: it must be served over HTTPS as text/plain with utf-8 encoding.
- Scope: the file applies only to the domain or IP address it was fetched from, not to subdomains or the parent domain. A file on www.example.com does not cover portal.example.com.eg.
- Unknown fields: researchers must ignore fields they do not support, so adding later registered fields does no harm.
The standard is explicit about stale data: having no security.txt file may be preferable to having one with outdated information, because reports then go to the wrong people. The UK National Cyber Security Centre's Vulnerability Disclosure Toolkit (NCSC) advises publishing the file on all domains and subdomains.
What did we find when we checked security.txt on 37 bank websites in Egypt?
We chose banks because they are among the most targeted and most security-invested organisations, which makes them a good indicator of how widespread the practice is locally. The sample is every one of the 37 banks in the Central Bank of Egypt list of registered banks, using the main domain of each bank's official Egypt website; 31 of those domains are Egypt-specific and 6 are global parent-group domains that host the Egyptian site.
Method: on 24 November 2026 between 09:40 and 09:43 Cairo time, we requested four URLs per domain: /.well-known/security.txt and /security.txt on the bare domain and on www, and re-requested the URLs that showed no file with a different HTTP client. A file counted as valid only if it returned status 200 as plain text containing a Contact field, not an HTML page. We sent no reports and ran no tests against the sites.
| Result | All banks (37) | Egypt-specific domains (31) |
|---|---|---|
| Valid security.txt file | 1 (3%) | 1 (3%) |
| No file: 404 response or an ordinary HTML page | 22 (59%) | 17 (55%) |
| Undetermined: request rejected by a protection layer | 9 (24%) | 8 (26%) |
| Could not connect from our vantage point | 5 (14%) | 5 (16%) |
Of the 22 cases with no file, 8 sites returned an HTML page with status 200 instead of 404, which can confuse automated scanners into thinking a file exists. Even if we exclude every undetermined case, that leaves one bank out of the 23 we could verify (4%).
Three observations from the details
- The only valid file was at bank ONE (onebank.eg), containing Contact, Expires, Preferred-Languages and Canonical. We noticed that the Expires value changed on every request and equalled the request time plus one year, which suggests it is generated automatically. That keeps the file permanently "unexpired", but in our reading it strips the field of its role as a signal that someone actually reviewed the information.
- A parent group's file does not cover the Egyptian domain: the global domain hsbc.com publishes a file with two reporting channels that expires on 1 December 2026 (UTC), while we found no file on hsbc.com.eg. Under the RFC 9116 scope rule, the global file does not apply to the Egyptian domain.
- Protection layers can block the file itself: in 9 cases a web application firewall rejected the request. That may be due to the reputation of our scanner's IP address, but it is a reminder that the file must be reachable by automated tools, not only browsers.
Limitations
The scan is a single snapshot from one network location. It did not cover subdomains, mobile apps or online banking portals, and some banks may publish other reporting channels on ordinary pages. Percentages are rounded to the nearest whole number, and a missing file does not necessarily mean weak security; it only means a standard, unified reporting channel is not published in the standard format.
Does a security.txt file mean you allow testing of your website?
No. RFC 9116 explicitly says that neither the presence nor the absence of the file grants or denies permission for security testing, and that any permission should be set out in the disclosure policy linked from the Policy field. So write your policy clearly: which systems are in scope, what is forbidden, such as accessing customer data or disrupting service, and how many days you need to respond. Review the wording with your lawyer before publishing; this guide is not legal advice.
International practice offers a useful example: Binding Operational Directive BOD 20-01, issued by the US agency CISA on 2 September 2020, required federal agencies to publish a disclosure policy at the /vulnerability-disclosure-policy path within 180 days, and said security.txt is not required under the directive but helps people find who to report to.
How do you create a security.txt file for your company in Egypt? A 10-step checklist
- Set up a mailbox such as security@ on your company domain and name at least two people responsible for monitoring it.
- Write a short Arabic and English disclosure policy defining scope, prohibited actions and expected response time.
- Create the file with the two required fields, Contact and Expires, then add Policy, Preferred-Languages and Canonical.
- Keep Expires under a year ahead and put a calendar reminder a month before it lapses.
- Publish it at /.well-known/security.txt over HTTPS as text/plain with utf-8 encoding.
- Repeat on every customer-facing domain and subdomain: com.eg, www, portals and stores.
- Make sure your firewall and CDN do not block the path for automated tools.
- Check that a non-existent path really returns 404 and not a generic 200 page.
- Sign the file with OpenPGP if you have a key you manage securely.
- Test the channel with an internal dummy report, log the response time, and review the file whenever the security team changes.
Here is a minimal example file you can start from after changing the values:
- Contact: mailto:security@example.com.eg
- Expires: 2027-10-31T21:00:00Z
- Policy: https://example.com.eg/security-policy
- Preferred-Languages: ar, en
- Canonical: https://example.com.eg/.well-known/security.txt
If your website is hosted with Smart One Group, our hosting or technical support team can publish the file, set the content type and review firewall rules. If you receive a report about a fake domain impersonating your company, see our guide to reporting phishing domains.
Frequently asked questions
Is a security.txt file legally required in Egypt?
We found no Egyptian rule requiring it. It is a voluntary practice documented in RFC 9116 and encouraged by bodies such as CISA and NCSC.
What is the minimum acceptable content?
Two lines: Contact with a working contact method, and Expires with a future date. All other fields are optional.
Does a file on the main domain cover subdomains?
No. The file applies only to the domain it was fetched from, so publish it on every customer-facing domain and subdomain.
Will the file attract attacks or spam?
It may increase low-quality reports, and the standard acknowledges this. But it reveals no vulnerability, and filtering noise is better than losing a real report.
Who should receive reports at a small company or clinic?
An internal technical person or your contracted service provider, provided there is a written agreement on response and escalation times.
Who do I contact if an incident is major and affects national infrastructure?
The national response team EG-CERT, hosted by the National Telecom Regulatory Authority, is Egypt's national computer emergency readiness team and has been a FIRST member since 2012.
Want to publish a security.txt file and a suitable disclosure policy for your website or system? Contact the Smart One Group team for a quick review of your site settings.




