Proxy URL log can expose proxy credentials
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 50/100
Research direction
Start in slack_sdk.web.base_client, where WebClient loads HTTPS_PROXY and emits the debug message shown in the reproduction. Trace the proxy URL logging path, then verify with the provided Python 3.11 example that credentials are not exposed in debug output and add or update regression coverage if the repository has an applicable test location.
Written by the indexing model from the issue text.
Description
Reproducible in:
The Slack SDK version
slack_sdk==3.39.0
Python runtime version
Python 3.11.10
OS info
22.04.1-Ubuntu SMP Tue Dec 2 12:52:18 UTC 2025
Steps to reproduce:
Run the following
import os
from slack_sdk.web import WebClient
import logging
os.environ["HTTPS_PROXY"]="http://bob:secret@example.com"
logging.basicConfig(level=logging.DEBUG)
x = WebClient(token='fake')
Expected result:
The credentials part of the proxy URL should be redacted or the URL not printed at all.
Actual result:
The full URL gets printed, including user:pass
DEBUG:slack_sdk.web.base_client:HTTP proxy URL has been loaded from an env variable: http://bob:secret@example.com
- Dominant language
- Python
- Stars
- 4k
- Forks
- 857
- Avg merge
- 22h 21m
- Merged PRs (30d)
- 16
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from slackapi/python-slack-sdk
-
needs info server-side-issue
Difficulty 4/5 3-5 days Newbie friendliness 35/100
slackapi/python-slack-sdk#1961 · 3 comments ·
-
Use logger.isEnabledFor(logging.DEBUG) instead of logger.level <= logging.DEBUG for debug guards Openauto-triage-skip bug
Difficulty 4/5 3-5 days Newbie friendliness 55/100
slackapi/python-slack-sdk#1957 ·
-
auto-triage-skip discussion
Difficulty 5/5 Over a week Newbie friendliness 35/100
slackapi/python-slack-sdk#1940 · 2 comments ·
-
chat_postMessage silently forwards thread_id to the API, so a threaded reply posts to the channel Openauto-triage-skip enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
slackapi/python-slack-sdk#1923 · 2 comments ·
-
auto-triage-skip bug socket-mode
Difficulty 3/5 1-2 days Newbie friendliness 72/100
slackapi/python-slack-sdk#1922 · 2 comments ·
All issues in slackapi/python-slack-sdk
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100