Full-Stack-Web-Development-Bootcamp-Course icon indicating copy to clipboard operation
Full-Stack-Web-Development-Bootcamp-Course copied to clipboard

Possible leaked API key in this repository

Open gaivrt opened this issue 7 months ago • 0 comments

Hi — an automated scan found what looks like a live Google AI (Gemini / Cloud) API key committed to this repository at:

  • path: PROJECTS/AI-PROJECTS/PLANT-ANALYSIS-TOOL/.env
  • file: https://github.com/tweneboah/Full-Stack-Web-Development-Bootcamp-Course/blob/6880262d9aa3d9e22e2a7910d7b7e727de75f590/PROJECTS/AI-PROJECTS/PLANT-ANALYSIS-TOOL/.env
  • vendor rule: google-ai
  • key fingerprint: AIzaSyB2... (sha256[:8] = f9d4f24e, length = 39)

The scanner did not validate the key against the vendor's API — validating someone else's credential would be unauthorized access. Please treat the key as compromised regardless:

  1. Rotate the key immediately in the vendor's console. Even if you have already removed it from the latest commit, it remains valid in git history.
  2. Purge the key from history (e.g. git filter-repo) and force-push.
  3. Move secrets to environment variables or a secret manager; never commit .env or equivalent config with live credentials.

The vendor's security team has been notified separately where a contact is known.

This issue was opened by an automated responsible-disclosure tool. Apologies for the noise if it is a false positive — please close the issue and I will not re-open it for this (repo, rule) pair.

gaivrt avatar Apr 22 '26 03:04 gaivrt