Security
What Just Shipped does to keep a release tool from becoming a way in. To report a vulnerability, see SECURITY.md.
Collected text is untrusted
Commit messages, pull request bodies and tickets can be written by anyone who can open a pull request, and may hold text aimed at the model ("ignore your instructions and ...").
- In every prompt, collected text appears only inside delimited data blocks, and the model is told that nothing in a data block is an instruction.
- Collected text is never executed and never used to build a shell command or a file path. Child processes are started with an argument list, never through a shell.
- Every generated text is checked before it is written: banned words, glossary terms, length limits, and technical leftovers such as commit hashes, file paths and issue numbers.
- In the studio, collected text is shown as text; raw HTML is dropped and only
http(s)links are made clickable.
A person should still review everything before it is public. That review is the last line of defense. The preview flow gives it a stage of its own: the bundle waits on its branch until the release is published. Single-shot mode generates and ships in one run and writes the Release body with no review stage in between, so there the review is yours to do afterwards. Social posts are only ever drafts either way.
Drafts only
Nothing is ever posted to a social network or a chat app live. Slack and Discord get copy only (chat/slack.md, chat/discord.md), which a person pastes: no target sends it, since neither has drafts. A zero-width space keeps @everyone, @here, @channel and any other mention in collected text from notifying anyone once pasted. Scheduler targets (Buffer, Mixpost, Postiz, Publer, Typefully) only create drafts or posts that wait for approval, and no setting changes that. A contract test runs every scheduler plugin against a recording fetch and fails on any request that could publish, schedule or queue a post. The pull-request target always opens a draft. Release targets only update a release that already exists: none is created or published. That update is not a draft, though: when the release is already public, a new Release body is public as soon as it is written, so review it in the preview flow first. The app-store target only sets the What's New text of an App Store version nobody has submitted yet; it never creates, submits or releases a version. The play target only sets the release notes of a Play release that is still a draft, and commits with its changes kept out of review; it never creates a release or changes a status or rollout. Every post the ghost and wordpress targets write is a draft: they never publish, schedule or email one, and leave alone a post someone has already published. Every article the devto target writes is unpublished (published: false, with any front matter removed from the Markdown so it cannot publish either), and it leaves alone an article someone has published. Every draft the hashnode target writes goes through the draft create or update operation only, never a publish, schedule or review submission, and it leaves alone a draft someone has published, scheduled or submitted for review. The resend, mailchimp and loops targets only create or update a draft campaign or broadcast: they never send, schedule or test-send one, never call a send, schedule or test endpoint, and leave alone one someone has sent or scheduled. Text in the newsletter that the email tool would read as a personalization tag is written so it fills nothing. WordPress media files are public by URL once uploaded, so upload_image is off by default. See Targets.
Secrets by name
The config never holds a secret. A setting ending in _env holds the name of an environment variable:
model:
api_key_env: PEBBLE_AI_KEY
targets:
- plugin: webhook
url_env: PEBBLE_SITE_HOOK
secret_env: PEBBLE_HOOK_SECRETValues are read at run time and are never logged, printed, written to a bundle or published.json, or sent to the browser. doctor, plugins and the studio report only whether a variable is set. Text shaped like a credential is refused in a config change made through the studio and dropped from links and ids before they are stored.
In CI, store keys as secrets of your CI system and pass them as environment variables.
Security changes and embargoes
- A change marked as security (by label, by commit type, by a CVE or GHSA reference, or by touching
rules.security.paths) is always folded into one fixed line, "Security improvements." by default. Its title and body are never sent to the writing model, so the notes cannot describe a vulnerability by accident. - A change with the embargo label (
release:embargoby default) is excluded from every written output until the label is removed. release.jsonrecords every collected change, security and embargoed ones included, with its title and body. The bundle zip, the bundle branch and the webhook payload all carry that file. An embargo keeps a change out of the text written for readers; it does not keep it out of those.- A ticket linked to a security, embargoed or excluded change is hidden with it. Ticket sources (Linear, Jira, Shortcut, GitHub Issues) only read the tickets your changes name, never write to the tracker, and treat ticket text as untrusted collected text. Sentry is read for counts only (people, events, first and last day seen, level): an issue's title, message, stack, tags and user data are never read, stored or sent to a model.
- The
posthogsource reads counts only: for each eventrules.featuresnames, how many times it happened and for how many distinct people over the release's window. It never asks for or keeps a person, an id, an email, an IP address, a URL, a property or an event's data, so nothing personal reaches the bundle, the logs or a model. Event names come from the config and are sent as query values, never written into the query text.
What is sent to a model
Change titles, bodies and paths, your voice settings, and the release tool's own notes for the version. Code diffs are not sent unless you set model.send_diffs, and model.exclude_paths (.env*, **/secrets/** by default) are never sent. model.max_tokens sets a token budget for a run, checked before each model call.
Your voice profile (justshipped.voice.md), when there is one, goes to the writing and image-designing prompts as your own instructions. It is checked each time it is read: at most 4 KB, no links, nothing shaped like a credential; one that fails is not used, with a warning. justshipped voice learn and the studio's Learn from my edits send the text the tool wrote and your edited version of it, from the bundles on disk, to your configured model in one call and nowhere else. An edit that repeats a security or embargoed change's title or link, or holds anything shaped like a credential, is not sent. To learn from them, release.json keeps each edit's replaced text beside it (overrides[].generated), so that text travels wherever release.json does.
With OpenAI, responses are requested with store: false. That does not turn off a provider's own abuse-monitoring logs, which can keep prompts for a time; check your provider's terms.
The claude-code and codex providers run your installed CLI with its tools turned off, send the prompt on stdin, and do not pass API credential variables to it. codex also runs from a fresh private folder without your Codex config, and refuses any reply from a run in which a tool ran. It gets its own temporary Codex home (CODEX_HOME, readable only by you and removed after the run), so your own ~/.codex/AGENTS.md, history, sessions and memories are not loaded. That home holds only a link to your ~/.codex/auth.json: Just Shipped checks that the file exists but never reads, copies or logs it, and a login Codex refreshes during the run is written back to your file through the link. Your ChatGPT login stays inside Codex, and an API key saved in Codex is not used. A login kept only in your OS keyring is not supported. On Windows without Developer Mode, where the link cannot be made, Codex runs with your own Codex home and may read your global AGENTS.md; Just Shipped warns when that happens.
Just Shipped itself has no server, no accounts and no telemetry.
Comments and approvals
A teammate's comments in the studio are kept in the bundle's reviews.json and shown as plain text. They are never put in a prompt, and no target is handed reviews.json: the copy of the bundle a target gets leaves it out, as does the bundle zip. It stays on the computer it was made on: no push puts it on the bundle branch unless review.share_on_branch is on, and then it is there for anyone who can read the branch, which may be public. Names and comments shaped like a credential are refused. Approvals are a workflow aid, not access control: anyone who can edit the bundle can edit reviews.json.
What is sent to an image model
Only when outputs.images.backdrop names an image model plugin, and only the prompt for one picture at a time: a description the art director wrote (checked first: one line of at most 300 characters, refused if it asks for writing, a logo, an address, a version, your app's name, anything unsafe, or holds anything shaped like a credential), your brand colors as hex values, and fixed instructions (no text, letters, numbers, logos or recognizable people). Change titles, bodies, paths, item text and commit messages are never sent to the image provider directly. The description is written by the text model after reading the release's items, so it may reflect the featured item; that is why it is checked before it is sent, and why only the checked description goes, never the text it was written from. With no description (a rules-only run, or the studio's Make a new picture on an image without one) the prompt is the fixed instructions and your colors alone.
The key is read from the variable api_key_env names and sent only to the provider, in the Authorization header. A provider error is shown as its status and its own message, with the key removed; headers and the request body never appear in a log, an error or the bundle. Each run makes at most max_per_run new pictures, and the studio makes one only when you press its button. The picture is written to images/backdrops/ in the bundle, and only a PNG inside that folder is ever drawn behind an image: a sidecar naming any other path, or a link, is drawn without one.
Plugins
- First-party plugins are bundled with the CLI.
- A plugin from npm, and a custom image template, are code from your own project that runs with the same access as the tool. Install only what you trust.
- An
execplugin is started with an argument list taken from the config file only, with a minimal environment:PATH,HOME, locale and temp variables, plus the variables its*_envsettings andenvoption name. It is killed on timeout. - Paths in the config (templates, fonts, logo, voice examples, voice profile, changelog template) must be relative and stay inside the repository; symlinks leading outside are refused.
The studio
The studio listens on 127.0.0.1 by default. Listening on any other address requires a password in STUDIO_PASSWORD. Requests whose Host or Origin header does not name the bound address, and cross-site API requests, are answered 403, which blocks DNS rebinding and requests from other web pages. See Studio.
Downloads
The GitHub Action and the install snippet verify the executable against the release's SHA256SUMS and refuse to install on a mismatch: see GitHub Action and any CI.