Security & trust

What we see, what we don't, and why

This page states our data-handling claims precisely enough to be checked against the actual source, not just taken on faith. Every "what we never see" item below is enforced today, and every compliance claim is stated exactly as far as it currently goes — no further.

Architecture & data flow

  1. 1. Your machine Claude Code / Cowork hooks call the local engine on every tool call.
  2. 2. Local engine Deterministic rules evaluate the call. Shadow mode logs; enforce mode can block.
  3. 3. Local storage Findings and settings live in ~/.pinkyai. Nothing here is uploaded automatically.
  4. 4. Cloud (optional) Only reached when you sign in or refresh your license. Never while a tool call is evaluated.

Step 4 is reached only when you sign in or refresh your license. It is never in the path of evaluating a single tool call: a hook checks your cached license offline.

Every network call the binary makes

A default install talks to the network only when you run one of these commands. This list is checked against the engine source on every build, so it changes when the code does.

Only if you turn them on

What does not leave your machine

What's actively scanning, on your machine

Step 2 above ("Local engine") isn't one check — it's this list, run against every tool call before it executes. All of it is deterministic, versioned rule packs, not a model call: same input, same verdict, every time, and nothing here ever leaves the machine to run.

Detection quality for each pack is measured, not asserted here — pinkyai security-detection-benchmark checks whether real rule triggers still get caught in full session context, using the same engine binary you're running, not a marketing snapshot that can drift out of date.

What we never see

  • The content of your files, commands, or Claude Code / Cowork conversations
  • Your API keys, secrets, or credentials — catching these before they leak is the product's job, not a place they end up
  • Anything at all from a session. Even with telemetry on, the counts stay in a local database on your machine

What the cloud side ever holds

  • Account email and name
  • Organization membership and role
  • Organization name and entitlement
  • Legal acceptance records
  • Telemetry consent
  • Telemetry
  • Product events on our own platform
  • Device records
  • License issuance log
  • Invitations
  • Audit events
  • Referral codes and attributions
  • Private-beta allowlist and trial-eligibility records
  • Waitlist and newsletter emails
  • Content-Security-Policy violation reports your browser sends; we log only the violated directive and the blocked host, never the page URL, query string or user agent
  • Request logs

How long each one is kept, and what deletion and Download my data cover, is in the privacy policy’s data table.

What stays on your machine

PinkyAI is local-only: nothing below is uploaded, but the engine does write to your own disk, under ~/.pinkyai on macOS and Linux ($XDG_DATA_HOME/pinkyai if you set XDG_DATA_HOME), %LOCALAPPDATA%\pinkyai on Windows. This is the complete local data map, checked against the engine's storage layout by our test suite:

Folder What it holds Why How long
config/ Your settings: mode, which rules are on, allowlists. So the engine behaves the way you set it up. Until you change or delete it.
db/ events.sqlite3: each finding's rule id, severity, a masked preview of what matched, the session id and time, the masked shape of recent writes (each letter and digit replaced by its kind, known key prefixes aside, so a secret split across files can still be caught), keyed fingerprints rather than the text of your prompts, subagent task prompts, the lines of a test fixture you read and the fields of an infrastructure file you edit (so a repeat or a change can be spotted; the fixture or file path itself is kept, and the key sits beside the database in events.digest-key), the file or folder you named in a "don't touch" instruction (secrets in it masked), plus the network destinations a command names (a URL or host passed to curl, git or ssh), and each Block, Advise after or Off switch you make on the dashboard's Rules page or with pinkyai rules mode (the rule, its setting before and after, and when), and each exception you add or remove from the dashboard (the rule, the allow line and the file it went in). If you turn on security.verdict_capture_enabled (off by default), also each tool call's redacted inputs (the command or file content up to 64 KiB, secrets and PII masked), for pinkyai replay. If you set a tree_budget cap (none by default), also, per session, each transcript's path and how far it has been read, its per-message token counts and message ids, and its subagent spawn ids, so the cap can be checked without re-reading the session; no message text. While the proxy is on and "Record model timings" in Settings is left on (security.daemon_record_model_health, on by default), also, for each request the proxy relays, the session id, the model name, when it started, the time to the first and last byte of the reply, the HTTP status, whether it repeated the previous request, and the output token count; no prompt or reply text. If you turn on security.daemon_record_request_shape (off by default), also, for each request the proxy relays, when it was sent and a hash of its system text and of its tool list (and of the ones the proxy sent, where its own shaping changed them), so pinkyai cache-report can name what changed at a cache break, and per MCP tool its name and the size in bytes of its definition, so the share of each request spent on tools a session never called can be shown; no text. If you turn on security.daemon_record_model_repetition (off by default), also a watch-only flag when the model's last replies are nearly the same and repeat the same tool call: how alike they were and the tool's name, never the replies. While the proxy is on, also a hash of each MCP tool's description and input schema, by tool name (never the text), so a change can be flagged. The shadow-mode log, the local dashboard and pinkyai report read it. The most recent 10,000 checks and flags, and separately the most recent 10,000 other events; older rows are pruned on write. Captured verdicts: the newest 5,000. Tree-budget ledgers: 7 days after the session's last tool call. Model-health rows: the newest 10,000, kept apart from the rest. MCP tool hashes: 90 days after the tool was first seen or last changed. MCP tool sizes: 90 days after written. The repetition figure: 24 hours.
logs/ pinkyai.log: the engine's own diagnostic log. Troubleshooting a hook that misbehaved. Rotated by size; the oldest rotated files are deleted.
quarantine/ The full text of tool output a rule quarantined, one file per entry. Raw content is kept here because a person has to be able to read it before releasing it; the only other place is hygiene, below, and only when you run it. The entry body is encrypted with a key held in your OS keychain; when no keychain is available it is not written as plaintext. Human review: pinkyai quarantine list, show and release. Until you delete the entry; releasing marks it released rather than deleting it, so the decision stays auditable.
hygiene/ Byte-for-byte backups of Claude Code transcripts that pinkyai hygiene scrub rewrote, including the secrets that were masked, with a manifest of each file's hash. Files are readable only by you. So pinkyai hygiene rollback can restore them exactly. Only written when you run pinkyai hygiene scrub --yes yourself. Until you delete them.
repo_trust/ One JSON file per repository you open a session in: its root path and a SHA-256 hash of each part of its agent configuration (instruction files, .claude settings, hook commands, MCP server entries, agent, command, skill and hook files), keyed by relative path or setting name. No file contents and no command text. So a session can tell what changed in that configuration since you last trusted it, and ask before the first tool call when the change is risky. Until you delete it; pinkyai trust repo --accept replaces a repository's file.
user_rules/ Your own rule packs: one folder per pack with a pack.json you wrote or copied from a git repository, holding each rule's pattern and its example commands. pinkyai only writes here when you run pinkyai rules new. So your team's own rules run beside the built-in ones, in shadow until you enable them. Until you delete it.
usage_window/ Only if you turn on security.daemon_record_usage_window (off by default): for each subscription response the relay passes on, the percent of each usage window used and its reset time, and the projected time the window reaches its limit. No headers, prompts, replies, session ids or credentials. So pinkyai can show how much of your usage window is left and check how far off its own projections were. The figures are not yet verified against Claude Code's own meter. 35 days, pruned when the file passes 4 MB; until you delete it if the daemon stops writing.
confidential/ Only if you mark files in security.confidential_paths (empty by default): a random hashing key, the repository folders a session ran in while files were marked, and for each marked file its path, size, modified time and hashes of its word sequences. Never any text of the files. So a request that carries text from a marked file can be recognised and stopped without keeping a copy of that text. Rebuilt when the marked files change; until you delete it.
vault/ Placeholder-to-value mappings for PII substitution, AES-256-GCM encrypted with a key held in your OS keychain. Proxy mode (Mode B) swaps sensitive values for placeholders and back. Until you delete it.
incidents/ A snapshot of the session timeline, written when a security rule actually denies a call. So you can see what led up to a block. Until you delete it.
benchmark_corpus/ Anonymized, scanner-screened session transcripts. Only written when you run pinkyai benchmark-corpus build --persist yourself. Never automatic. Until you delete it.
task_queue/ The cross-session task queue: tasks you or your agent queued, and their state. Handing work between sessions. Until you delete it.

What the portal keeps in your browser

The portal at app.pinkyai.io writes nothing to localStorage or sessionStorage. This is the complete list of what it does keep, checked against the portal's source by our test suite:

Telemetry, in detail

Telemetry is off by default and stays off until you turn it on. Once on, the engine counts a small, fixed set of events in a local database on your machine, never the content that triggered them. Today's engine has no uploader, so nothing is sent to us. Our API can accept these counts from a future release; the schema it would accept is public: pinkyai.io/telemetry.

Who processes data on our behalf

A named, maintained list of every sub-processor we use, what each one does, and what data flows to it: Sub-processors.

Compliance roadmap

SOC 2 aligned, Type I planned. We've mapped our own controls against SOC 2's Trust Services Criteria and use that mapping to guide the engineering work itself — but no formal audit has happened yet, and we won't claim certification until an independent auditor has actually issued a report. A lightweight security questionnaire pack is available on request once you're evaluating us for procurement.

Vulnerability disclosure

Found a security issue? Report it to security@pinkyai.io, or through your account's support channel if you'd rather not use email. Please include enough detail to reproduce it, and avoid testing against other customers' data or accounts. We aim to acknowledge reports within 3 business days.

We won't pursue legal action against good-faith security research that follows this policy, and we'll credit reporters who ask to be (with permission) once a fix ships. There's no bug bounty program yet — an honest gap, not a hidden one.

Machine-readable version: /.well-known/security.txt (RFC 9116).