Skip to content
Spaka
Download

Guides · 10 of 11

Windows and security

Understand what Spaka's agent can reach on your computer, on a Mac and on Windows, and what Spaka keeps or sends.

Spaka’s agent works on your computer: it writes files and runs commands to build your website or app. This guide says what keeps it in check on a Mac and on Windows, and what Spaka keeps or sends.

On macOS, the agent’s commands run inside the system’s sandbox:

  • it writes only in the folder of your website or app and the system’s temporary folder;
  • in your home folder it reads only that folder, and it reads nothing on other disks, so your documents and the passwords in your keychain are out of its reach; it reads the system’s own files;
  • it can reach the internet, to read the web and download what a website or app needs.

Because the sandbox holds, the agent does not ask you for permission to run a command.

Spaka for Windows is a beta for x64 PCs. Windows has no sandbox an app like Spaka can use without administrator rights, so Spaka brings its own: the agent’s shell is Windows PowerShell, which every Windows has, run under a restricted version of your account’s rights. There is nothing to install for it.

  • It writes only in the folder of your websites and apps (Documents › Spaka) and a temporary folder of Spaka’s own.
  • It neither reads nor lists the rest of your user folder.
  • It reads the system’s files and programs, what Windows lets every user read (other disks, for example), and your Windows settings in the registry, which it cannot change.
  • It can reach the internet, to fetch a library or read a page.

As on a Mac, the agent does not ask you before it runs a command, and a command the sandbox cannot start is refused, never run outside it.

Two things differ from the Mac:

  • The agent of one website or app can reach the others: the sandbox lets in the whole folder of your websites and apps at once, where macOS keeps each agent to its own folder.
  • The installer is not signed yet. The first time it runs, Windows SmartScreen warns of an unknown publisher. Choose More info, then Run anyway. Spaka installs for your Windows account only, without administrator rights.
  • Spaka never sees your passwords: you sign in to Claude, ChatGPT or GitHub on their own pages, in your browser, and to your Spaka account with a link sent by e-mail.
  • API keys are kept encrypted on this computer, by the system.
  • The agent keeps its own sign-in and conversations, apart from any Claude you use elsewhere, and starts with none of your own Claude settings, skills or connectors.
  • Each website or app is a folder of plain files on your computer. Nothing is put online until you publish.
  • The history of a website or app is kept by Spaka, outside its folder, where the agent can neither read nor change it.
  • Some websites and apps need a key to another service, such as a payment or e-mail service. The agent then asks for it on a card: give it there, or later in their settings, under Secrets. A secret is kept encrypted on this computer, never in their folder, and the agent only learns that it was given. When you publish at spaka.page, Spaka sends the secrets to its hosting along with the files. On Cloudflare or a server, it writes them into the exported folder’s .env file, so that your website or app has them once online.

A website or app can use code published by others, called packages, from npm’s registry. Spaka checks each package before it installs it:

  • a package with a known flaw, or one that compiles native code when installed, is refused;
  • a doubtful one, for example very new, rarely downloaded, named like a well-known package, or with no source repository, is shown to you on a Package card, with Install it or Don’t install it;
  • packages are installed without running their install scripts.

The packages of a website or app are listed in its settings, under Packages, each with Remove it.

A connector gives the agent tools from another service or program (Settings › Connectors). A connector that starts a program on your computer runs with your access, outside the agent’s sandbox: add only a program you trust. When a website or app you open brings such a connector in its folder, it stays off until you click Turn it on, after reading its command.

  • The agent’s messages go to the AI provider of the account you connected.
  • An image the agent generates is asked of a connected account that makes images (Gemini, Vertex AI or OpenAI), which may be another provider than the model of your website or app. Image searches go to Openverse and Wikimedia Commons.
  • Spaka sends anonymous usage statistics to Aptabase, a statistics service hosted in the European Union, with no identifier: Spaka’s version, the system, and events such as “a website or app created” or “a block added”. Never a message, the content of a website or app, a file name or an address. Turn them off in Settings › Privacy, with Share anonymous usage statistics.