# Security

Last updated: November 28, 2026

This page is for a company’s security team deciding whether to use Ernie. It says what Ernie can reach when a company sets it up, what it keeps and how it protects it, who at Ernie can see it, what isn’t in place yet, and how to report a problem. Ernie AI, Inc., a Delaware corporation, runs Ernie.

The [Privacy Policy](/privacy) is the full account of what Ernie collects, who handles it and how long it is kept.

## 1. What Ernie can reach

Ernie works from outside a company’s systems and never asks for a password to them. Each way of setting it up is optional, and each says here what it lets Ernie do.

- **The website check.** Ernie reads a site’s public pages and files, as any visitor can. Nothing is installed.
- **Pointing agents to the card.** A company can add a redirect, a line in its homepage’s head or a section of its llms.txt that sends agents to its card on Ernie. These are lines on the company’s own site. They give Ernie no access to the site, its hosting or its DNS, and removing them ends the link.
- **A Cloudflare Worker.** A company whose site is behind Cloudflare can paste a Worker that Ernie writes into its own Cloudflare account, where every line can be read before it runs. The Worker answers only the addresses agents look for and writes nothing. Ernie gets no access to the company’s Cloudflare account. If the Worker also serves the company’s agent page, it holds a key that reads only what the card already publishes, and stopping the page in Ernie ends the key at once.
- **Website request logs, not turned on at askernie.ai yet.** Where available, the owner configures a Cloudflare Logpush job for one website host. Ernie holds no Cloudflare account credential. A separate ingest key is shown once and stored hashed. Ernie authenticates uploads before decompressing them, stores sanitized request counts, fixed processing observations and retry hashes, and acknowledges an upload only after its transaction commits. Private retry-hash material is separate from the rotating ingest credential. Replacing a key for the same host preserves history and immediately revokes the old key; revision checks refuse stale changes. Raw logs are not stored. Disconnecting or replacing the host ends the key and deletes that source’s counts, observations and retry hashes; the owner also removes the job in Cloudflare. A delivery test reads one random path on the host, through the same guarded reader as the website check.
- **GitHub, not turned on at askernie.ai yet.** Where it is, Ernie’s GitHub app asks for read access to metadata and write access to contents, pull requests and checks, on the repositories the company chooses, and for nothing on the organization. Ernie keeps no GitHub token: each run gets one from GitHub for a single repository, for at most an hour, and revokes it when the run ends. Ernie only opens pull requests, on branches whose names start with `ernie/`. It never pushes to the default branch or over anyone else’s commit, and a person decides whether to merge. Uninstalling the app on GitHub ends it.
- **Claude editing a layout file,** part of GitHub’s pull requests: only if the company’s owner turns it on, and only when a pull request needs the homepage’s line written into code. Claude then works in a sealed sandbox with no GitHub token, no secret and no network except the AI model, on only the files that edit needs. Files such as `.env`, keys and certificates are removed first and the rest are scanned for secrets, and a secret found stops the run. Only a change that passes Ernie’s checks comes out, into a pull request a person reviews.
- **Ernie’s test browser.** Ernie tries one next step a company’s website offers, such as requesting a demo, in a fresh browser in Cloudflare that holds no cookie, sign-in or key. An AI model chooses each move from the page’s own links and buttons, and Ernie’s rules decide what the browser may do: every request but a GET is refused before it leaves the browser, and it submits nothing. It types Ernie’s test values into a form on the company’s own site, a preview’s run included, only after the browser is taken off the network, so nothing typed leaves it, and it presses nothing after that. The browser’s own web connections are blocked; Ernie supplies each permitted GET through a connection pinned to a checked public address, and checks every redirect again. A visitor may retry an interrupted recording once, bound to the same preview and website check. A CAPTCHA widget is recorded as present; the browser stops when it recognises an active challenge and never interacts with CAPTCHA controls. It follows robots.txt and Content Signals, and names itself ErnieActionAudit. Nothing is installed.
- **The company’s own AI agent.** An owner can connect an AI agent to Ernie’s MCP server. It signs in through OAuth with the owner’s approval, gets only the permissions the owner grants, and can be paused or disconnected in Agent controls.
- **The API key and webhooks.** A business’s API key is shown once and stored only as a hash. Each webhook is signed with HMAC-SHA256 over its time and body, and carries counts, ids and links, never a customer’s details or the words of a request, a question, a fact or a finding.

## 2. What Ernie keeps, and where

Agents read only what a business published. An item reaches an agent only if it is public, approved and not expired, its business is published, and the way the agent asked is turned on. Every change to a business’s information is kept as a version, so its owner can see what was published at any moment.

Ernie also keeps each owner’s account, the business’s information and settings, and the requests and questions agents send. The [Privacy Policy](/privacy#collect) lists everything Ernie keeps and for how long, and [the companies that handle it](/privacy#providers) for Ernie.

Ernie runs on Cloudflare. Its database is PlanetScale Postgres in PlanetScale’s us-east-1 region, in the United States, with a replica, and files uploaded now are kept in Cloudflare R2.

Answering an agent’s question to a business’s card or MCP server uses no AI model: Ernie matches the question to the business’s published information. The features that do use one, such as reading a website, send Anthropic only what the Privacy Policy’s [AI features](/privacy#ai) list.

When the built-in assistant helps set up an action, it can read the company’s existing routes, price book and supplier packet. Those reads grant no connection to a provider and make no change in the company’s tools. During anonymous onboarding, the browser’s private preview can create one action draft with the built-in assistant. The server enforces the creation limit, including after deletion, and the preview cannot enable an action or publish. Saving the preview into an account copies the draft for review. The built-in assistant leaves turning an action on for the owner to review.

## 3. How it is protected

- **In transit.** Every response tells browsers to reach Ernie only over HTTPS, for two years (Strict-Transport-Security).
- **Passwords.** From 10 to 128 characters, and stored only as scrypt hashes, never as typed. Resetting a password signs the account out everywhere.
- **Sign in with Google.** Where Ernie offers it, an account can sign in with the Google account for its own email address. Ernie accepts Google only for a Gmail address or a Google Workspace account’s address that Google confirmed, asks Google for a name and an email address and nothing more, and keeps none of Google’s tokens. Only a code Ernie emailed proves an address for Ernie’s admin, never Google.
- **Sessions.** A sign-in is a cookie only, Secure, HttpOnly and SameSite=Lax, under a `__Host-` name. It ends 30 days after it was last used and 90 days after sign-in at most, and signing out deletes it. A session keeps no IP address.
- **Emailed codes.** Six digits, good for 10 minutes and five tries, with limits on each email address that a change of network doesn’t reset.
- **Keys and tokens.** Keys, codes, links and access tokens are stored only as hashes, so a stored value can’t open anything. What Ernie must use again, such as a webhook’s signing secret, tokens for connected sources and the email addresses of people a business shares with privately, is encrypted with AES-256-GCM.
- **Between businesses.** Every read and write of a business’s records carries that business’s id, and another business’s record answers as a missing one. A test walks every workspace route to keep it so.
- **Payment instructions.** Bank details, tax IDs and payment instructions are refused in anything an agent reads through Ernie, and no request form collects them. The check is automatic and, like any check of text, can miss one.
- **In the browser.** A change made with a sign-in cookie must come from Ernie’s own pages. Other sites can’t frame Ernie’s pages.
- **Secrets.** Ernie’s production secrets are Cloudflare secrets, never in its code or its container image.
- **Website logos.** Preview logo reads use public HTTPS addresses, check each connection’s address and follow the asset host’s robots rules. Ernie converts accepted images to a bounded still PNG; SVG keeps geometry and literal paint only, with no external resources or fonts.
- **Limits.** Sign-in, emailed codes, sign-up, requests, AI use and other costly work have rate limits and daily caps.

## 4. Who at Ernie can see it

Ernie’s admin opens only for an account named in Ernie’s settings, or one whose own `askernie.ai` address an emailed code proved, through its own sign-in or its own admin key. Anyone else gets “not found”. Every change made through it is recorded with the account that made it. Work done directly on Ernie’s database, such as a deletion someone asked for, is not recorded there.

Nobody at Ernie can sign in as someone else: Ernie’s sign-in has no way to act as another account, and a session marked as one would prove nothing.

The people who run Ernie can reach its production systems, for example to carry out a deletion someone asks for by email. A change to the structure of production’s database is a reviewed step that shows every statement before it runs.

## 5. How Ernie checks itself

- **A written standard.** Ernie’s security controls are drawn from OWASP ASVS 5.0 (levels 1 and 2), the OWASP Top 10 (2025), the OWASP API Security and LLM Top 10 lists, RFC 9700 for OAuth, and MCP’s security best practices.
- **A review against it.** On November 20, 2026, Ernie reviewed each of its surfaces against that standard and ran an automated security scan over its code. Every security finding rated high was fixed; the other findings confirmed as real were fixed or are tracked as open work. It was Ernie’s own review, not an outside firm’s.
- **Tests on each boundary.** What agents may read, what one business can reach of another’s, and which key opens which address are each held by tests, each on both sides of its switch.
- **What Ernie is built from.** Its dependencies are pinned by a lockfile, and the steps that build and check it pin the outside actions they use to exact versions.

## 6. What isn’t in place yet

Ernie is new. A security team should know what it doesn’t have:

- No SOC 2 report or ISO 27001 certificate.
- No penetration test by an outside firm.
- No two-factor sign-in, and no single sign-on through a company’s own identity provider.
- No data processing agreement to sign.
- No way to delete an account or a business in the app: Ernie does it when asked by email.
- No set time within which Ernie promises to tell customers about a security incident.
- No restore from a backup rehearsed yet.

To ask about any of these, or for answers to a security questionnaire, email [support@askernie.ai](mailto:support@askernie.ai).

## 7. Reporting a security problem

Email [support@askernie.ai](mailto:support@askernie.ai) with what you found, where, and the steps that show it.

- Test only with an account and a business of your own.
- Don’t read, change or delete anyone else’s information. If you reach some, stop and tell us.
- Don’t slow Ernie down or stop it, and don’t send email to people who didn’t ask for it.
- Give us time to fix a problem before you publish it.

Ernie has no bug bounty. The same address is in `/.well-known/security.txt`.

## For agents

- [llms.txt](/llms.txt): what Ernie is, with a link to each of its endpoints
- [Agent guide](/skill.md): every endpoint, tool, limit and rule, as an installable Agent Skill
- [Public MCP](/api/mcp): Streamable HTTP, no key; find businesses and read their published information
- [Set up with your agent](/setup.md): what a business’s own agent does to connect to Ernie’s MCP and finish setup with its owner
- [Security](/security): what Ernie can reach, what it keeps and how, and how to report a security problem
- [Terms of Service](/terms) and [Privacy Policy](/privacy). Questions: support@askernie.ai
