wispfn
isolated sandboxes · encrypted secrets · versioned releases

Security

Wisp runs code that a model wrote for you, with your API keys, next to other people’s code. The design starts from that: every project is boxed in below the application layer, and secrets never pass through the model.

Wisp: chat, builds, deploys — never runs your codeYour project: its own sandbox, identity, secrets and dataEdge: encrypted traffic, one hostname per project

01 Every project runs in its own sandbox

Your code never shares a runtime, an identity or a data store with another customer — or with Wisp itself.

  • Each endpoint runs as its own isolated function with fixed memory and time limits; drafts and published versions are separate builds.
  • Each project has its own identity, granted the minimum it needs: its own secrets, its own data, its own logs. There is no path from one project to another.
  • The part of Wisp that talks to the model has no access to your running functions, and your functions have no access to the model or to Wisp’s own secrets.
  • A noisy or failing project cannot take capacity from the others.

02 Secrets never pass through the model

The assistant writes the code. It only ever learns that a secret exists — never its value.

  • When the assistant needs a key, it asks for it in a ribbon. The value goes from your browser straight into an encrypted vault; the chat sees the name only.
  • Secrets are write-only after that: not shown in the app, not returned by the API, redacted from any test output the assistant looks at.
  • Functions read secrets at run time through the SDK (config.require) or as environment variables, decrypted only inside their own sandbox.
  • Change a value and every function picks it up within about 30 seconds, without a redeploy and without the value ever entering a version.

03 Who can call what is one setting

Endpoints are public by default — and locked down in a click when they shouldn’t be.

  • Three visibilities: public (anyone), private (only other endpoints of the same project) or internal (only projects in your workspace). Direct requests to the last two don’t exist as far as the internet is concerned.
  • Require API keys for public endpoints; keys are stored hashed, can expire, and can be limited to specific endpoints.
  • Middleware wraps every endpoint for your own rules — sessions, signed webhooks, JWTs — before any handler runs.
  • Rate limits per minute and quotas per day, per project or per endpoint, counted per caller when you want them to be.

04 Nothing reaches live traffic by accident

Every change is a version. Only publishing moves traffic — all at once, and reversibly.

  • A change from the chat, the editor, the CLI or the API becomes a new immutable draft version. Drafts answer only when a caller explicitly asks for them (?test).
  • Publishing switches the whole project in a single step: callers see the old version or the new one, never a mix of both.
  • Rolling back is publishing an earlier version. The full history stays, with who changed what and when.
  • The GitHub mirror is one-way, out of Wisp — so a compromised repository can’t push code into your live API.

05 Your data is yours

Project data is partitioned per project and enforced below the application: your code could not read another project’s data even if it tried.

  • The key/value store and file storage are partitioned per project; the partition boundary is enforced by the platform’s identity model, not by convention.
  • Request logs are kept for your plan’s retention period and then expire on their own. Bodies are truncated and credential headers masked before anything is stored.
  • Deleting a project deletes its functions, identity, secrets, data, files and logs.
  • Projects are hosted on the AWS cloud in the US East (N. Virginia) region.
  • Enterprise customers can run Wisp in their own cloud account, so nothing leaves their boundary at all.

06 Encrypted in transit, separated by design

HTTPS everywhere; the app and your endpoints live on different hostnames, so one can never read the other’s cookies.

  • All traffic is encrypted in transit with modern TLS; the origins accept connections only through Wisp’s edge.
  • Sessions are HttpOnly cookies bound to the app’s hostname. Your functions run on their own hostnames and never receive them.
  • Sign in with Google, GitHub or a one-time code sent to your email. Workspace roles (owner, admin, standard), per-project edit/view permissions on Business plans, and API keys with scopes and expiry.
  • State-changing requests must come from the Wisp app itself; sign-in flows use the current best-practice protections against replay and forgery.

// what stays on your side

01 Protect your own endpoints
Public is the default. Make functions private, add a before function or require API keys for anything that should not be callable by whoever has the URL — including ?test URLs, which are public like preview deployments.
02 Keep secrets out of prompts
Use the secrets ribbon or Variables & secrets. A key pasted into the chat is sent to the model; Wisp masks keys it recognises, but can’t catch everything.
03 Review what the assistant wrote
Generated code runs with your project’s identity and your secrets. The draft/publish split exists so you can test before it goes live.
04 Mind what you log
console output is kept in the request log for your plan’s retention. Don’t log personal data you wouldn’t want stored.

Questions, or found something?

Write to security@wispfn.com — for vulnerability reports, questionnaires, or to ask about running Wisp inside your own cloud account on Enterprise.