Skip to content

Create http_url_secret_apikey.py #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Create http_url_secret_apikey.py #2

wants to merge 1 commit into from

Conversation

ericwb
Copy link
Contributor

@ericwb ericwb commented Mar 11, 2024

No description provided.

host = "example.com"
conn = http.client.HTTPSConnection(host)
conn.request(
"GET", "/path?apiKey=value&otherParam=123", headers={"Host": host}

Check failure

Code scanning / Precaution

Use of HTTP Request Method With Sensitive Query Strings

Secrets in URLs are vulnerable to unauthorized access.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant