VDB
Sign up
MEDIUM4.7

PYSEC-2026-1216

BBOT's git_clone.py can expose users' GitHub API keys to an attacker-controlled webserver

Quick fix

PYSEC-2026-1216 — bbot: upgrade to the fixed version with the command below.

pip install --upgrade 'bbot>=2.7.0'

Details

### Summary

Due to unsafe URL handling, bbot's `git_clone.py` can be made to leak a user's github.com API key to an attacker-controlled webserver.

### Impact

A user who has placed their github.com API key in the configuration for any of the following modules:

* `github_codesearch` * `github_workflows` * `gitlab` * `git_clone` * `github_usersearch` * `github_org`

may leak it to an untrustworthy server.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bbot
Introduced in: 0Fixed in: 2.7.0
Fixpip install --upgrade 'bbot>=2.7.0'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/bbot"]}'