Security

Your data is worth money. Your intent is worth more.

Companies spent a decade learning to protect their data. The thing their developers now type into an AI tool all day is a different asset and it has not caught up yet. A transcript holds the approach your team rejected and why, the part of the system they know is fragile, and the shape of what you are building before you ship it.

SkillMesh is built on the assumption that most of that should never reach us in the first place. This page is written so your security reviewer can check that claim rather than take it on faith. Every item below names the code behind it.

Before anything leaves your machine

Three gates run locally, in order. The safest data is the kind we never receive, so the design tries to fail closed at each step.

  1. 01

    Capture is off until a developer turns it on

    Capture is a per-developer setting, not a company-wide switch an admin flips on everyone's behalf. Until an individual enables it, nothing is read from their sessions. When they do, they also name the domains it applies to, so work outside those domains stays out of scope.

    User.captureEnabled and User.captureDomains, checked on every call to POST /api/capture

  2. 02

    Edge summary mode: the transcript never leaves

    Orgs can require that summarizing happens on the developer's own machine. The AI tool already running there writes the summary itself and sends only that. The raw conversation is never uploaded, so there is no copy of it for us to lose, subpoena or leak.

    capturePolicy.mode === "edge_summary", set per org and injected into the agent's instructions by /api/inject

  3. 03

    Credentials are stripped before the request is made

    When raw history is sent, it passes through a redaction step in the CLI and MCP server first. AWS access keys, GitHub tokens, OpenAI and Anthropic keys, Stripe keys, JWTs, PEM private key blocks and inline password or api_key assignments are replaced with a typed placeholder. This runs on your machine, so a secret that gets redacted never travels at all.

    apps/cli/src/lib/redact.ts and apps/mcp-server/src/lib/redaction.ts, applied before the POST in capture-transcript

What holds for the data that does arrive

Summaries and team context have to be stored to be useful. These are the controls around them.

Your model, your key

Instead of our model reading your sessions, point synthesis at your own Anthropic or OpenAI-compatible endpoint. Your team's work is then processed by a provider you already have a contract with, under your own key and your own data-retention terms.

resolveOrgModel() in lib/ai/org-provider.ts, Business tier and above

Secrets encrypted at rest

A provider key you give us is stored under AES-256-GCM with a per-message random IV and an authentication tag, so tampered ciphertext fails to decrypt rather than decrypting to garbage. The encryption key is derived through scrypt with a domain-separation label, so it is not reused for anything else. The UI only ever shows the last four characters back to you.

lib/crypto.ts

The database does not answer strangers

Projects, team context entries and coordination requests run with Postgres row-level security enabled and public API grants revoked. The hosting provider's auto-generated data API cannot read those tables at all. The only path to them is an authenticated request through our application.

packages/db/src/post-push.ts, re-applied after every schema push

API keys are hashes, not secrets we hold

A named API key is stored as a SHA-256 hash. We cannot show it to you again, because we do not have it. Keys can carry an expiry, can be revoked instantly, and record when they were last used so an unused key is easy to spot and remove.

lib/api/api-key-auth.ts, ApiKey.keyHash / revokedAt / expiresAt / lastUsedAt

Passwords and sessions

Passwords are hashed with bcrypt at cost factor 12 and are never recoverable, only resettable. Session cookies are HTTP-only so page scripts cannot read them, marked secure in production, and scoped SameSite=Lax.

lib/auth/password.ts and lib/auth/jwt.ts

Privileged actions are written down

Proposal approvals, capture deletions, marketplace imports, license changes and staff actions are recorded to an audit log with the actor and the affected record, so an admin action can be traced back to a person after the fact.

prisma.auditLog.create across lib/proposals.ts and the admin API routes

How long anything is kept

Deletion is a scheduled job, not a promise in a policy document.

Raw session history

90 days by default, configurable per org

Purged on a daily job. The distilled skill pack survives the purge. The conversation it was derived from does not.

inngest/retention-purge.ts, org setting captureRetentionDays

Team context entries

30 days after they stop being live

Work-in-progress markers stop being returned by recall as soon as they expire or are superseded. The row itself is kept a while longer so the team can see the trail, then deleted.

inngest/context-retention.ts

Coordination requests

7 days

A question sent to a teammate's agent ages out on its own, so an unanswered request stops following the person who asked it.

REQUEST_TTL_MS in lib/context-requests.ts

What we do not claim

A security page is worth reading only if it is willing to say what is missing. SkillMesh is early, and these are the honest edges.

  • We do not hold a SOC 2, ISO 27001 or HIPAA attestation, and we are not going to put a badge on the site implying otherwise. If your procurement process requires one, we are not ready for you yet, and we would rather tell you now than during a review.

  • We have not commissioned an external penetration test. What is described above is our own engineering, reviewed by us.

  • Redaction is pattern-based. It reliably catches credentials in known formats, and it is not a general-purpose scrubber for confidential text a developer pastes into a prompt. If a transcript must never leave the machine, use edge summary mode, which is designed for exactly that case rather than trying to filter afterwards.

  • We are pre-beta. Interfaces, retention defaults and tier boundaries can still change, and we will say so in writing when they do.

Found something?

Report it to security@kreventis.com. Tell us what you found and how to reproduce it. We will confirm we received it, and we will not take action against anyone who reports a vulnerability to us in good faith.

Get started free