Technical details
How the BIMI Validator and Builder works
How the BIMI Validator and Builder gets its answers, which rules it applies, and where its checks stop.
DNS lookups
Lookups go to Cloudflare’s public resolver over DNS over HTTPS. The tool reads the TXT record at the selector’s _bimi name for the domain and, when there is none, at the organizational domain (found from the Public Suffix List), the fallback the BIMI draft describes. It reads DMARC at _dmarc for the domain and for its organizational domain. A lookup that times out or fails is shown as Not checked, never as a missing record.
DMARC rules
The checks follow the BIMI draft’s processing steps: no BIMI when the domain’s or organizational domain’s policy is none, when either sets sp=none, or when a quarantine policy has pct below 100. A reject policy with pct below 100 is a warning. The tool reads published policy only; whether a given message passes DMARC can only be seen in that message, for example with the Email Header Analyzer.
Fetching the logo and certificate
The l= and a= addresses come from the domain’s own DNS, so they are fetched with the same guarded fetcher other tools use. Only HTTPS on the standard port is fetched. Every host name, including each redirect hop, must resolve only to public addresses; private, loopback, link-local and internal names are refused before any request is sent. Each file has a size cap and a timeout, and one check makes a limited number of requests. Logos are read up to 128 KB and certificate files up to 64 KB. Files are not stored.
Logo previews are drawn in an image element, where an SVG can’t run scripts or load other files.
Reading the certificate
Each certificate in the PEM file is parsed in the Worker. The tool reads the extended key usage (the BIMI purpose, 1.3.6.1.5.5.7.3.31), validity dates, subject alternative names, the subject markType attribute defined by the BIMI Group’s Mark Certificate Requirements, embedded Certificate Transparency proofs and the RFC 3709 logotype extension, whose data URI it decodes (gzip included) and compares with the l= file byte for byte.
For the chain, it checks that each certificate’s issuer is the next certificate’s subject, and verifies RSA and ECDSA signatures between them with Web Crypto. It does not build a path to a root, check revocation, or confirm that the issuing certificate authority is one mailbox providers accept; providers make that decision with their own trust lists.
The SVG checks
The SVG checks are pattern checks on the file’s text against the SVG Tiny PS profile, not a full schema validation: the root attributes, the title, disallowed elements and attributes, event handlers, external references, entity declarations, the viewBox shape and the size. The same code runs in your browser when you check a file in the builder, so the two always agree.
Limits
Each visitor has an hourly and daily allowance of checks. Results are live: nothing is cached, and the time of the lookup is shown with the result.
FAQ
Why does the check say Not checked instead of failing?
A DNS lookup or an earlier step didn’t complete, so the tool can’t tell whether that part is right. Run the check again in a few minutes.
Does the tool send me the files it fetched?
Only the logo, as a preview image. The certificate file is read on the server and summarized; neither is stored.
Sources and further reading
- IETF draft: Brand Indicators for Message Identification (BIMI)
- IETF draft: SVG Tiny Portable/Secure
- BIMI Group: Mark Certificate Requirements (VMC and CMC)
- BIMI Group: Creating BIMI SVG logo files
- Google Workspace Admin Help: Set up BIMI
- RFC 7489: Domain-based Message Authentication, Reporting, and Conformance (DMARC)
- RFC 3709: Logotypes in X.509 Certificates