# Security and testing

> Help us find weaknesses in Gears and the developer portal - what's in scope, what isn't, how to report a problem and how we protect you when you test in good faith.

We want Gears to be hard to break before more people rely on it. If you find a weakness, tell us. Test only what you
own, stop as soon as you've shown the problem, and report it to [security@vorjo.com](mailto:security@vorjo.com).

## In scope

- **The Gears API** on `api.vorjo.com/v1/admin/…`: tokens, permissions (scopes), reading or changing data your Gear shouldn't reach.
- **Manifests**: anything that gets past the manifest checks or the review checklist, like scripts from undeclared origins, scripts on checkout or login pages, or unsafe widget HTML.
- **Widgets**: escaping the sandboxed iframe or the HTML cleaner.
- **Webhooks and the install handshake**: signature checks, replays, or making Vorjo send requests to private addresses (SSRF).
- **The developer portal** at `/app/developers`: one developer reaching another developer's Gears, secrets, deliveries or installs.
- **Your own test shops**: sites on your own Vorjo account, with your Gear installed. Make as many test orders and test customers on them as you need.

## Out of scope

- Other customers' sites, shops, orders or data. Never access, change or keep them, even to prove a point.
- Denial of service, load tests and anything that slows Vorjo down for others.
- Spam, phishing, and sending email or messages to people who didn't ask for them.
- Social engineering of Vorjo staff or customers, and physical attacks.
- Reports from automated scanners without a working example, missing headers with no real impact, and problems in a customer's own site code.

## How to report

Email [security@vorjo.com](mailto:security@vorjo.com) with:

1. What you found and why it matters.
2. Steps to reproduce: the requests, the manifest or a short script.
3. The account email and the Gear ID or test shop you used.

We reply within 3 working days, keep you posted while we fix it, and tell you when it's fixed. Please give us
reasonable time to fix a problem before you talk about it publicly.

## Safe harbour

If you follow this page in good faith, we won't take legal action against you or ask anyone else to, and we won't
close your account for it. That means you:

- test only your own accounts, Gears and test shops,
- stop and report as soon as you see data that isn't yours, and don't keep, share or use it,
- don't degrade the service for others,
- give us reasonable time to fix the problem before you disclose it.

If you're unsure whether something is allowed, ask us first at security@vorjo.com.

## Credit

We credit researchers. With your permission, we'll name you (or your handle) on this page once the fix is out.
There's no paid bounty at the moment.

## Limits you'll meet

To keep the program fair, each developer account can have up to 10 Gears (ask support for more), and saves,
submissions and check runs are rate-limited. A `429` means wait a few minutes. These limits aren't
vulnerabilities, but tell us if you can get around them.

Our [security.txt](/.well-known/security.txt) has the same contact details.
