Skip to content
Versora

Security

Your code and your credentialsstay with you.

Versora runs on your machine and only connects to the services you configure and to its own website, for updates. This page shows what it protects, how, and where each protection ends. Configuration details live in the documentation.

Signed updates

Versora checks for new versions at versora.mck2.com.br, over HTTPS, one minute after it opens and every four hours. The package downloads in the background and is only ready to install after its signature checks out.

  • minisign signature (Ed25519). Every version is signed when it's published, and the app checks the signature against the public key built into the executable itself.
  • Signed for the announced version. The signature records which version it belongs to. If it doesn't match the version on offer, the package is rejected: an old installer, even a signed one, can't pass for a new version.
  • Rejected packages are discarded. With an invalid, missing or wrong-version signature, nothing gets installed, and Preferences › Updates shows why.
  • Checked again at install time. The installer is verified once more right before it runs.
  • Everything goes through the app's core. The interface has no direct access to the update mechanism, so company policy applies without exception.

What about the first installer?

The file from the download page doesn't have a Windows code signature (Authenticode) yet, so SmartScreen may warn you. Check the SHA-256 published on that page before running it. More in Automatic updates.

Tokens and passwords in the Windows vault

Git server tokens and passwords, OAuth sign-in tokens, the proxy password and the Jira token are kept in Windows Credential Manager. Versora's configuration files only hold what isn't secret, such as the list of servers and user names.

Git receives the credential right when it needs it, through Versora's own credential helper. The token is never written into the remote URL or .gitconfig, and the activity log shows commands without credentials. Servers you haven't added keep using the credential helper your git already has.

Export settings (on the Home tab) takes projects, servers and preferences to another machine:

  • credentials only go into the file if you tick the option;
  • they go in encrypted with AES-256-GCM, with the key derived from a password of yours (PBKDF2-SHA-256, 310,000 iterations, at least 8 characters);
  • without the password the block can't be read, and a wrong password or a tampered file fails the integrity check;
  • the rest of the file (projects and paths, groups, servers and preferences) isn't encrypted.

The limit

The vault belongs to your Windows account, and programs running in your session can read it too. Your credentials are as protected as your account.

OAuth sign-in, no personal token

With Sign in with GitLab or Sign in with GitHub, you sign in in your browser, with your company's SSO if there is one, and you don't need to create or paste a personal token.

  • GitLab, in the browser: Authorization Code with PKCE (S256), no client secret. The response comes back to a local address (127.0.0.1) that's only open during sign-in, and it's only accepted with the state drawn for that sign-in.
  • With a code: for when the browser can't get back to the app, such as on another computer or in a remote desktop. On GitLab, from version 17.2; on GitHub, it's how you sign in.
  • Scopes requested: api on GitLab; repo and read:org on GitHub.
  • The token lives in Windows Credential Manager, never in a file, a log or on screen. When the server issues expiring tokens, the app renews them by itself.
  • Signing out removes the account from the app and, on GitLab, also revokes the token on the server.

The server admin registers an OAuth application once; Versora doesn't use a client secret. On GitLab, the redirect URI is http://127.0.0.1/callback, and the client ID can come pre-filled and locked by company policy (oauth_client_ids). With several accounts on the same server, each repository uses the right one, including for fetch, pull and push. See Servers and accounts.

No telemetry: your code and your data stay with you

Versora has no account of its own, no usage tracking and no automatic error reports. There's no telemetry code in the app; the policy key telemetry: off only lets IT put that on record. The app only connects to:

  • the Git servers you use, through git (clone, fetch, pull, push) and the GitLab and GitHub APIs;
  • Jira, if you set it up;
  • the versora.mck2.com.br website, for updates. The check carries nothing of yours: the address only includes the installed version, the operating system and the architecture.

Author avatars only come from GitLab or GitHub itself. The Gravatar address that GitLab suggests for emails without an account is refused, so nobody's email goes to an outside service; in that case the initial is shown.

Support diagnostics, sanitized

The diagnostic report (Preferences › About and diagnostics) is put together on your machine, with a preview, and only leaves it if you copy or save the text and send it. Before that, it's sanitized:

  • tokens, private keys, authentication headers and usernames and passwords in URLs are removed;
  • email addresses are masked (the domain stays visible, to show which identity is in use);
  • the profile folder, the login name, the machine name and your git name are replaced with placeholders;
  • about the vault, the report only says whether a credential exists.

The log file, in %LOCALAPPDATA%\com.mck2.versora\logs, goes through the same sanitizing, doesn't store file contents or commit messages and takes up at most 5 MiB.

Corporate proxy and Windows certificates

In Preferences › Network, the proxy can be automatic (git's, the environment variables' or Windows'), manual or none, with exceptions and a connection test. The same route applies to git commands, the GitLab and GitHub APIs and updates. The proxy username and password are kept in the vault, and the password never goes into environment variables, files or the screen.

The API and updates use Windows' native TLS (SChannel), which trusts the system certificate store, where IT installs the company's certificate authority. For git commands:

  • on a certificate error, Versora explains the cause and offers to use the Windows certificates (http.sslBackend=schannel), for every server or just that one, showing the command before writing it;
  • on internal networks with no access to the revocation server (CRL/OCSP), it offers to turn off only that check, and only for the affected server;
  • turning off certificate verification (http.sslVerify) is never offered.

PAC scripts

Versora reads the Windows proxy settings but doesn't evaluate automatic configuration (PAC) scripts. On a network with PAC, enter the proxy in manual mode. See Network and proxy.

Company policy

IT sets the policy through Group Policy (HKLM or HKCU\SOFTWARE\Policies\MCK2\Versora) or with a %ProgramData%\MCK2\Versora\policy.yml file. The file only counts if it's owned by the Administrators group or SYSTEM, so another user on the same computer can't plant a policy. The rules are enforced in the app itself, with no cloud involved. You can lock:

  • the proxy and its exceptions;
  • the allowed servers (allowed_servers): only those hosts when adding credentials, in the GitLab and GitHub APIs and in every network git command, checked against the address git will actually use;
  • secret scanning, always on (secrets_scan: required);
  • Preferences pages, hidden or read-only, with the notice “set by your company”;
  • team commands, turned off (team_commands: deny);
  • updates (updates): off neither checks nor downloads; notify only lets people know, and each person downloads when they want;
  • minimum rules for commits and protected branches across all repositories, and each server's OAuth client ID.
policy.yml (example)
allowed_servers: [gitlab.example.com, '*.example.com']
proxy: http://proxy.example.com:3128
secrets_scan: required
team_commands: deny
preferences:
  locked: [network]
updates: notify

In Preferences › Policy and team, everyone sees what's in effect and where it came from. Every key is in the admin guide.

What allowed servers don't cover

The integrated terminal, which is the user's own shell, Jira and the update website. To block updates, use updates: off.

Repository commands only with your consent

Team commands, defined under commands: in .versora.yml (see the admin guide), are code that arrives through the repository. That's why nothing runs without your confirmation:

  • before running, the app shows the exact command, with the values filled in, and you choose “Run just this once” or “Trust and run”;
  • trust applies to that repository and that content (name, program, arguments, places and parameters): if the command changes in a pull, the app asks again;
  • at run time, the app's core rereads the file and checks the command is the one you saw;
  • the command runs without a shell, as a program and arguments, and values only go in as text; for a .cmd, .bat or PowerShell, they can only contain safe characters;
  • approvals stay in the local repository, don't travel with Export settings and can be revoked in Preferences.

versora:// links. A link you get by chat or email only opens the repository and navigates to the commit, file or merge request. It's checked first: branch and tag names against git's rules, SHAs in hexadecimal only, paths relative only and without ... Nothing that comes in the link is executed.

Git hooks. Versora uses the git you have installed, so hooks (.git/hooks or the core.hooksPath folder) run just as they would in the terminal, with no extra confirmation.

Checks before commit and push

Before a commit or a push, Versora checks what's about to go out and gathers the findings in a dialog, each with its own action:

  • Secrets: tokens in known formats, private keys, URLs with passwords, sensitive files such as .env and password assignments with high-entropy values. It honors .gitleaks.toml and .gitleaksignore, and the value found is shown masked.
  • Large files outside Git LFS, with the option to track them with LFS.
  • Protected branch: direct commits or pushes to main, master and the branches your team or company protects. .versora.yml chooses between asking for confirmation and refusing.

Protected force push. Every Versora force push uses --force-with-lease and, with git 2.30 or newer, also --force-if-includes: if the server has commits you haven't pulled yet, nothing is sent. The protection stays on even if you tick “Don't ask again” in the confirmation.

Secrets and large files are warnings: you can go back and fix things or carry on. To keep secret scanning from being turned off in Preferences, companies use secrets_scan: required.

You choose how to install

The installer asks for the mode. Just for me puts Versora in your Windows account, in a folder that doesn't need admin rights, and writes its entries to the user registry (HKCU). For all users asks for admin rights, installs for the machine (HKLM) and is the only mode that adds status icons in File Explorer.

  • Before adding “Open with Versora” or the “Versora” submenu to the File Explorer context menu, the installer asks. A silent install (/S) adds neither, and automatic updates don't ask again if you said no.
  • The versora:// protocol is registered in the same scope as the installation: for you only or for the machine.
  • Automatic updates keep the mode. For an all-users installation, Windows asks for administrator approval (UAC); if it's denied, the app explains and doesn't insist.
  • Uninstalling removes the File Explorer entries and the protocol.

See Install and, for many machines, the admin guide.

Responsible disclosure

Report a vulnerability

If you've found a security flaw in Versora, write to:

Security contact

[email protected]

Put “Versora – security” in the subject.

Please don't disclose the flaw publicly before the fix has been released.

It really helps to include

  • the Versora version (Preferences › Updates);
  • what happens and the steps to reproduce it;
  • the impact you have in mind;
  • if useful, the diagnostic report, which comes out already sanitized.

Don't send real secrets

Replace tokens, passwords and keys with sample values. If a real token has leaked, revoke it on the server before anything else.