Please report security problems privately through GitHub: open the Security tab of this repository and choose Report a vulnerability. Do not open a public issue.
Useful details: the version or commit, the command or API request, and, if the problem is triggered by DNS data, the records involved.
You can expect a first answer within a week.
mailauth-check reads DNS records that anyone can publish, and its HTTP API makes DNS queries for whoever calls it. Problems in these areas are in scope:
- a panic, hang, or excessive CPU, memory or DNS use caused by a DNS record or an API request;
- a way around the API's limits (per-client rate limit, concurrency limit, DNS query budget, timeouts);
- record content reaching terminal output or logs without being escaped and truncated;
- a way for an API caller to choose the DNS server or make the server send queries it should not.
Wrong results for a record (a check that passes when it should fail, or the other way round) are bugs, not vulnerabilities; please open a normal issue.
Only the latest commit on main is supported.