contrib.dlint.dlint-equivalent.insecure-pycrypto-use

profile photo of returntocorpreturntocorp
Author
221
Download Count*

The Python third-party 'Crypto' module is unmaintained and has known vulnerabilities and exploits

Run Locally

Run in CI

Defintion

rules:
  - id: insecure-pycrypto-use
    message: The Python third-party 'Crypto' module is unmaintained and has known
      vulnerabilities and exploits
    languages:
      - python
    severity: WARNING
    metadata:
      source_rule_url: https://github.com/dlint-py/dlint/blob/master/docs/linters/DUO133.md
      category: security
      technology:
        - crypto
      references:
        - https://github.com/dlint-py/dlint/blob/master/docs/linters/DUO133.md
      owasp:
        - A09:2017 - Using Components with Known Vulnerabilities
        - A06:2021 - Vulnerable and Outdated Components
      cwe:
        - "CWE-1104: Use of Unmaintained Third Party Components"
      license: Commons Clause License Condition v1.0[LGPL-2.1-only]
    pattern: Crypto.$ANYTHING