Anticode

Security at Anticode: sites, accounts and data

Security is built into every step of Anticode rather than added at the end. Pages ship with no scripts, apps run in a sandbox with no network of their own, the server re-checks everything at publish, and form data and credentials are encrypted. This page gathers anticode security measures in one place.

Updated · By the Anticode team

What ships to visitors

  • Design-engine pages carry a Content-Security-Policy with script-src 'none' and frame-src 'none': they run no JavaScript and embed nothing.
  • They load images from https addresses and one font family from Google Fonts, and nothing else from outside.
  • Apps run in a sandboxed frame whose own code makes no network connections (Anticode’s runner does it for them, only for what they declare), can’t run code typed in at run time, and can’t be framed by other sites.
  • Apps that use the app backend never see a visitor’s session: Anticode’s runner holds it, passwords are stored as PBKDF2 hashes, sessions as hashes of random tokens, and every read and write is checked against the app’s declared collections and the record’s owner.
  • Sentinel’s twelve checks run on the exact HTML, and the server re-runs the ones that matter at publish.

Accounts

  • Sign in with email and password, a magic link, GitHub or Google.
  • Optional two-factor sign-in with an authenticator app and recovery codes; required for the owner and the publisher before a site that collects data is published.
  • CLI and MCP access use revocable tokens; MCP uses OAuth 2.1 with per-client consent and read-only access available.

Data

  • Form submissions are sealed at rest with AES-256-GCM; retention is set per project.
  • Connector credentials are sealed and bound to the account and connector, and never returned to the browser.
  • A log of the last 200 reads, exports and deletes of form data.
  • Analytics without cookies or third-party trackers.
  • Requests to addresses owners give (webhooks, self-hosted tools) go through an SSRF guard that refuses private and internal addresses.

After publishing

File hashes are recorded at publish and checked by an hourly scan across sites, so each site is checked about once a day and changed files are restored from backup. Each site serves a live security report at /.well-known/anticode-security, computed from its published pages.

Check a site’s security step by step

  1. Run the release checklist in the builder to see every publish check.
  2. Open the project’s Security section for the site’s report.
  3. Visit /.well-known/anticode-security on the published site for the public report.
  4. Turn on two-factor sign-in for everyone who can read submissions.

Reporting a problem

Email security reports to team@anticode.dev. See also the AI website security checklist.

Sentinel’s twelve checks

Sentinel checks the exact HTML that ships for a strict Content-Security-Policy, forms that post only to Anticode’s own routes over HTTPS, links without javascript: URLs, images with safe sources, no inline event handlers or scripts, and anything that looks like an API key or secret. The AI website security checklist explains each check. App builds get their own code gate, which also refuses eval and new Function and checks the app’s own code makes no network requests.

Security headers

Anticode’s own pages send HSTS, nosniff, frame-deny, a strict referrer policy and a permissions policy. Published sites send a Content-Security-Policy that matches what each page needs and nothing more.

Privacy by default

Visitor addresses used for rate limiting are hashed rather than stored. Analytics keep only counts per site, day and source. Each site’s privacy policy is written from what the site really does, including each connector it sends forms to.

Shared responsibility

Anticode secures the platform, the checks and what it hosts. You keep your account secure (two-factor sign-in, revoking tokens you no longer use), choose connectors whose own security fits your data, and keep exported code up to date once it runs on your own host.

Questions people ask

Can a published page run JavaScript?

Design-engine pages can’t: their policy is script-src 'none'. Apps run their own code inside a sandbox with no network of its own.

Is my form data encrypted?

Yes, at rest with AES-256-GCM.

Does Anticode support two-factor sign-in?

Yes, with an authenticator app and recovery codes.

Does Anticode scan my exported code?

Sentinel checks what Anticode builds and hosts. Once exported, keeping the code updated is up to you.

Are my connector keys visible to my team?

No. Connector secrets are write-only for everyone, including the person who saved them.

Does Anticode have a bug bounty?

There’s no public bounty programme today. Report issues to team@anticode.dev and they’ll be looked at promptly.

Can a visitor’s form input break my page?

No. Submissions are stored and shown as text; they never become part of the published page, and connectors escape them for each tool.