gitlab.bandit.B401

385
Download Count*
License

Telnet-related functions are being called. Telnet is considered insecure. Use SSH or some other encrypted protocol.

Run Locally

Run in CI

Defintion

rules:
  - id: bandit.B401
    patterns:
      - pattern: import telnetlib
    message: >
      Telnet-related functions are being called. Telnet is considered insecure.
      Use SSH or some other encrypted protocol.
    metadata:
      cwe: "CWE-319: Cleartext Transmission of Sensitive Information"
      owasp: "A3: Sensitive Data Exposure"
      primary_identifier: bandit.B401
      secondary_identifiers:
        - name: Bandit Test ID B401
          type: bandit_test_id
          value: B401
      license: MIT
    severity: ERROR
    languages:
      - python