gitsync holds two access tokens that can write to your repositories, so a problem in it matters. Please report vulnerabilities privately through GitHub's security advisories for this repository instead of opening a public issue. You can expect an answer within a few days.
Things worth knowing when you run it:
- Keep the config file readable only by the user that runs gitsync.
gitsync initandgitsync installset the permissions for you. - Webhooks are only accepted when they carry a valid signature or secret. Bind the listener to localhost unless the git server has to reach it from elsewhere.
- Tokens are passed to git through its environment, never on a command line, and are removed from log output.
- Prefer a token limited to what it needs:
repoon GitHub, anddelete_repoonly if you want mirrors deleted.