Report Relay accepts the security reports browsers and mail servers send — Reporting API batches, legacy CSP report-uri bodies, network error logs and SMTP TLS reports — and emits one OpenTelemetry log record per report, so they land in the existing Loki, Tempo and Grafana stack instead of a separate collector per report type.
  • Go 89.5%
  • Shell 7.1%
  • Python 2%
  • Dockerfile 1.3%
  • Makefile 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Damián Búho ba610e8c56
All checks were successful
published / release-tag (push) Successful in 3s
published / runner-is-ready (push) Successful in 5s
published / gpg-is-ready (push) Successful in 5s
published / signing-is-ready (push) Successful in 8s
published / projectfile-is-valid (push) Successful in 9s
published / source-is-tested (push) Successful in 11s
published / source-is-compliant (push) Successful in 13s
published / documentation-passes-lint (push) Successful in 15s
published / projectfile-is-ok (push) Successful in 9s
published / source-is-secure (push) Successful in 38s
published / source-passes-lint (push) Successful in 40s
published / binaries-are-built (amd64, linux) (push) Successful in 8s
published / binaries-are-built (arm64, linux) (push) Successful in 8s
published / binaries-are-built (riscv64, linux) (push) Successful in 8s
published / binaries-are-signed (push) Successful in 10s
published / binaries-are-torrented (push) Successful in 16s
published / binaries-torrent-is-verified (push) Successful in 9s
published / image-is-built (amd64) (push) Successful in 59s
published / image-is-seeded (amd64) (push) Successful in 18s
published / image-has-sbom (amd64) (push) Successful in 18s
published / container-is-verified (amd64) (push) Successful in 2m28s
published / image-is-secure (amd64) (push) Successful in 2m32s
published / image-is-published (kiota) (push) Successful in 16s
published / image-is-published (dockerhub) (push) Successful in 40s
published / release-is-published (push) Successful in 13s
published / go-install-is-ok (push) Successful in 5s
published / release-notes-are-published (push) Successful in 9s
published / published (push) Successful in 0s
chore(version): 0.12.0
2026-11-19 12:41:07 -03:00
.compose feat: gate forwarded headers on trusted proxy networks 2026-09-26 20:34:03 -03:00
.container fix: have the health probe check /readyz instead of /healthz 2026-11-03 21:29:33 -03:00
.forgejo/workflows build(workflows): update pins 2026-11-18 00:07:48 -03:00
.github/workflows build(workflows): update pins 2026-11-18 00:07:48 -03:00
.grafana/dashboards fix(grafana): show directive, blocked URL and disposition in the reports stream 2026-11-17 20:24:18 -03:00
.makefile chore(makefile): sync m6e submodules 2026-11-18 21:37:11 -03:00
.scripts feat: ship the Grafana dashboard as a release asset 2026-11-17 20:24:57 -03:00
docs chore(docs): regen features (links) 2026-11-18 22:07:35 -03:00
e2e test: report against example domains instead of the author’s own 2026-10-18 01:47:10 -03:00
internal fix(guard): evict the least-recently-seen client by name 2026-11-13 00:38:26 -03:00
LICENSES feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.claudeignore feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.containerignore build: regen .containerignore 2026-10-13 23:57:51 -03:00
.dockerignore feat(forge): declare and publish to GitHub and Codeberg 2026-10-01 16:53:11 -03:00
.fdignore feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.gitattributes feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.gitignore build: ignore .worktrees 2026-09-29 17:37:43 -03:00
.gitmodules feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.releaserc.yaml feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.textlintignore feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
.yamllint feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
AGENTS.md feat: ship the Grafana dashboard as a release asset 2026-11-17 20:24:57 -03:00
AI_POLICY.md feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
CITATION.cff chore(version): 0.12.0 2026-11-19 12:41:07 -03:00
CODE_OF_CONDUCT.md feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
CODEOWNERS feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
CONTRIBUTING.md chore(docs): regen contrib (links) 2026-11-18 22:05:26 -03:00
Dockerfile fix(container): forward near-cache port and scheme to build stages 2026-10-29 19:32:39 -03:00
go.mod fix(deps): bump golang.org/x/net to v0.62.0 2026-11-06 15:46:47 -03:00
go.sum fix(deps): bump golang.org/x/net to v0.62.0 2026-11-06 15:46:47 -03:00
go.sum.license feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
lefthook.yaml build(workflows): support for staged lint 2026-11-04 14:58:24 -03:00
LICENSE feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
main.go refactor: remove the mutation survivors no assertion can catch 2026-11-12 23:09:45 -03:00
main_test.go test(main): bound the exporter refusal test 2026-11-13 00:38:46 -03:00
Makefile feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
projectfile.yaml chore(version): 0.12.0 2026-11-19 12:41:07 -03:00
README.md fix: refactor CI workflows (new goals + preflight checks) 2026-10-18 17:18:25 -03:00
SECURITY.md feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00
SUPPORT.md feat: accept browser and mail security reports as OTLP logs 2026-09-25 20:23:54 -03:00

Español · Українська

Report Relay

Report Relay accepts the security reports browsers and mail servers send — Reporting API batches, legacy CSP report-uri bodies, network error logs and SMTP TLS reports — and emits one OpenTelemetry log record per report, so they land in the existing Loki, Tempo and Grafana stack instead of a separate collector per report type.

Stand with Ukraine Projectfile inside License Cosign ClamAV scanned PRs welcome REUSE compliance

Project status Last commit on kiota.ch Last commit on Codeberg Last commit on GitHub

Publish pipeline on GitHub Vulnerability audit on GitHub Dependency freshness on GitHub Analysis sweep on GitHub

Publish pipeline on kiota.ch Vulnerability audit on kiota.ch Dependency freshness on kiota.ch Analysis sweep on kiota.ch

Features

  • A slow collector never slows a browser
  • CAA IODEF incident reports
  • Cross-Origin-Embedder-Policy reports
  • Dropped into an OpenTelemetry setup unchanged
  • Cross-Origin-Opener-Policy reports
  • Browser crash reports
  • Legacy CSP report-uri reports
  • Content Security Policy violation reports
  • Deprecation reports
  • Document Policy violation reports
  • Expect-CT violation reports
  • A public intake, guarded by default
  • HPKP pin validation failure reports
  • Subresource Integrity violation reports
  • Browser intervention reports
  • Network Error Logging reports
  • One endpoint for every report a site can send
  • Permissions Policy violation reports
  • SMTP TLS reports
  • Typo reports from your readers
  • A report type nobody has defined yet is still kept

It also inherits the features of B19 / Ubuntu — see Features for the full list.

What this provides

  • Executable report-relay — command report-relay
  • Container image ghcr.io/damian-buho/report-relay:latest
  • Container image damianbuho/report-relay:latest
  • Service relay — listens on 8080 (intake), 8081 (admin) — Report intake and health endpoints

Installation

Container image

Pull the published container image:

Pull from GHCR — linux/amd64, linux/arm64

docker pull ghcr.io/damian-buho/report-relay:latest

Pull from DockerHub — linux/amd64

docker pull damianbuho/report-relay:latest

Stable releases also publish X.Y.Z, X.Y and X tags — pull the precision you want to pin.

If the registries above are unreachable, pull from the origin instead:

Pull from Kiota — linux/amd64

docker pull kiota.ch/damian-buho/report-relay:latest

Prebuilt binary

Download the prebuilt binary for your platform from GitHub Releases:

mkdir -p ~/.local/bin
curl --fail --location --output ~/.local/bin/report-relay https://github.com/damian-buho/report-relay/releases/latest/download/report-relay-linux-$(uname -m)
chmod +x ~/.local/bin/report-relay
~/.local/bin/report-relay --help

Published for: linux/amd64, linux/arm64, linux/riscv64

To uninstall, delete that one file: rm ~/.local/bin/report-relay.

Usage

Run the service in the background, publishing its ports:

From GHCR

docker run --detach --publish 8080:8080/tcp --publish 8081:8081/tcp ghcr.io/damian-buho/report-relay:latest

From DockerHub

docker run --detach --publish 8080:8080/tcp --publish 8081:8081/tcp damianbuho/report-relay:latest

Then check that it answers:

curl http://localhost:8081/healthz

Building

Clone the repository with its submodules:

git clone --recurse-submodules https://codeberg.org/damian-buho/report-relay report-relay && cd report-relay

Build the container image locally:

make container-build

Run make with no arguments for the default target; run make help to list every target.

For the local dev loop, make dev-container brings up the dev-container.

Pipeline entry points:

  • make analyzed — Run the heavy analysis sweep (mutation testing, benchmarks)
  • make audited — Re-scan the pinned dependencies and published artifacts for new vulnerabilities
  • make check-outdated — Report every pinned dependency that lags upstream
  • make release-is-ready — Run the pseudo-CI pipeline locally — build, test and scan, without publishing

Documentation

Policies

License

This project is licensed under MIT — see the LICENSE file for details.