This page is the security policy of the site and of the authority. It says how to report a problem, which
controls are in place and what is out of scope. Anything not written here is not promised.

## How to report a vulnerability

- Use the form at [/en/abuse](/en/abuse) with the reason `tecnico`.
- The canonical policy is at [/.well-known/security.txt](/.well-known/security.txt), which points to this page.
- There is no mailbox and no extra encryption: we do not ask for or store any data about the reporter.
- Include the URL, the service and the steps to reproduce. Do not include third-party data or private keys.
- The first decision has a 24 h deadline, with the same role owner as an abuse report.

A technical report is not a scan: if you get an odd answer, describe the exact request and what you
expected to receive.

## Headers the portal sends

| Header | Value | Purpose |
| --- | --- | --- |
| `Content-Security-Policy` | `default-src 'none'; style-src 'self'; …` | blocks scripts, frames and external resources |
| `Strict-Transport-Security` | `max-age=31536000; includeSubDomains` | pins HTTPS for a year |
| `X-Content-Type-Options` | `nosniff` | the browser does not guess the type |
| `Referrer-Policy` | `no-referrer` | does not reveal the source URL to third parties |
| `Permissions-Policy` | `geolocation=(), microphone=(), camera=(), interest-cohort=()` | turns browser APIs off |
| `Cross-Origin-Opener-Policy` | `same-origin` | isolates the window |

The full content policy is this:

```text
default-src 'none'; style-src 'self'; img-src 'self' data:; form-action 'self'; base-uri 'none'; frame-ancestors 'none'
```

The portal sends all six headers on every answer, including the 404 and the 429. Cloudflare terminates TLS
in front and the zone runs in strict mode, with HTTP redirected to HTTPS.

## Zero cookies, zero tracking

- No cookies and no `Set-Cookie` header. There are no sessions and no identifiers.
- No analytics, pixels, fonts or third-party resources. The stylesheet is served from the same host.
- Zero JavaScript. Forms are plain HTML: a `GET` for the log search and a `POST` for abuse.
- The request limit is counted per origin and the origin is not stored, not logged and not echoed in the answer.
- The abuse report asks for no name, email or account, and stores none.

## What the portal does protect

Markdown is escaped before rendering, so a page cannot inject markup. Pages are built at start-up and
served from memory: one request is a dictionary lookup. Publishing a card requires an operator token in
the `x-crdca-token` header; the token lives in the service variable and not in the repository tree.

## What CRDCA does not protect

- Your private key. CRDCA does not receive it, does not hold it and cannot recover it.
- A verifier that ignores the rejection codes. The final decision is theirs.
- A card's content beyond what is attested: chain, SAN, proven origin, inclusion and status.
- The availability of your agent, your network or your provider.
- The direct path to the Railway origin, which has its own domain and does not depend on the Cloudflare zone.
- A second physical region: there is no measured failover between regions today.

## What is simulated

::: simulado
Fifteen criteria depend on hardware or on people: the FIPS HSM, the ceremony with five custodians and two
witnesses, the second region, the mandate's passkey and legal signature, the client KMS and the rehearsal
of the fifteen anchors. They are declared, not faked. The software around them is built and measured.
:::

The current root is a lab CA living in the service volume, not in an HSM. The three-network ASN quorum is
the contract's declared model, not three real networks.

::: limite
The portal limit is counted in the service itself and is not an application firewall: it does not inspect
content and does not block by reputation.
:::

## How to check it yourself

```bash
curl -sI https://crdca.org/en/status | grep -iE 'content-security|strict-transport|referrer|nosniff'
```

If a header is missing, that is a defect: report it with the reason `tecnico` and the answer you received.
The full deployment check is the eleven checks in `scripts/e2e_cloud.py`, which also look at the chain, the
log and the signed status.
