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:

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

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