What Plainwing reads, runs, posts and sends

Plainwing reads your repository, runs your own tests in a container or a temporary copy, and posts one comment on the pull request. Nothing is uploaded to us and no model is called. Plainwing reaches the network only to pull a test image, install packages, optionally fetch Node under --local, or run a command you pass to --runner. Every host from our 4 Nov 2026 measurement (on plainwing 0.3.0) is listed below, with what 0.6.0 and 0.6.1 (published 26 Nov 2026) add.

What it reads

In the repository it runs in: the files, the git history back to the merge base with the default branch, the diff and the commit messages. On a pull request it also reads the title and body from the event GitHub supplies, and treats that text as claims to check. A plainwing.yml at the repository root is read from the merge base, not from the pull request, so a pull request cannot loosen the gate it is judged by. Plainwing reads nothing outside the repository: no other repository, not your home directory, not your cloud credentials.

What it runs, and where

Plainwing runs your install and test commands, so it executes the code it is checking. Where that happens decides what that code can reach.

Docker, the default and what the Action uses

  • The tests run in a container on a copy of the files with no .git folder.
  • No environment variables are passed in except any you give with --env, so your GitHub token is not in the container.
  • No Docker socket is mounted. Memory is capped at 4 GB (8 GB for Node), CPUs at 2 and processes at 4096, and no-new-privileges is set.
  • The container has network access, because installing dependencies needs it. A container is not a promise that hostile code cannot escape, so treat a fork pull request as untrusted: require approval before workflows run for outside collaborators, and keep the Action on pull_request, never pull_request_target.

--local, for trusted code only

  • The tests run in a temporary copy on your machine, as you, with your environment, your home directory and everything your user can reach.
  • The Claude Code end of task check runs in this mode. Plainwing cannot make a repository’s own install and test commands safe here; it only runs them.
  • If a Node project declares a Node version your machine does not have, --local downloads that release from nodejs.org, checks it against the published SHA-256 list and keeps it under ~/.cache/plainwing/node (or PLAINWING_CACHE). Added in 0.5.0 (unchanged in 0.6.1) and not yet measured.

--shards and --runner, new in 0.6.0

  • Passing --shards alone runs shards as local processes on the current machine outside Docker, with the same host access as --local (for trusted code only). Remote execution runs only when you pass both --shards and --runner TEMPLATE, where TEMPLATE is a shell command you write, such as one that uses ssh to reach a remote machine. Plainwing sends each shard the repository copy as a tar archive on that command’s standard input, without .git or node_modules, and runs the shard there.
  • The archive includes the run script, which holds any --env values. The remote machine, and the isolation it gives, is yours to choose; Plainwing does not wrap --runner in Docker, so any container flags on the remote host are up to your command.

What it posts

On a pull request from the same repository the Action posts one comment, updated on later pushes, and annotates the changed lines no test ran. The comment holds the verdict table, the file and line ranges that never ran, the changed source lines and a prompt for your coding agent that quotes them. These go to GitHub, where that code already is.

Token permissions it needs

permissions:
  contents: read
  pull-requests: write

contents: read lets the checkout run. pull-requests: write lets the Action post the comment. Annotations are workflow commands and need no permission. Without the write permission the result goes to the job summary only.

What it does not do

  • It does not post on pull requests from forks; the Action ends neutral there.
  • It does not push commits, open issues, change labels or call any API other than the one comment on that pull request.

Every host contacted

Measured on 4 Nov 2026 on a GitHub-hosted ubuntu-latest runner with step-security/harden-runner v2.22.3 pinned by SHA in audit mode, running the Action v0 and plainwing 0.3.0 on a Python test repository. Host log: egress-runner.txt. The newest npm release is 0.6.1 (26 Nov 2026) and the Action’s newest tag is v0.6.0, which installs 0.6.0; no Action tag for 0.6.1 exists yet. Hosts have not been measured again for either. From reading the 0.6.0 and 0.6.1 source, the only outbound calls added since 0.3.0 are the optional nodejs.org download under --local and any command you pass to --runner. 0.6.1 adds CI coverage reuse hardening and no new host, download, subprocess, Docker use, stored item or token: it reads the same INPUT_* and GitHub token inputs as 0.6.0.

Hosts contacted in the measured runs
HostContacted byWhy
registry.npmjs.orgnpm pack in the Action; npx on your machineDownloads the plainwing package. The Action at v0.6.0 packs exactly plainwing@0.6.0, checks its sha512, then installs that local tarball with --ignore-scripts; the measured run used the Action v0 and plainwing 0.3.0.
registry-1.docker.io, auth.docker.io, production.cloudfront.docker.comThe Docker daemonPulls the image for your language (python:3.12 in the measured run). Not contacted when the image is already on the machine.
pypi.org, files.pythonhosted.orgThe test containerInstalls coverage and pytest, and your own dependencies if your project has any.
api.github.comThe ActionPosts and updates the one pull request comment.
github.comactions/checkout, not PlainwingFetches your repository before Plainwing starts.

Also seen in that run and not from Plainwing: results-receiver.actions.githubusercontent.com (the GitHub Actions runner) and prod.app-api.stepsecurity.io (harden-runner itself).

npx plainwing in Docker, on our server

With the image already present, the container contacted pypi.org and files.pythonhosted.org and nothing else, read from a packet log of its traffic. Details: egress-local.txt.

npx plainwing --local, on our server

One outside connection, to registry.npmjs.org for the package itself; the fixture has no dependencies, so the test run made none. Your own install commands add whatever hosts they use.

nodejs.org, under --local, not measured

Downloads the declared Node release when your machine does not have it; see What it runs.

Limits of this measurement: one Python fixture, GitHub-hosted Linux only, and no Node project. harden-runner records connection attempts and does not prove nothing else left. A private registry or a custom install command will contact other hosts.

What never leaves

  • Your source, test output and coverage data are not sent to Plainwing or Knoten Technologies. No host of ours was contacted in any measured run, and the package has no account, telemetry or model call.
  • Your GitHub token goes only to api.github.com, from the Action’s own process. It is not passed into the test container.
  • The one thing that leaves the GitHub Actions runner in CI is the comment described above, sent to GitHub. The Action never uses --runner, the only option that sends the repository copy to another machine, and you choose that machine.

What is stored on your own machine

  • Plainwing writes the last result to .git/plainwing in your repository, and the report and result.json to a folder you name with --out DIR. Besides its temporary copy and the --local Node cache, it stores three items on the machine that runs it (run history, installed environments and test-impact maps) under PLAINWING_HOME (default ~/.plainwing), except the plainwing-env images, which live in the local Docker daemon.
  • Run history: the result of each run under PLAINWING_HOME/runs, with owner-only permissions. Off with --no-history, and skipped whenever the CI variable is set.
  • Installed environment, new in 0.6.0: a Docker run whose install succeeds is kept as a local image named plainwing-env:<repository>-<hash>, so the next run of the same dependency files skips the install. For Node it also keeps the node_modules folders under PLAINWING_HOME/cache. The total is capped at PLAINWING_CACHE_MB (10240 by default) and the least recently used entries go first. Off with --no-env-cache or PLAINWING_NO_ENV_CACHE; --local does not use it. The image lives in the Docker daemon, not under PLAINWING_HOME, so deleting that folder does not remove it; clear it with docker image rm on the plainwing-env:* images. It holds what your install commands wrote into the container, including anything they write from --env values, so treat it as you would your own build cache; it never leaves the machine.
  • Test-impact map, new in 0.6.0: after a passing Python check, a JSON file under PLAINWING_HOME/cache/impact (folder mode 0700) records which test files ran lines of which source files, keyed by the base commit; the newest 8 per repository are kept. The next check runs only the tests the map ties to the changed files, and falls back to the whole suite when the map is missing, stale or does not know a changed file. It holds file paths only. There is no switch to stop it being written; --full-suite stops it being used, deleting the folder or pointing PLAINWING_HOME at a throwaway folder removes it.
  • plainwing history, new in 0.6.0: reads the commits of your repository back over a window (30 days by default, at most 40 merges) and runs the normal check on each merge in a temporary git worktree of your repository, removed afterwards. It runs only when you call it, reads nothing outside the repository, posts no comment and saves no run history (each merge is checked with --no-history); each check otherwise behaves as above, using the installed-environment and test-impact caches and the same hosts, in Docker or on your machine with --local.

Zero dependencies, no install scripts, and how to check

The npm package has no dependencies and no install, preinstall or postinstall script; its only script is test. We read this from the npm registry; you can read it yourself.

Verify the package

npm view plainwing@0.6.1 dependencies scripts dist.integrity dist.shasum
# dependencies: none
# scripts: { test: ... } only
# dist.integrity:
# sha512-EVPBHikD21lGTsOP/NyWwd0i6WGc2aMH2SUnq58kwfHNbL0UeKCSp5v2yLWbpsSY4vR2JLYs6ViAlIOJfgrmzQ==
# dist.shasum:
# ed60333440e23093de9886d31cb25cf25a1eae06
# 0.6.0 (the version the Action pin below installs):
# sha512-korzj9WEQpxykgQgI2/46vAk1KI75O16ghck+Dgs3lCCW+ITaKcjxgQrptcOFDBQfE1qjXb/IxooO35SyODE5Q==

Read as of 26 Nov 2026. The engine uses only the Python standard library and the Node wrapper only Node built-ins. Release 0.6.1 corresponds to tag v0.6.1 at commit 141c8714978d937a33a40b729abb5a299cc52537 in the plainwing repository.

Pin the Action by commit

- uses: Knoten-Tech/plainwing-action@22565bc3b5304532112b3e101aa5348d4c0ba919 # v0.6.0

The tag v0.6.0 points at this commit today. Check it with git ls-remote https://github.com/Knoten-Tech/plainwing-action 'refs/tags/v0.6.0^{}'. A tag can be moved; a commit SHA cannot. It verifies the 0.6.0 sha512 shown above before installing.

What is not in place yet

  • The npm package has no provenance attestation, including 0.6.1, so the registry cannot show which build produced it: one maintainer account publishes it from a stored npm login, not from CI.
  • The Action has no signed or immutable release and no protection on its tags: anyone with write access to that repository could move v0. Pin by commit as above until that changes.
  • The Action checks the package tarball against a sha512 written in its own action.yml, so a changed registry package is refused, but that value lives in the same repository as the Action: it does not protect against a changed Action. Pin by commit as above.
  • Fork pull requests have not been run against a real fork.
  • There is no separate security mailbox yet; the SECURITY.md file in both repositories and the npm package names the same contact address as this page.
  • No third-party audit has been done and we hold no security certification.

What Plainwing is not

  • Not a vulnerability scanner. It does not look for insecure code.
  • Not a sandbox for hostile code.
  • Not proof that the code is right. Verified means the tests ran the changed lines and noticed a planted fault; see what each verdict means.

Report a problem

Write to hello@plainwing.com with the output of npx plainwing --version and what you saw. For a security problem, please send the details by email and not in a public issue.