MEDIUM: API key transmitted as URL query parameter instead of HTTP header #3
Labels
No labels
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:pre-dispatch
bug
feature-request
in-progress
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/tokengenerator#3
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Severity: MEDIUM
Location
tokengenerator.html, lines 287 and 338:Description
The API key is appended as a query parameter (
?key=...) in the URL. This is less secure than using theX-Goog-Api-KeyHTTP header because:Recommended Fix
X-Goog-Api-Keyheader instead:headers: { "X-Goog-Api-Key": apiKey }Impact
Reduced security posture for credential handling.