Skip to content

Commit 38936f7

Browse files
committed
Remove references
1 parent d2d9e19 commit 38936f7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tests/unit/test_git_utils.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -497,11 +497,6 @@ def test_git_clone_repo_codecommit_https_creds_not_stored_locally(tempdir, mkdte
497497
assert "returned non-zero exit status" in str(error.value)
498498

499499

500-
# ============================================================================
501-
# URL Sanitization Tests - Security vulnerability prevention
502-
# ============================================================================
503-
504-
505500
class TestGitUrlSanitization:
506501
"""Test cases for Git URL sanitization to prevent injection attacks."""
507502

@@ -681,8 +676,6 @@ def test_git_clone_repo_blocks_url_encoded_attack(self):
681676
assert "Suspicious URL encoding detected" in str(error.value)
682677

683678
def test_sanitize_git_url_comprehensive_attack_scenarios(self):
684-
"""Test comprehensive attack scenarios from the vulnerability report."""
685-
# These are the exact attack patterns from the security report
686679
attack_scenarios = [
687680
# Original PoC attack
688681
"https://USER@YOUR_NGROK_OR_LOCALHOST/[email protected]%25legit%25repo.git",

0 commit comments

Comments
 (0)