From e1772d52a971ec7b4179ec2f606b5403c08fda4f Mon Sep 17 00:00:00 2001 From: Willem Jiang Date: Tue, 2 Dec 2025 09:58:28 +0800 Subject: [PATCH] Clear-text logging of sensitive information (#732) --- src/crawler/infoquest_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crawler/infoquest_client.py b/src/crawler/infoquest_client.py index 9940160..05db730 100644 --- a/src/crawler/infoquest_client.py +++ b/src/crawler/infoquest_client.py @@ -54,8 +54,8 @@ class InfoQuestClient: # Log request details logger.debug( "InfoQuest Crawler request prepared: endpoint=https://reader.infoquest.bytepluses.com, " - "format=%s, has_api_key=%s", - data.get("format"), self.api_key_set + "format=%s", + data.get("format") ) logger.debug("Sending crawl request to InfoQuest API")