PyPI / rsa / 4.9.1

rsa 4.9.1

Source
https://github.com/sybrenstuvel/python-rsa
Artifact scanned
rsa-4.9.1-py3-none-any.whl (wheel · 33.9 KB · SHA-256 68635866661c…)
Compared with
rsa-4.9-py3-none-any.whl (9 signals introduced since)
Files
15 scanned, 5 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 9 info
Scan time
5.5 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 9 of 9 warn and critical signals; 9 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-10-23 06:43

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review encoding-base64 rsa/key.py:515:23 new in this release

    base64-like blob (64 bytes, compression ratio 1.17) (raw pass, confidence 0.60)

            >>> import base64
            >>> b64der = 'MC4CAQACBQDeKYlRAgMBAAECBQDHn4npAgMA/icCAwDfxwIDANcXAgInbwIDAMZt'
            >>> der = base64.standard_b64decode(b64der)
    likely benign LLM, confidence 0.95 Doctest example showing base64 DER decoding of an RSA key in the python-rsa library.
    Reasoning

    The blob is a docstring example of a base64-encoded DER key in the python-rsa library, decoded with base64.standard_b64decode in a doctest. Legitimate documentation.

  2. info warn → info by review encoding-hex rsa/pkcs1.py:44:14 new in this release

    18 consecutive `\xNN` escapes (entropy 3.8 bits/byte) (raw pass, confidence 0.65)

    HASH_ASN1 = {
        "MD5": b"\x30\x20\x30\x0c\x06\x08\x2a\x86\x48\x86\xf7\x0d\x02\x05\x05\x00\x04\x10",
        "SHA-1": b"\x30\x21\x30\x09\x06\x05\x2b\x0e\x03\x02\x1a\x05\x00\x04\x14",
        "SHA-224": b"\x30\x2d\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x04\x05\x00\x04\x1c",
    likely benign LLM, confidence 0.97 ASN.1 DigestInfo prefix constants for hash algorithms in PKCS#1 signature padding.
    Reasoning

    These are the standard DigestInfo ASN.1 prefixes for MD5 and SHA hash algorithms used in PKCS#1 v1.5 signatures. Byte-escape hex literals are the normal way to write such constants; the content is well-known public data.

  3. info warn → info by review encoding-hex rsa/pkcs1.py:46:18 new in this release

    19 consecutive `\xNN` escapes (entropy 3.9 bits/byte) (raw pass, confidence 0.65)

        "SHA-1": b"\x30\x21\x30\x09\x06\x05\x2b\x0e\x03\x02\x1a\x05\x00\x04\x14",
        "SHA-224": b"\x30\x2d\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x04\x05\x00\x04\x1c",
        "SHA-256": b"\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x01\x05\x00\x04\x20",
    likely benign LLM, confidence 0.97 ASN.1 DigestInfo prefix constant for SHA-2 family hashes.
    Reasoning

    Standard SHA-224/SHA-256 DigestInfo prefix bytes as used by PKCS#1 v1.5. Expected cryptographic constant table, not obfuscation.

  4. info warn → info by review encoding-hex rsa/pkcs1.py:47:18 new in this release

    19 consecutive `\xNN` escapes (entropy 3.9 bits/byte) (raw pass, confidence 0.65)

        "SHA-224": b"\x30\x2d\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x04\x05\x00\x04\x1c",
        "SHA-256": b"\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x01\x05\x00\x04\x20",
        "SHA-384": b"\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x02\x05\x00\x04\x30",
    likely benign LLM, confidence 0.97 ASN.1 DigestInfo prefix constant for SHA-384.
    Reasoning

    Standard SHA-384 DigestInfo prefix bytes within a legitimate hash-to-ASN.1 mapping table.

  5. info warn → info by review encoding-hex rsa/pkcs1.py:48:18 new in this release

    19 consecutive `\xNN` escapes (entropy 3.8 bits/byte) (raw pass, confidence 0.65)

        "SHA-256": b"\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x01\x05\x00\x04\x20",
        "SHA-384": b"\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x02\x05\x00\x04\x30",
        "SHA-512": b"\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x03\x05\x00\x04\x40",
    }
    likely benign LLM, confidence 0.97 ASN.1 DigestInfo prefix constant for SHA-512.
    Reasoning

    Standard SHA-512 DigestInfo prefix bytes within the same legitimate mapping table.

  6. info warn → info by review encoding-hex rsa/pkcs1.py:49:18 new in this release

    19 consecutive `\xNN` escapes (entropy 3.9 bits/byte) (raw pass, confidence 0.65)

        "SHA-384": b"\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x02\x05\x00\x04\x30",
        "SHA-512": b"\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x03\x05\x00\x04\x40",
    }
    likely benign LLM, confidence 0.97 End of the ASN.1 DigestInfo prefix table for hash algorithms.
    Reasoning

    Closing entry of the standard hash DigestInfo table in python-rsa; no executable or hidden behavior.

  7. info warn → info by review encoding-hex rsa/pkcs1.py:67:27 new in this release

    19 consecutive `\xNN` escapes (entropy 4.0 bits/byte) (raw pass, confidence 0.65)

            {
                "SHA3-256": b"\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x08\x05\x00\x04\x20",
                "SHA3-384": b"\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x09\x05\x00\x04\x30",
    likely benign LLM, confidence 0.96 ASN.1 DigestInfo prefix constants for SHA3-256 and SHA3-384.
    Reasoning

    SHA3 DigestInfo prefixes (OID 2.16.840.1.101.3.4.2.8 etc.) for the SHA3 family, added to the same legitimate table. Public standard constants.

  8. info warn → info by review encoding-hex rsa/pkcs1.py:68:27 new in this release

    19 consecutive `\xNN` escapes (entropy 3.8 bits/byte) (raw pass, confidence 0.65)

                "SHA3-256": b"\x30\x31\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x08\x05\x00\x04\x20",
                "SHA3-384": b"\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x09\x05\x00\x04\x30",
                "SHA3-512": b"\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x0a\x05\x00\x04\x40",
    likely benign LLM, confidence 0.97 ASN.1 DigestInfo prefix constants for SHA3 hashes.
    Reasoning

    Standard SHA3-256/384/512 DigestInfo prefix bytes; expected cryptographic data in a hash mapping.

  9. info warn → info by review encoding-hex rsa/pkcs1.py:69:27 new in this release

    19 consecutive `\xNN` escapes (entropy 4.0 bits/byte) (raw pass, confidence 0.65)

                "SHA3-384": b"\x30\x41\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x09\x05\x00\x04\x30",
                "SHA3-512": b"\x30\x51\x30\x0d\x06\x09\x60\x86\x48\x01\x65\x03\x04\x02\x0a\x05\x00\x04\x40",
            }
        )
    likely benign LLM, confidence 0.97 End of the SHA3 DigestInfo prefix table.
    Reasoning

    Final entries of the SHA3 DigestInfo table in python-rsa; benign static data.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o rsa-4.9.1-py3-none-any.whl https://files.pythonhosted.org/packages/64/8d/0133e4eb4beed9e425d9a98ed6e081a55d195481b7632472be1af08d2f6b/rsa-4.9.1-py3-none-any.whl
printf '%s  %s\n' 68635866661c6836b8d39430f97a996acbd61bfa49406748ea243539fe239762 rsa-4.9.1-py3-none-any.whl | shasum -a 256 -c -
unzip -q rsa-4.9.1-py3-none-any.whl -d pkg
disclude scan --untrusted --severity info pkg