Trawl keeps your logins, keys and data safe at each step, from the browser that runs your scrap to the webhook you receive. Here is what it does for you, and what you control.
Encryption at rest
Logins stored in Settings → Account are encrypted with AES-256-GCM. Saved sessions (cookies, local storage) use the same encryption. Logins are only stored encrypted. There is no key for you to manage.
API keys
Trawl stores only a SHA-256 hash of each key: the key is shown once, when you make it. Send it in the Authorization: Bearer <YOUR_API_KEY> header.
- Scraps: a key reaches every scrap of your organization, or only the scraps you pick.
- Scopes: a key does only what its scopes allow (
trawl:scraps:read,trawl:scraps:run, …). A read-only key cannot start a run. - Expiry: up to 2 years. An expired key gets
401.
A key cannot be changed, only revoked: make a new key, then revoke the old one. See API keys.
Webhook signatures
Each webhook Trawl sends carries an X-Webhook-Signature header: an HMAC-SHA256 of the raw body, signed with your webhook secret. Check it before you trust the payload. The code to check it, in Node and in n8n: Webhooks.
Container isolation
Each scrap runs in its own short-lived container:
- Read-only files: the worker cannot change its own image.
- No host network: the container reaches the internet only through Trawl's proxy layer.
- Torn down after each run: nothing stays between runs.
Containers serve one customer and start from a fresh image on each run.
TLS in transit
The API, webhooks and the web app use HTTPS only. Plain HTTP is redirected.
What you control
| Control | Where |
|---|---|
| Make or revoke a key | API Keys |
| Key scrap access, scopes and expiry | Set when you make the key (expiry up to 2 years) |
| New webhook secret | Delete the webhook and create a new one (Webhooks) |
| Login encryption | Automatic, nothing to do |
See also: API Keys · Webhooks · Account & Sessions
Next step → Scheduling