# Security at GearTrain

How GearTrain protects your work and what stays in your hands.

## Account and access

- Passwords, one-time passcodes, and sessions protect account access.
- API tokens are scoped and can be revoked or set to expire.
- MCP agents sign in with OAuth and receive only the scopes you approve.
- Revoke an agent under Settings > Authorized Apps. Its next request fails immediately.

## Secrets

- Secret values are stored encrypted and are write-only.
- After you save a secret, you can read its name but not its value.
- Scripts read secrets by name with `env.get`.
- An agent can see that a secret exists and when it changed. It cannot read the value.
- Per-run environment variables override a saved secret with the same name for that run only.

## Agent permissions

- You choose scopes on the consent page at sign-in.
- The **Read only** shortcut clears every permission that changes something.
- A permission you clear removes the matching tools, so the agent cannot use them.
- Secret values, webhook endpoint creation, passwords, and plan changes stay in the web app.

## Webhooks

- Each endpoint verifies the sender with a provider preset, Standard Webhooks, a custom HMAC signature, or an API key.
- Webhook signing secrets are stored encrypted and are never returned after creation.
- If a signing secret is lost, delete the endpoint and create a new one with a new secret.

See [Webhook verification](https://docs.geartrain.dev/guide/webhook-verification) for the supported methods.

## Sandbox

- Scripts run with a fixed set of built-in modules and documented Web APIs.
- There is no third-party package system.
- Runs have limits on time, memory, storage, and network use.
- Private and internal IP addresses, localhost, and cloud metadata endpoints are blocked.
- A run can make at most 50 `fetch` calls, and requests time out after 30 seconds of inactivity.

## Data

- Our servers are located in Germany and provided by Hetzner Online GmbH.
- Run logs and events follow the plan's retention period. Files remain until you delete them.
- Copies may persist in backups for a reasonable period after deletion.
- We do not use advertising or analytics tracking, and we do not sell personal data.
- See the [Privacy Policy](https://geartrain.dev/privacy) for the full data handling details.

## Shared responsibility

- Safeguard your credentials and do not share your account.
- Review scripts before you schedule them. They are your code.
- Third-party APIs your scripts call have their own security, cost, and data handling terms.
- Use GearTrain only for lawful purposes, follow the [Terms of Service](https://geartrain.dev/terms), and stay within the plan limits.

## Report an issue

If you suspect unauthorized access or find a security issue, email support@geartrain.dev with a security subject line.

Do not include secret values, tokens, or passwords in the message.

## Security questions


**How are secrets stored?** Secret values are stored encrypted and are write-only. After saving one, you can read its name but not its value.


**How is a script isolated?** Scripts run in a sandbox with a fixed set of modules and Web APIs, no packages, and limits on time, memory, storage, and network use.


**How do I revoke access?** Agents are listed under Settings > Authorized Apps. API tokens can be revoked or expire.


**How long is my data retained?** Run logs and events follow the plan's retention period. Files remain until deleted. Backups may persist for a reasonable period after deletion.


**Is my data used for advertising or profiling?** No. The privacy policy says there is no advertising or analytics tracking, and data is not sold.


**How do I report a security issue?** Email support@geartrain.dev with a security subject line. Do not include secret values, tokens, or passwords.




### Related links

- [Secrets and environment variables](https://docs.geartrain.dev/guide/secrets-and-env)
- [The sandbox](https://docs.geartrain.dev/guide/sandbox)
- [MCP guide](https://docs.geartrain.dev/guide/mcp)
- [REST API](https://docs.geartrain.dev/guide/rest-api)
- [Privacy Policy](https://geartrain.dev/privacy)
- [Sandbox limits](https://docs.geartrain.dev/guide/sandbox#limits)



