Skip to content

Security: connabyss/bite

SECURITY.md

Security

Bite runs your project's tests, and its paid step lets a worker run commands on a copy of your project. So a security hole in Bite matters. Please tell us about one privately first, not in a public issue.

How to report one

Say what you did, what happened, and which Bite version (bite --version). A small repo or command that shows it helps most. You'll get an answer within a week, and credit in the release notes if you'd like it.

What happens after you report

  1. Within a week: we answer, say whether we could reproduce it, and keep talking in the private advisory (or by email).
  2. Fix in private: the fix and a test that fails without it are made in the advisory's private fork when the report came in privately. The Atheris fuzzer (tests/fuzz_atheris.py) gets a case for it when it fits.
  3. Release: a new version goes to PyPI, and the CHANGELOG says what was fixed and who to thank (unless you'd rather stay anonymous).
  4. Publish: the advisory is made public once the release is out, with a CVE when GitHub assigns one.

What Bite promises about security, its threat model and why we think it holds: docs/security-design.md.

Check a release

Every release on PyPI is signed when it's published: PyPI's Trusted Publishing has this repo's publish.yml make a Sigstore attestation for each file, so there is no private signing key to steal. PyPI shows it under "Provenance" on each file's page. To check a file you downloaded:

python -m pip install pypi-attestations
python -m pypi_attestations verify pypi --repository https://github.com/connabyss/bite bite_check-1.0.12-py3-none-any.whl

Pass the path of your own file (here, a wheel in the current folder): a file changed after it was published fails. Writing pypi:bite_check-1.0.12-py3-none-any.whl instead checks the copy on PyPI without a download. What a pass proves: the file is the one published to PyPI by a GitHub Actions run in connabyss/bite. It doesn't prove which workflow in the repo built it, or that the code in it is free of bugs.

Which versions get fixes

Only the newest release on PyPI. Update with pipx install --force bite-check --pip-args="--no-cache-dir".

What counts

  • The worker's command filter letting a command reach outside its copy of the project.
  • Bite sending your code, your API key or anything else somewhere you didn't ask it to.
  • The GitHub Action or the bot leaking a secret, or running untrusted pull request code with secrets.

Known limits that aren't holes: without Docker, your project's own tests run with your user's rights. AGENTS.md shows contain_command, which runs them in a Docker box with no network. A commit that fools Bite into a wrong result is a Fool Bite entry, not a security report.

There aren't any published security advisories