Skip to content

**🚨 issue (security):** The ServerCertificateValidationByPass method name contains a typo and suggests potentially risky behavior. #32

Description

@bitai-cs

🚨 issue (security): The ServerCertificateValidationByPass method name contains a typo and suggests potentially risky behavior.

Beyond the minor typo (ByPass β†’ Bypass), exposing an API that disables certificate validation is inherently risky. To reduce misuse, consider renaming it to something clearly test-only (e.g., DisableServerCertificateValidationForTesting) and/or limiting it to internal or test-only usage so it’s not available in production contexts.

Originally posted by @sourcery-ai[bot] in #30 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions