Security and data handling
Last updated December 4, 2026
pqshift asks for write access to your repositories, so you should know exactly what it does with it. This page is the complete answer. If something here is unclear or wrong, email hello@pqshift.dev.
Short version
- pqshift only ever writes to branches it creates (
pqshift/*for pull requests,pqshift-candidate/*for pre-PR tests, deleted afterwards). It never pushes to your default branch, merges, or approves. - Your code is cloned into a temporary directory for each job and deleted when the job ends. It is never executed on our servers.
- The proof runs in your own GitHub Actions, with a workflow you can read in the PR.
- Only AI fixes send code to a third party: the files the agent opens are sent to Anthropic’s API. Scans and recipe fixes stay on our worker and GitHub.
- The website uses Google Analytics to count visits, without repo or account names. Visitors in Europe are asked first.
GitHub permissions
These are the permissions the app requests. GitHub shows them to you before you install, and you choose which repositories the app can see.
| Permission | Access | Used for |
|---|---|---|
| Contents | read & write | Read code to scan it. Write only to create pqshift/* branches and commit the fix to them. |
| Pull requests | read & write | Open the fix PR and follow whether it is merged or closed. |
| Checks | read & write | Post the free “pqshift scan” check run with findings on each push. |
| Workflows | read & write | The PR adds .github/workflows/pqshift-proof.yml. GitHub requires this permission for any change under .github/workflows. |
| Actions | read | Download the proof job’s log to read its result line. |
| Issues | read & write | Keep one proof comment updated on the PR (GitHub serves PR comments through the issues API). |
| Metadata | read | List repos and find the default branch. Every GitHub App has this. |
| Members (organization) | read | Check that the person signed in to the dashboard belongs to the org before showing its repos. |
Webhook events it listens to: push (rescan), pull_request (track fix PRs), workflow_run (read proof results), repository (renames and deletions), plus installation events.
Files a pull request adds
.github/workflows/pqshift-proof.yml: the proof job, shown in full below..pqshift/spec.json: what is being proven (which group, which server or client, whether to check fallback)..pqshift/probe/: the Go source of the probe that performs the handshake, plus small harnesses for Python, Node and Java clients. It is compiled in the job; no prebuilt binaries are downloaded.
This is the workflow for a Go TLS server listening on port 8443, exactly as pqshift generates it. The job has read-only access to your repo contents and no secrets.
# Generated by pqshift. Proves this repo negotiates X25519MLKEM768 and keeps classical fallback.
# What is proven lives in .pqshift/spec.json; pqshift regenerates this file from it.
# Each step runs one probe in a container and prints a PQSHIFT_RESULT= line. No line means fail.
name: pqshift proof
on:
pull_request:
paths: [".pqshift/**", "**/*.go", "**/*.py", "**/*.js", "**/*.mjs", "**/*.ts", "**/*.java", "**/*.kt", "**/go.mod", "**/package.json", "**/pom.xml", "**/*.gradle*", "**/ssh*_config", ".github/workflows/pqshift-proof.yml"]
push:
branches: [main, master, "pqshift-candidate/**"]
workflow_dispatch:
permissions:
contents: read
jobs:
proof:
runs-on: ubuntu-24.04
timeout-minutes: 20
env:
PQSHIFT_CHECK_FALLBACK: "true"
PQSHIFT_REQUIRED_GROUP: "X25519MLKEM768"
GOFLAGS: "-buildvcs=false"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25"
cache: false
- name: Build pqprobe
run: |
cd .pqshift/probe/pqprobe
CGO_ENABLED=0 go build -trimpath -o "$GITHUB_WORKSPACE/.pqshift/bin/pqprobe" .
echo "PQSHIFT_EXPECT=1"
- name: "Repo TLS server on :8443 negotiates X25519MLKEM768"
env:
PQSHIFT_STEP: "pqprobe tls-server --port 8443 --start 'go run ./cmd/server'"
run: |
docker run --rm --network host -e PQSHIFT_CHECK_FALLBACK -e PQSHIFT_REQUIRED_GROUP -e GOFLAGS -e PQSHIFT_STEP -e PQSHIFT_JAVA_CLASSPATH \
-v "$GITHUB_WORKSPACE:/work" -w /work \
-v "$GITHUB_WORKSPACE/.pqshift/bin/pqprobe:/usr/local/bin/pqprobe:ro" \
--entrypoint sh golang:1.25 -c 'eval "$PQSHIFT_STEP"'The app reads one line, PQSHIFT_RESULT=…, from the job log. If the line is missing, malformed, or reports a failed check, the proof is a failure. You can delete these files after merging if you don’t want the ongoing check; pqshift then records no new proofs for that repo.
Where your code goes
- Scanning clones the repo at the pushed commit into a temporary directory on our worker, runs the scanner (which parses files; it doesn’t build or run them), and deletes the directory.
- Recipe fixes (TLS groups, SSH key exchange, runtime versions) are text edits made on the same kind of temporary clone.
- AI fixes (RSA or ECDH key wrapping in application code) use Claude through Anthropic’s API. The agent asks for specific files in the repo being fixed and only those are sent. By default, Anthropic doesn’t train its models on API inputs. AI fixes only run after you pay for that repo.
- Builds and handshakes run in your GitHub Actions, on GitHub’s runners or your own.
GitHub installation tokens are minted for each job and kept in memory only. They are never written to the database or logs.
What we store
- Your GitHub account or org name, installation id, and the names of repositories the app can see.
- Scan results: for each finding, the rule, file path, line number and the matching line of code.
- Fix pull requests: number, title, status.
- Proof results: pass or fail, negotiated group, commit, and the link to the CI run.
- Billing: your Stripe customer id and what you bought. Card details go to Stripe and never reach us.
Data is kept while the app is installed. To have it deleted, uninstall the app and email hello@pqshift.dev from an address on the GitHub account or org.
Site analytics
We use Google Analytics 4 to count visits to this website and to see which steps people take (install, first scan, checkout, merged fix). What it gets:
- In your browser: the page path, without the query string (so repo and account names in dashboard links never reach Google), the referring site, and a click on an “Install” button. Advertising features and Google signals are off. The tag sets a first-party cookie to tell repeat visits apart.
- Visitors in Europe are asked first. Until you choose “Allow”, the tag isn’t loaded. If your browser sends Global Privacy Control, it never loads.
- From our servers: a count when the app is installed, a first scan finishes, a checkout starts, a payment succeeds, or a fix PR is merged, with the plan, price and number of findings. These events carry a one-way hash instead of your account name and no repo names.
Public readiness page
Off by default. If you turn it on, it shows repositories with merged pqshift fixes and their latest proof. Private repositories appear as “Private repository 1, 2, …” with no name, link, PR number or CI run URL.
Services we use
| GitHub | Where the app runs against your repos, and where proofs run. |
|---|---|
| Render | Hosts the web app, the worker that scans and writes fixes, and the Postgres database. |
| Anthropic | Claude API, for AI fixes only. |
| Stripe | Payments and invoices. |
| Google Analytics | Visit and funnel counts for this website (see Site analytics). No code or repo names. |
Revoking access
Uninstall the app from your GitHub settings (Settings → Applications → Installed GitHub Apps → pqshift → Configure → Uninstall, or the same path under your organization’s settings). Access stops immediately. Branches and PRs it already opened stay in your repo until you close or delete them. You can also narrow it to fewer repositories from the same page at any time.
Reporting a security issue
Email hello@pqshift.dev with “security” in the subject.