Security
What portal can reach, where it runs, and how to tell us about a problem. Everything it stores is listed on Your data, with who handles it and where.
What portal can reach
- Only the repos you pick. The GitHub App is installed on the repos you choose, and you can remove any of them, or the App, at any time.
- These GitHub permissions only: repository contents and metadata (read), issues (read: comments on a pull request, such as /portal review, arrive as issue comments), pull requests (read and write, used only for its own comment), checks (read and write, for its check). It doesn't push code, merge, or change settings.
- No secrets. It has no access to GitHub secrets, environments or secret stores.
What it keeps
- No copy of your code. Code is read in memory to find services, calls and files, then discarded. Portal keeps names, file paths, line numbers, and the one-line call each finding cites, such as os.Getenv("CART_ADDR").
- Deleted with the repo. Removing a repo or uninstalling the App deletes everything portal has about it.
- Traces only if you send them, reduced to service names, environments and call counts.
Where it runs
- Cloudflare Workers and D1, in Cloudflare's network. Sign-in is through GitHub. Sessions are kept as hashes, never as tokens you could reuse.
- Stored in Western Europe. Everything portal keeps is in one Cloudflare D1 database located in Western Europe, with no read copies elsewhere. Requests are handled at the Cloudflare location nearest you.
- The checks don't use AI. The optional AI review is off until someone with write access turns it on, and then sends the pull request's diff and portal's findings to Anthropic's API. A question asked in a system's bar sends the question and portal's facts about that system (not its source code) to Anthropic's API for the answer.
How it's protected
- Encrypted at rest and in transit. Cloudflare encrypts everything in D1 at rest (AES-256), and every connection, yours to portal and portal's to its database, uses TLS (Cloudflare's docs).
- Backups. The database can be restored to any minute in the recent past with Cloudflare's point-in-time restore, which is always on (Time Travel).
- Who can reach production data. One person, the founder, can open the Cloudflare account, the database and portal's secrets, and signs in with two-factor authentication.
- If something goes wrong. If an incident affects your data, we tell you without undue delay, by email, saying what happened and what we did about it.
- The installer. Its checksum is at /install.sha256, so you can check the script before you run it.
Report a problem
Please report a security issue privately, through a security advisory on the community repo. We reply within two working days.