Skip to content

Security: codedaptive/jin

SECURITY.md

Security Policy

Code Chi Jin runs a repository's declared commands on your machine and writes receipts that are committed and shared. If you find a problem that touches either, please report it privately.

Security by construction

  • Each command runs contained. A limited environment, a scratch home and a time limit. When a run ends or is stopped, ccjin stops what it started and nothing else.
  • No shell unless the command names one. run is split into words and started directly.
  • A committed receipt is scrubbed. Paths are written from the repository's top; host names, values that look like secrets (tokens, keys) and the values that name the person and the machine are removed. Logs and full test output stay in the local store .jin/, which git ignores.
  • A receipt is never changed. Its id is a hash of its own text, and ccjin checks checks each receipt file's name against its text.
  • No network. ccjin reaches none itself.

What this does not defend against

A jin.toml is code you run. ccjin run runs the commands a repository's check files declare, as you. Read a jin.toml you did not write before you run it, as you would a Makefile.

A check's own command may do anything you can. The limited environment is not a sandbox: a command can read your files and reach the network.

Scrubbing reads patterns. A secret in an unusual shape can pass it. Look at a receipt's diff before you push it, as you would any file.

Reporting a vulnerability

Do not open a public issue for a security problem.

Report privately through GitHub's Report a vulnerability form, or email security@codedaptive.com. Say which part is affected, the output of ccjin --version or the commit, your platform, and the steps to reproduce.

What to expect

We will acknowledge a report, work the problem privately, and coordinate disclosure once a fix has shipped.

Supported versions

Only the newest release is supported. Fixes go into the next release.

There aren't any published security advisories