From ac588008dd0426dd13923f588113313b21414850 Mon Sep 17 00:00:00 2001 From: Bryan <74067792+Bryan-Roe@users.noreply.github.com> Date: Mon, 6 Jul 2026 12:29:00 -0700 Subject: [PATCH] Potential fix for code scanning alert no. 1655: Clear-text logging of sensitive information Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> Signed-off-by: Bryan <74067792+Bryan-Roe@users.noreply.github.com> --- .github/hooks/scripts/secrets_leak_guard.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/hooks/scripts/secrets_leak_guard.py b/.github/hooks/scripts/secrets_leak_guard.py index 27a02c756..ad02b58a8 100644 --- a/.github/hooks/scripts/secrets_leak_guard.py +++ b/.github/hooks/scripts/secrets_leak_guard.py @@ -228,9 +228,8 @@ def main() -> None: ) sys.exit(1) else: - names = ", ".join(findings) print( - f"⚠️ SECRETS WARNING: Possible hardcoded secret detected{path_hint}. {names}. " + f"⚠️ SECRETS WARNING: Possible hardcoded secret detected{path_hint}. " "Verify this is not a real credential. Use env vars or local.settings.json for secrets." ) sys.exit(0)