spackle

← Spackle home

Privacy

This document says what leaves your machine during a Spackle run, what is redacted first, and what is stored locally.

What leaves the machine

Mode Sent to a model provider Network destinations Notes
No model configured Nothing None from Spackle for a local directory. A git URL target is cloned from its remote. A running target receives scope-bound requests The run ends after the mapper and the seeders, or after the baseline probe for a running target. Leads are reported with confidence plausible and proof status not-run
Hosted provider (Anthropic, OpenAI, OpenRouter and other OpenAI-compatible endpoints) The prompts described in the next section, with detected secrets redacted The provider's endpoint, plus the destinations in the row above The provider's own retention and training terms apply. Spackle does not control them. The API key is read from an environment variable and sent only to that provider as a credential. Provider redirects are never followed
Local model (Ollama, or an OpenAI-compatible server on a loopback address) The same redacted prompts, sent to the local server The loopback address of the model server, plus the destinations in the first row Spackle sends nothing to a third party. A model server on another machine on your network is a remote destination, not a local one
--offline Only to a provider whose endpoint is loopback, or nothing if no model is configured Loopback only, for connections Spackle itself makes A provider that is not on loopback is refused before the run starts. The dialer refuses every non-loopback address, checked on the resolved IP, and proxies are ignored. A running target must be on loopback too. Private LAN addresses are refused

Two points apply to every row:

What is sent to a model

When a model is configured, a provider receives these and nothing else:

All target content is wrapped in a delimited envelope that marks it as data, and all of it passes through secret redaction first.

With per-stage models, each stage's prompts go to that stage's provider.

What is always redacted

Every outbound message passes through redaction before a provider call: the system prompt, user text, tool results, and tool arguments being replayed. Tools also redact their own output before returning it. A detected secret is replaced by [REDACTED:<rule>:<hash>], the name of the rule that matched and a short hash of the value. The hash is keyed with a random value that each Spackle process makes when it starts and never writes down: the same secret has the same hash within a run, so two secrets can be told apart, but a hash cannot be checked against guessed passwords, and it differs between runs.

The rules cover private key blocks, AWS access key ids and secret keys, GitHub and GitLab tokens, Slack tokens and webhooks, Stripe keys, Google API keys, Anthropic and OpenAI keys, JSON Web Tokens, passwords in URLs, Authorization header values, and a generic rule for high-entropy values assigned to secret-looking names. Redaction goes further than reporting: it also hides values the reporting rules skip as placeholders or plain strings, and the values the infrastructure checks report by their name (a Dockerfile ENV or ARG value, a Kubernetes env value, a short quoted value such as a Terraform password). Such a value is hidden wherever it appears in the file it was found in, and in a commit patch that touches that file; a value shaped like a generated token is hidden everywhere. Only a whole variable or template reference ($NAME, ${...}, {{ ... }}) is left readable.

The same applies to what is stored. A secret finding records the file, the line, the rule and the short hash, never the value. Sandbox output and recorded exchanges are redacted before they are written. The values of the headers you configure for an authenticated running-target scan are replaced as exact text, wherever they appear, in both what is stored and what is sent; they are read from the environment and never written down.

Redaction works by pattern and is best-effort. A secret in a format no rule matches, or one a program prints in a changed form (encoded, split, reversed), is not detected and is not redacted.

What is not redacted

When a model is configured, these are sent to it as they are:

If the source itself is confidential, use a local model, run with no model, or use --offline.

No telemetry and no update check

Spackle has no telemetry. It does not report usage, errors or findings to the project or to anyone else. It does not check for updates. It makes no network connection that the run does not require.

What is stored locally

Each run writes to the state directory, .spackle/ in the working directory unless state_dir says otherwise. Its directories and files, the clone of a git URL target included, are created with owner-only permissions.

Item Location Content
Ledger runs/<run-id>/ledger.jsonl The record of the run: see below
Findings runs/<run-id>/findings/<id>/ finding.json, the proof under poc/, sandbox output under evidence/, fix.patch, review.md
Exchanges runs/<run-id>/evidence/exchanges/ Every request and response sent to a running target, redacted, with stored bodies capped in size
Reports runs/<run-id>/reports/ Terminal, Markdown, HTML, JSON, SARIF and GitLab SAST
Run summary runs/<run-id>/summary.json The target, start time, outcome and finding counts of the run, for listings
Map cache cache/ The target map, keyed by commit
Clones clones/<run-id>/ The shallow clone of a git URL target
Fix worktrees worktrees/<run-id>/ The checkout that holds the fix branch
Staged exports staged/<run-id>/ The staged files a --staged scan reads, removed when the scan ends

What the ledger stores

What the ledger does not store

Findings do quote source lines, and evidence files hold sandbox output and captured traffic. Treat the state directory as sensitive. It describes weaknesses in your system and contains working proofs of concept. Add .spackle/ to .gitignore and do not commit or share it without review. Remove real hostnames and unredacted reports before attaching anything to a public issue.

Spackle does not upload this folder anywhere. With --pr, it pushes the fix branch to the repository's origin remote and opens a draft pull request whose body lists the fixed findings: their ids, titles, locations and severities.

External tools

Spackle can use programs that are separate from it. They run locally with your privileges and have their own network behavior. Spackle cannot control what another program does once it runs, so in --offline mode it does not start the ones that need the network: Semgrep, osv-scanner and Trivy are skipped and listed as skipped in the report (Semgrep still runs when [scan.semgrep] config names only rule paths on disk), a git URL target is refused instead of cloned, a sandbox image that is not already on the machine is not pulled (the proof is reported as not run), and a scan that would open a pull request (--pr) is refused, since that pushes a branch and calls the GitHub CLI. gitleaks and hadolint work on local files and still run.

For a run with no outside traffic: use --offline, scan a local directory, and pull the sandbox images in advance so proofs can still run.

This page is rendered from docs/PRIVACY.md in the repository.