Connect a repository

One-click GitHub connect — minimum scopes, per-account, revocable at any time.

Vlnry connects to GitHub through a one-click GitHub App install. No personal access tokens, no copy-pasted secrets.

What we ask for

The GitHub App requests two permissions and nothing else:

  • contents: read — so a run can clone the repositories you pick, read-only.
  • metadata: read — so we can list the repositories you granted.

We do not ask for write access, workflow, admin, or any account-level scope. We do not read your issues, PRs, or discussions.

How the install works

  1. Open Settings → GitHub and press Connect GitHub. The Get started checklist on Overview has the same button.
  2. You are sent to GitHub. Choose the account or organization, then pick which repositories to grant access to. Pick only what you need.
  3. GitHub redirects you back. The connection lands under your Vlnry account only.

Once connected, Settings → GitHub lists your repositories under Start with a repository. Choosing one opens the add-target form with that repository already filled in. To grant or remove repositories later, use Manage GitHub access.

Several GitHub accounts and organizations

One Vlnry account can connect several GitHub accounts and organizations. Each one is a separate GitHub App installation with its own card on Settings → GitHub.

  • Press Add account or organization. GitHub lists every account and organization you can install the app on; pick another one.
  • To add a different personal GitHub account, first sign in to that account on GitHub, then press Add account or organization again.
  • If you are a member of an organization but not an owner, GitHub sends the install request to an owner. The organization appears in Vlnry once they approve it.
  • Your plan sets how many connections you can have: Free 1, Starter 3, Pro 10, Scale unlimited. At the limit, Add account or organization is disabled and links to your plan.
  • The repository picker searches every connection. Each target remembers which connection grants access to its repository, so Refresh and Disconnect act on one card only, and disconnecting one card lists only the targets that use it.

Per-account scoping

Every connection is scoped to the Vlnry account that installed it. A teammate on the same account can pick from the same repository list. A different account cannot see it. If you switch accounts, you must connect again.

Refresh and disconnect

  • Refresh re-reads the installation, for example after you granted more repositories on GitHub.
  • In Vlnry: Settings → GitHub → Disconnect, then confirm. We drop the installation record and stop clone attempts immediately.
  • In GitHub: Settings → Applications → Vlnry → Uninstall. GitHub revokes the token; our next call fails cleanly and we mark the connection removed.

What Vlnry reads from your repository

Before testing, Vlnry copies the branch read-only and leaves out files that can never contain a vulnerability:

  • version-control data;
  • AI-agent and editor tool folders, such as .claude, .codex, .cursor, and .vscode;
  • installed dependencies, such as node_modules, virtual environments, and vendored third-party code;
  • build output and caches;
  • images, fonts, audio, video, archives, and compiled binaries;
  • minified copies and source maps;
  • any single file larger than 1 MiB.

Vlnry never leaves out environment samples, CI definitions, Dockerfiles and Compose files, infrastructure-as-code, API descriptions, server configuration, database migrations, or application source. Documentation, changelogs, licenses, lockfiles, test snapshots and fixtures, and translation catalogues are kept but treated as low priority.

The rule list is the same for every account; there is no per-user setting. The run's Run configuration panel shows "Skipped N files (size) that are not application code", with a list per rule. If nothing but such files is left, the run stops before any model call and asks you to check the connected repository and branch.

Scan on push

With Site Guard code checks on, a push to the target's branch can start a code scan (Scan on push, Starter and above). It needs no new permission: the app still reads only. Turn it on in the target's Setup → Continuous checks card. See [Site Guard](./site-guard.en.md).

When it is not configured

If your operator hasn't configured the GitHub App on this instance, Settings → GitHub says so instead of showing Connect GitHub. Every target needs a connected repository, so ask your administrator to add the GitHub App before you add a target.

Back to the docs index