Skip to content

Security and privacy

This page is about the website at dennis-otto.github.io itself: what it does in your browser, how a change reaches it, where its trust boundaries lie and which risks remain. Each project describes its own software on its own website. SECURITY.md says what happens with a report and how the repository keeps itself secure.

What you can expect

  • Static pages over HTTPS. GitHub Pages serves the pages as files; no code of the website runs on a server. It answers an http:// address with a redirect to https://, and tells your browser to use nothing but HTTPS for the address for a year (HSTS).
  • No cookies, analytics, advertising or sign-in, and no form that sends what you type anywhere.
  • Fonts and scripts from this address. While the website is built, the privacy plugin of Material for MkDocs downloads the Roboto fonts from Google Fonts and the Mermaid script for diagrams from unpkg, and the website serves them itself, under /assets/external/. Reading a page asks neither Google nor unpkg.
  • The search stays in your browser. Its index is a file of the website, which holds the pages of every project website too, and what you type into the search box stays on the page.
  • One small entry in your browser. Its local storage keeps whether the pages are light or dark (/.__palette), which isn't sent anywhere. The language is part of the address, /de/ for German, and isn't stored.
  • No request to another server. The link to the repository in the header is written while the website is built, so reading a page asks no server but this address, and api.github.com isn't asked at all. Only an outdated browser without ResizeObserver, such as Safari before version 13.1, loads a small script from unpkg that adds it.
  • Links that leave the website. The buttons of the projects lead to HACS through my.home-assistant.io, to the Nextcloud App Store, to the Chrome Web Store and to GitHub, where their own privacy rules apply.

GitHub, which hosts the website, logs the IP address of every visitor for security purposes, as About GitHub Pages says; the GitHub General Privacy Statement applies to it.

Trust boundaries

The trust boundaries of the website: Six boundaries. 1, a pull request reaches main only through the ruleset of main and every required check. 2, the Docs workflow builds the website from main with tools from PyPI that are pinned by their hashes, and downloads the fonts from Google Fonts, Mermaid from unpkg and the search indexes of the project websites while it builds, and reads the notes of the latest releases of every project from api.github.com, of which it keeps only text, lists, headings, tables, code, quotes and https links. 3, its deploy job alone publishes the website, in the environment github-pages, which accepts main alone, with a short-lived OIDC token. 4, GitHub Pages serves this website at the root of dennis-otto.github.io, on the same origin as the project websites, which their own repositories build and publish. 5, your browser gets the pages over HTTPS, and a current browser asks no other server. 6, the install links lead to HACS, the Nextcloud App Store, the Chrome Web Store and GitHub, and each user deploys Repo Pager from a copy of its repository as a Cloudflare Worker of their own.The trust boundaries of the website: Six boundaries. 1, a pull request reaches main only through the ruleset of main and every required check. 2, the Docs workflow builds the website from main with tools from PyPI that are pinned by their hashes, and downloads the fonts from Google Fonts, Mermaid from unpkg and the search indexes of the project websites while it builds, and reads the notes of the latest releases of every project from api.github.com, of which it keeps only text, lists, headings, tables, code, quotes and https links. 3, its deploy job alone publishes the website, in the environment github-pages, which accepts main alone, with a short-lived OIDC token. 4, GitHub Pages serves this website at the root of dennis-otto.github.io, on the same origin as the project websites, which their own repositories build and publish. 5, your browser gets the pages over HTTPS, and a current browser asks no other server. 6, the install links lead to HACS, the Nextcloud App Store, the Chrome Web Store and GitHub, and each user deploys Repo Pager from a copy of its repository as a Cloudflare Worker of their own.

  1. A pull request → main. A change reaches main only through a pull request that is up to date with main and passes every required check, squashed into one signed commit. The ruleset of main has no exceptions, not even for administrators. Among the checks, docs builds the website strictly, so that a link or an anchor that leads nowhere fails it; CodeQL examines the Python and the JavaScript of the website and the workflows, actionlint the workflows, Gitleaks the secrets and the dependency review new dependencies.
  2. Third-party code → the build. The Docs workflow installs MkDocs, Material for MkDocs and their plugins from PyPI with pip install --require-hashes -r .github/docs-requirements.txt, so pip refuses every file whose SHA-256 hash differs from the lock file. The actions are pinned to commit hashes. While the website is built, the privacy plugin downloads the fonts from Google Fonts and Mermaid from unpkg, in the version that the hooks of the blueprint pin; these downloads have no pinned hash. The hooks of the website download the search index of each project website at the address too and add its titles and excerpts to the search of this website. They also read the notes of the latest releases of every project from api.github.com and keep only text, lists, headings, tables, code, quotes and https links of them, without an attribute but the address of a link. For the line of each card that says what its project works with, they read the file that requires names in projects.toml, such as hacs.json, appinfo/info.xml, extension/manifest.json or copier.yml, from raw.githubusercontent.com at the tag of the latest release, without a token, and keep only a version of it. Harden-Runner records the network traffic of every job.
  3. The build → GitHub Pages. The jobs that build the website hold a token that can only read. The deploy job alone may publish: it runs in the environment github-pages, which accepts runs on main alone, and identifies its workflow with an OIDC token that GitHub issues for that one run, instead of a stored secret. No branch holds the published website.
  4. The websites of the projects → the same address. HomeDarts for Autodarts, Player Switch for Autodarts, Paperless Sync, Paperless Unified Search, the issue assistant, Repo Pager and Repo Blueprint live in folders of the address, and each is built and published by its own repository, with its own checks. For your browser, they and this website are one origin, https://dennis-otto.github.io. This repository serves the root of the address: robots.txt, security.txt, llms.txt and the icons for all of them, and the 404 page for every address outside the folders of the projects, whose websites answer a missing page with their own.
  5. The website → your browser. The pages travel over HTTPS, and a current browser asks no other server.
  6. The install links → other services. HACS delivers HomeDarts for Autodarts, the Nextcloud App Store the two Paperless apps, and GitHub the issue assistant and Repo Blueprint. Player Switch for Autodarts comes from the Chrome Web Store, for Chrome, Edge and the other browsers built on Chromium, which keep it up to date by themselves; Firefox loads it as a temporary add-on from the zip of a release on GitHub, since it isn't listed on addons.mozilla.org. Repo Pager comes from no store and runs on no server of this address: each user deploys a Cloudflare Worker of their own from a copy of its repository, with their own Telegram bot and GitHub App, so no instance of it is shared. The SECURITY.md of each project says how to verify its releases.

Threats and countermeasures

Threat Countermeasure Evidence
A tampered build tool on PyPI pip installs only files with the hash of the lock file. A new version arrives with the update pull request of the blueprint and passes every check here; in repo-blueprint, Renovate proposes it a week after its release at the earliest, unless it fixes a vulnerability .github/docs-requirements.txt, which the blueprint keeps current; stacks/docs/requirements-docs.txt and .github/renovate-blueprint.json5 in repo-blueprint
A changed font or Mermaid release, downloaded while the website is built The download runs over HTTPS on a runner of GitHub, never in your browser, and Harden-Runner records it. Mermaid has a pinned version but no pinned hash, which Residual risks describes /assets/external/ of the website, .github/workflows/docs.yml
A harmful change to a page, a hook or a workflow The ruleset of main without exceptions, every required check and a squashed, signed commit .github/repository.toml
An unauthorized deployment The deploy job alone publishes, in the environment github-pages, which accepts main alone, with a short-lived OIDC token; no key or token for publishing is stored anywhere .github/workflows/docs.yml, the branch policy of the environment
A compromised dependency or action sends the token of a bot elsewhere The four jobs of the Catalog workflow hold a token that writes issues or starts the Docs workflow, or that of the release app, so Harden-Runner blocks every host but those of their steps and the hosts of GitHub that the runner itself needs, and takes sudo and Docker away, so that no step can lift the block: GitHub (api.github.com, github.com), dennis-otto.github.io, raw.githubusercontent.com and the store of the artifacts for the comparison of the catalog bot, api.github.com, github.com and that store for its pull request, GitHub and dennis-otto.github.io for the watch of the live websites, api.github.com alone for the daily build .github/workflows/catalog.yml, test_the_bot_reaches_only_github_and_the_address_of_the_websites and test_the_rebuild_reaches_only_the_api_of_github in tests/test_hub_bot.py, test_the_pull_request_of_the_bot_comes_from_a_job_with_the_release_app in tests/test_hub_fix.py and test_the_watch_reaches_only_github_and_the_address_of_the_websites in tests/test_hub_watch.py
An edit of the catalog bot reaches more than the catalog The comparison holds no secret and makes its edits in its copy of the repository. Only the job after it has the release app, and only on main: it checks out its own script alone, from the commit of main that the run compared, runs nothing of the comparison, and commits only projects.toml, the READMEs, the pages of the website and the data of the tests of the script of the not-found page, never a workflow. Every check runs on its pull request, and a person merges it .github/workflows/catalog.yml, scripts/catalog-pull-request.sh, test_the_commit_of_the_bot_holds_only_the_files_that_it_edits in tests/test_hub_fix.py and tests/test_catalog_pull_request.py, which runs the script against a fake gh
Someone on the network reads or changes a page HTTPS, which GitHub Pages enforces, and HSTS for a year the header Strict-Transport-Security: max-age=31556952
A link to another website breaks or changes hands Every address of a project card starts with https://. The Links workflow checks the links of the pages and of the README, which lists every address of the cards, every week, and opens an issue for a broken one. It leaves out the redirect of my.home-assistant.io behind the HACS button, as lychee.toml says URL in .github/hub/catalog.py, .github/workflows/links.yml, lychee.toml
A text of projects.toml breaks a card or the structured data of the home page Brackets in the texts of a card are escaped, and no text can end the script of the structured data test_a_card_escapes_brackets_in_its_texts in tests/test_hub_render.py and test_no_text_of_the_catalog_ends_the_script_of_the_structured_data in tests/test_hub_address.py
The search index of a project website carries markup or a script into the search of this website, or can't be downloaded The search takes the plain text of every title and excerpt of a project, escaped, and leaves out an index that isn't one. A project whose index can't be downloaded stays out of the search until the next build, which passes test_an_excerpt_is_the_plain_text_of_a_section, test_a_broken_search_index_is_named and test_the_search_of_the_address_adds_every_project_website in tests/test_hub_search.py
The notes of a release carry markup or a script into the Releases page, or can't be read The build keeps of the notes only text, paragraphs, lists, headings, tables, code, quotes and links to https://, without an attribute but the address of a link, and puts them into the page after Markdown. Without the API, the page links the releases on GitHub, and the build passes test_no_script_or_picture_of_a_release_reaches_the_page and test_the_notes_keep_text_lists_code_and_links_to_https_alone in tests/test_hub_releases.py
A file of a release carries markup into a card or the structured data, or can't be read Only a value that VERSION matches, digits, letters, ., + and -, reaches the page; expat reads the XML without external entities. A file, a field or a release that can't be read leaves the line off the card, and the build passes test_a_file_without_its_value_is_named and test_a_file_that_cant_be_read_leaves_the_line_off_the_card in tests/test_hub_requirements.py
A compromised project website on the shared origin Nothing to steal: no website of the address sets a cookie or has a sign-in, and the browser's storage holds the color scheme alone the headers and pages of the live websites

Residual risks

  • The root of the address. A service worker registered by this website could control every page of dennis-otto.github.io, the project websites included, while a project website can register one for its own folder only. This website registers none. That makes a change to this repository the most sensitive of them all.
  • One origin for every website. A flaw in any of them, such as a script that a compromised build tool adds to its pages, reaches the others in your browser, because one origin shares the browser's storage and lets one page script another.
  • Downloads at build time. The fonts and Mermaid are downloaded anew in every build, without a pinned hash; the hooks of the blueprint pin the version of Mermaid. A harmful file on unpkg in its place would reach the website with the next change of main, but only a page that draws a diagram live loads Mermaid, and every diagram of this website is a picture. The roadmap plans their pinned hashes.
  • GitHub. GitHub hosts the website and the repository, and logs the IP addresses of the visitors. Whoever controls the GitHub account Dennis-Otto can change every website of the address.
  • Material for MkDocs. Material for MkDocs reaches its end of life on May 5, 2027, as the notes of version 9.8.0 say, with critical fixes and security updates until that date, which Renovate brings. After it, a vulnerability in its JavaScript may stay unfixed, unless the website has moved to a maintained theme by then, as the roadmap plans.

Report a vulnerability

Please don't open a public issue for a suspected vulnerability. Report it privately to the repository that builds the affected website; SECURITY.md says what happens next and how fast.

Website Report privately
This website, the root of the address, and anything you can't place dennis-otto.github.io
HomeDarts for Autodarts homedarts-for-autodarts
Player Switch for Autodarts player-switch-for-autodarts
Paperless Sync paperless-sync
Paperless Unified Search paperless-unified-search
Issue assistant issue-assistant
Repo Pager repo-pager
Repo Blueprint and the dashboard repo-blueprint

security.txt names the first of these forms for the whole address, and this page as its policy.

Decisions

The decision records explain the decisions that shape the website and its repository, each with its reasons.