Gemini
Code · GitHub (demo) Google · Assistant · package: google-generativeai · secret: Google API key · endpoint: generativelanguage.googleapis.com
Policy · none set
Policy changes re-score this app on the next sync, which starts right away.
Finding · Open
Risk score
76
Critical
People
0
Committers are not collected
Repositories
1
1 public · 1 package
Keys in code
1
1 matched in files · 0 scanner alerts
source-codefixturehardcoded-keyspublic-exposurecorroborated
Next steps
Recommended actions
- 011 key for Gemini is in source control, including a public repository. Rotate them now, move to a secret manager, and turn on push protection so it cannot happen again.
- 02Gemini trains on data unless a business tier or opt-out is used. Verify which tier these users are on.
- 03Gemini SDKs appear in 1 repository. Decide whether this vendor is approved for engineering, and route calls through one gateway or an Azure OpenAI deployment so keys, logging, and data terms are managed centrally.
- 04Direct HTTP calls to generativelanguage.googleapis.com bypass any SDK-level controls. Add the hosts to egress policy and prefer the sanctioned client library.
GitHub (demo) · fixture
Where it lives in code
Hardcoded keys · 1SDK packages · 1Direct API calls · 1
Repositories
| Repository | Signals | Pushed |
|---|---|---|
| contoso/research-notebookspublic | SDK packages, Hardcoded keys, Direct API calls | 12 d ago |
Packages
google-generativeai pypi1 repo
Direct API calls
generativelanguage.googleapis.com1 repo
Same app, other lanes
Related findings
- Medium45GeminiSIEM · Splunk (demo)2 people
Who
People
Identifiers come from device telemetry and proxy logs, so they may be account names rather than full directory entries.
No people are linked to this app.
Why
Evidence
- source_code · Sep 2, 2026Gemini in 1 repository via GitHub (demo): packages google-generativeai; direct calls to generativelanguage.googleapis.com; 1 hardcoded or alerted keys
Detail
{ "repos": [ "contoso/research-notebooks" ], "configs": [], "packages": [ { "name": "google-generativeai", "repos": 1, "ecosystem": "pypi" } ], "endpoints": [ { "host": "generativelanguage.googleapis.com", "repos": 1 } ] } - code_secretGoogle API key in contoso/research-notebooks at config.py
Detail
{ "path": "config.py", "repo": "contoso/research-notebooks" } - corroborationAlso found by another lane (siem:P3xsUoa63aFWUE_YRNuUJ:google-gemini)
Detail
{ "findingKey": "siem:P3xsUoa63aFWUE_YRNuUJ:google-gemini" }