← Back to scan
File as GitHub Issue repo: LagrangeDev/lagrange-python

Push this scan report to LagrangeDev/lagrange-python

Click the green button below to open GitHub’s new-issue form, pre-filled with the report title, summary table, top findings, and an embedded score-card image. No authentication needed — you review on GitHub before submitting. Repobility is credited as the scanner.

Embedded score card image

This image will render at the top of the issue body. Hosted on Repobility, refreshes automatically after re-scans.

Repobility score card

Issue title

Plaintext-equivalent password hash — unsalted single-pass digest

Curate findings to include

Pick exactly which findings appear in the issue body. By default the top 5 are included. Uncheck noise, check what matters.

Top 5 (default)
Severity Rule Title File:line
CRIT MINED030 [MINED030] Python Pickle Loads: pickle.loads() can execute arbitrary code via __reduce__. lagrange/info/serialize.py:56
CRIT MINED018 [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLo… lagrange/info/serialize.py:56
CRIT SEC081 [SEC081] Python: pickle.loads / marshal.loads on untrusted data: pickle.load(s) and marsh… lagrange/info/serialize.py:56
CRIT SEC039 [SEC039] Plaintext-equivalent password hash — unsalted single-pass digest: Single-pass di… lagrange/client/wtlogin/tlv/common.py:68
CRIT SEC039 [SEC039] Plaintext-equivalent password hash — unsalted single-pass digest: Single-pass di… lagrange/client/base.py:244
CRIT MINED107 Missing import: `stat` used but not imported lagrange/utils/httpcat.py:106
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… lagrange/utils/httpcat.py:67
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… lagrange/utils/binary/protobuf.py:120
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). lagrange/client/wtlogin/tlv/common.py:68
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). lagrange/client/wtlogin/oicq.py:159
HIGH MINED004 [MINED004] Weak Crypto: MD5/SHA1/DES/RC4 used for security context (not just checksums). lagrange/client/base.py:244
HIGH MINED110 Blocking call `input` inside async function `login` lagrange/client/client.py:54
HIGH MINED110 Blocking call `input` inside async function `login` lagrange/client/client.py:53
HIGH MINED108 `self.decompressed_body` used but never assigned in __init__ lagrange/utils/httpcat.py:43
HIGH MINED108 `self.decompressed_body` used but never assigned in __init__ lagrange/utils/httpcat.py:40
HIGH MINED108 `self._login` used but never assigned in __init__ lagrange/utils/log.py:40
HIGH MINED108 `self._utils` used but never assigned in __init__ lagrange/utils/log.py:36
HIGH MINED108 `self._network` used but never assigned in __init__ lagrange/utils/log.py:32
HIGH MINED108 `self._init` used but never assigned in __init__ lagrange/utils/log.py:21
HIGH MINED108 `self._utils` used but never assigned in __init__ lagrange/utils/log.py:15
HIGH MINED108 `self._network` used but never assigned in __init__ lagrange/utils/log.py:14
HIGH MINED108 `self._login` used but never assigned in __init__ lagrange/utils/log.py:13
HIGH MINED108 `self._read_loop` used but never assigned in __init__ lagrange/utils/network.py:95
HIGH MINED108 `self.on_connected` used but never assigned in __init__ lagrange/utils/network.py:94
HIGH MINED108 `self.connect` used but never assigned in __init__ lagrange/utils/network.py:93
HIGH MINED108 `self.reader` used but never assigned in __init__ lagrange/utils/network.py:79
HIGH MINED108 `self.on_error` used but never assigned in __init__ lagrange/utils/network.py:88
HIGH MINED108 `self.close` used but never assigned in __init__ lagrange/utils/network.py:83
HIGH MINED108 `self.on_message` used but never assigned in __init__ lagrange/utils/network.py:81
HIGH MINED108 `self.stop` used but never assigned in __init__ lagrange/utils/network.py:86
HIGH MINED108 `self.on_error` used but never assigned in __init__ lagrange/utils/network.py:85
HIGH MINED108 `self.closed` used but never assigned in __init__ lagrange/utils/network.py:78
HIGH MINED108 `self.close` used but never assigned in __init__ lagrange/utils/network.py:73
HIGH MINED108 `self.writer` used but never assigned in __init__ lagrange/utils/network.py:67
HIGH MINED108 `self.on_disconnect` used but never assigned in __init__ lagrange/utils/network.py:65
HIGH MINED108 `self.ssl` used but never assigned in __init__ lagrange/utils/network.py:60
HIGH MINED108 `self.port` used but never assigned in __init__ lagrange/utils/network.py:60
HIGH MINED108 `self.host` used but never assigned in __init__ lagrange/utils/network.py:60
HIGH COMP001 [COMP001] High cognitive complexity: Function `parse_msg` has cognitive complexity 64 (So… lagrange/client/message/decoder.py:22
HIGH GHSA-r6ph-v2qm-q3c2 cryptography: GHSA-r6ph-v2qm-q3c2 pdm.lock
HIGH PYSEC-2026-35 cryptography: PYSEC-2026-35 pdm.lock
HIGH CORE_NO_TESTS No test files found
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… lagrange/utils/binary/protobuf.py:120
MED SEC127 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as T… lagrange/info/serialize.py:15
MED SEC007 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code. lagrange/info/serialize.py:56
MED MINED111 Bare except continues silently lagrange/utils/network.py:87
MED COMP001 [COMP001] High cognitive complexity: Function `login` has cognitive complexity 17 (SonarS… lagrange/client/client.py:33
MED GHSA-h4gh-qq45-vh27 cryptography: GHSA-h4gh-qq45-vh27 pdm.lock
MED CORE_NO_CI No CI/CD configuration found
LOW COMP001 [COMP001] High cognitive complexity: Function `qrcode_login` has cognitive complexity 9 (… lagrange/client/base.py:269
LOW GHSA-79v4-65xg-pq4g cryptography: GHSA-79v4-65xg-pq4g pdm.lock
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. lagrange/client/server_push/events/grou…:31
INFO MINED064 [MINED064] Python Input Call: input() blocks for stdin. Inappropriate in services. lagrange/client/client.py:53
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… lagrange/client/message/elems.py:53
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… lagrange/client/message/decoder.py:54
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… lagrange/client/base.py:341
Reset to top 5 56 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `LagrangeDev/lagrange-python`

**Score: 79/100 (D+)**  ·  56 findings  ·  scanned 2026-06-05 18:26 UTC  ·  3,660 LOC

| Severity | Count |
|---|---|
| CRITICAL | 6 |
| HIGH | 36 |
| MEDIUM | 7 |
| LOW | 2 |

📊 [Full filterable report](https://repobility.com/scan/35d3b381-1b85-4e26-8074-d09fb3338809/)  ·  ![scorecard](https://repobility.com/scan/35d3b381-1b85-4e26-8074-d09fb3338809/report.png?v=1780683985-s2)

### Top findings

1. **CRITICAL** `MINED030` — Python Pickle Loads
   `lagrange/info/serialize.py:56` · CWE-502 · ✓ Repobility
2. **CRITICAL** `MINED018` — Unsafe Deserialization Pickle
   `lagrange/info/serialize.py:56` · CWE-502 · ✓ Repobility
3. **CRITICAL** `SEC081` — Python: pickle.loads / marshal.loads on untrusted data
   `lagrange/info/serialize.py:56` · A05:2021 Security Misconfiguration
4. **CRITICAL** `SEC039` — Plaintext-equivalent password hash — unsalted single-pass digest
   `lagrange/client/wtlogin/tlv/common.py:68` · CWE-916 · A02:2021 Cryptographic Failures
5. **CRITICAL** `SEC039` — Plaintext-equivalent password hash — unsalted single-pass digest
   `lagrange/client/base.py:244` · CWE-916 · A02:2021 Cryptographic Failures

---

**Security note**: this issue is public. If any flagged finding is a real, exploitable vulnerability, please redirect to your `SECURITY.md` policy or open a [private security advisory](https://docs.github.com/en/code-security/security-advisories/guidance-on-reporting-and-writing-information-about-vulnerabilities/privately-reporting-a-security-vulnerability) instead. We're happy to close this and re-submit privately.

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/35d3b381-1b85-4e26-8074-d09fb3338809/_
Megaproject â high spam risk
Could not determine 'LagrangeDev/lagrange-python' star count (GitHub API rate-limited or unreachable). When in doubt about repo size, prefer opening a focused PR or a discussion rather than an issue.

The button opens GitHubâs new-issue page in a new tab. You will see the title + body pre-filled â review, edit if you want, then click GitHubâs "Submit new issue" button. Repobility never posts anything on your behalf.

For real security findings on big repos: use the project's SECURITY.md or private advisory flow instead of a public issue.