Security & trust model
What the widget can and cannot do, what leaves the browser, and how to deploy it safely. To report a vulnerability, email hello@ablehand.ai. We don't pursue good-faith researchers.
What leaves the browser
The full list, request by request, is on Trust & data handling. In short: each step of a goal sends a decision request to the edge with the user's goal and answers, the page URL and title, a bounded slice of visible text, a numbered table of the controls on the page (role, label, the current value of ordinary fields, nearby text), and the steps so far. Page reports, goal outcomes, and found-control reports go to the edge as well.
What the widget never reads or sends:
- Password, file, and hidden inputs, fields marked for card or bank details or one-time codes, and every field of a payment form. They are left out before the snapshot is built.
- The contents of iframes, so hosted payment fields (Stripe, Braintree, Adyen, …) are never seen.
- Your cookies, local storage, auth tokens, or request and response bodies. Every request to the edge is made without credentials.
The model's reply is a single index into the table the browser just sent, plus an operation (click, type, select, scroll, or one of the site's known pages). The widget looks that element up again in the live page and re-checks it before acting. The model never emits a selector, URL, or code, so a wrong or manipulated answer cannot point the widget at an arbitrary element or destination.
Redaction (always-on floor + per-site policy)
Before anything leaves the page, the widget masks secrets in the page text, the values of fields, control labels, page titles, and URLs. The always-on floor cannot be turned off by any setting:
| Category | Rule |
|---|---|
| Payment cards | 13–19 digits, Luhn-valid or separator-formatted → ****1234 |
| US Social Security numbers | 123-45-6789, spaced, or keyword-anchored 9-digit → ***-**-**** |
| Bearer/Basic/Token headers | scheme + token → Bearer [REDACTED] |
| API keys | Stripe/OpenAI/GitHub/Slack/AWS/Google prefixes, key=value secrets |
| JWTs & long opaque tokens | eyJ… triples, 48+ character mixed tokens |
A per-site redaction policy can add coverage (email, phone, ip, and
custom patterns) but can never weaken the floor.
The goal the user types is the exception: it is sent as typed, like a message to any AI assistant, and masked before it is stored. Users shouldn't type secrets into the bar; Ablehand never needs them.
Trust boundaries
- Runs in the user's own session. The widget can do only what the signed-in user can already do with the page's own controls. Disabled controls stay disabled. It holds no credentials or API access of its own.
- Origin scope. Snapshots read only the current document. Page jumps are
allowed only to the site's registered origins, checked in the browser, and the
edge checks each request's
Originagainst the same list (a request without one is checked by the page URL it reports). - Capability gates. Per-site gates remove whole kinds of action (a read-only site turns off type, select, and submit) before the model sees the page.
- Deny lists.
deny_labelsanddeny_pathsremove specific controls and destinations at the edge, before the model sees them. - Confirmation. When the model judges that the goal is consequential and that the chosen click would finalise it, the user is asked to confirm first (once per goal). It's on by default and is the model's judgment, so pair it with Guide mode, deny lists, or the submit gate for anything that must never happen without a person.
Threat model
| Threat | Mitigation |
|---|---|
| Model tricked into a dangerous action | The model returns an index, not a target; the widget re-checks it; gates, deny lists, and confirmation bound what is possible. |
| Prompt injection via page content | Page text is treated as data; the model only selects among observed controls and cannot emit a URL or selector. |
| Secrets in the page | Sensitive fields excluded; card, SSN, key, and token patterns masked in the browser before sending. |
| Navigation off-site / open redirect | Browser and edge origin checks; unregistered origins refused. |
| Tampered bundle | Pin the version with SRI (below); the browser rejects a modified bundle. |
| Copied site key | Keys are public by design, like an analytics key, and grant no access to stored data. Requests from unregistered origins are refused; per-key rate limits and a daily cap bound the cost of misuse. Rotate a key in the console. |
CSP integration guide
The widget uses a closed shadow root, no eval, and constructable
stylesheets for its styles, so it runs under a strict Content Security Policy:
Content-Security-Policy:
script-src 'self' https://ablehand.ai; # the widget bundle
connect-src 'self' https://ablehand.ai; # the edge API
style-src 'self'; # widget styles live in its shadow DOM
No 'unsafe-inline' or 'unsafe-eval' is needed. If your CSP uses nonces, only
the <script src> tag needs one. With "Pictures of found controls" on, the
capture add-on is loaded from the same origin and re-reads images already on the
page.
Subresource Integrity (SRI)
The standard tag follows the newest release, so fixes arrive without a change on
your side. To pin a version instead, Setup in the console offers the tag for a
fixed release with its integrity hash:
<script src="https://ablehand.ai/nav.v0.4.50.js"
integrity="sha384-…"
crossorigin="anonymous"
data-site-key="pk_..."></script>
A pinned tag changes only when you update it.
Operational
- Keys stay server-side. The model provider keys live only on the edge, never in the widget or the page.
- What's stored. Decision traces store the request as received (masked in
the browser) with the goal masked again, for the site's retention period.
no_logstops storing traces and outcomes. See retention. - Audit. Every change to a site's settings is recorded with who and when.
- Rate limits. Per-key rate limit and daily cap; over-limit requests get
429+Retry-After. - Graceful degrade. If the decision model is unreachable, the edge returns a clean degraded response and the widget backs off instead of erroring.