← Back to scan
File as GitHub Issue repo: stamparm/maltrail

Push this scan report to stamparm/maltrail

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

`self.send_header` used but never assigned in __init__

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 MINED127 [MINED127] Cryptominer signature: `supportxmr`: Source contains a known cryptominer signa… html/js/demo.js:30
CRIT MINED127 [MINED127] Cryptominer signature: `xmrig`: Source contains a known cryptominer signature … html/js/demo.js:223
HIGH MINED108 [MINED108] `self.path` used but never assigned in __init__: Method `do_GET` of class `Req… core/httpd.py:200
HIGH MINED108 [MINED108] `self.path` used but never assigned in __init__: Method `do_GET` of class `Req… core/httpd.py:162
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:195
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:193
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:192
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:174
HIGH MINED108 [MINED108] `self.send_response` used but never assigned in __init__: Method `do_GET` of c… core/httpd.py:173
HIGH MINED108 [MINED108] `self.wfile` used but never assigned in __init__: Method `do_GET` of class `Re… core/httpd.py:228
HIGH MINED108 [MINED108] `self.headers` used but never assigned in __init__: Method `do_GET` of class `… core/httpd.py:212
HIGH MINED108 [MINED108] `self._format` used but never assigned in __init__: Method `do_GET` of class `… core/httpd.py:210
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:186
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:183
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:182
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:181
HIGH MINED108 [MINED108] `self.send_response` used but never assigned in __init__: Method `do_GET` of c… core/httpd.py:180
HIGH MINED108 [MINED108] `self.headers` used but never assigned in __init__: Method `do_GET` of class `… core/httpd.py:168
HIGH MINED108 [MINED108] `self.wfile` used but never assigned in __init__: Method `do_GET` of class `Re… core/httpd.py:230
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:213
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:199
HIGH MINED108 [MINED108] `self.send_response` used but never assigned in __init__: Method `do_GET` of c… core/httpd.py:198
HIGH MINED108 [MINED108] `self.data` used but never assigned in __init__: Method `do_GET` of class `Req… core/httpd.py:134
HIGH MINED108 [MINED108] `self.send_header` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:222
HIGH MINED108 [MINED108] `self.path` used but never assigned in __init__: Method `do_GET` of class `Req… core/httpd.py:128
HIGH MINED108 [MINED108] `self.end_headers` used but never assigned in __init__: Method `do_GET` of cla… core/httpd.py:224
HIGH MINED108 [MINED108] `self.socket` used but never assigned in __init__: Method `server_bind` of cla… core/httpd.py:85
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… trails/feeds/fareit.py:23
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… trails/feeds/cybercrimetracker.py:23
HIGH SEC103 [SEC103] LDAP injection — non-constant search filter: User input concatenated into an LDA… trails/feeds/atmos.py:23
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… server.py:117
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… core/parallel.py:106
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … core/parallel.py:75
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… core/common.py:137
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… core/common.py:51
HIGH COMP001 [COMP001] High cognitive complexity: Function `process` has cognitive complexity 45 (Sona… core/common.py:204
HIGH DKR014 Dockerfile copies the entire context without .dockerignore docker/Dockerfile:23
HIGH MINED115 [MINED115] Action `actions/checkout` pinned to mutable ref `@v4`: `uses: actions/checkout… .github/workflows/docker-release.yml:14
HIGH MINED118 [MINED118] Dockerfile FROM `python:3` not pinned by digest: `FROM python:3` resolves the … docker/Dockerfile:1
HIGH DKC009 Compose service bind-mounts a sensitive host path docker/docker-compose.yml:14
HIGH CORE_NO_TESTS No test files found
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/common.py:274
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/common.py:61
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/settings.py:447
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:168
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:377
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:330
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:355
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:61
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:344
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/update.py:82
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/log.py:264
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:343
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:820
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:598
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:406
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:490
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:448
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:286
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:91
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/httpd.py:862
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… core/datatype.py:34
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… sensor.py:1076
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… sensor.py:1106
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… sensor.py:1017
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… sensor.py:882
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … server.py:60
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… core/common.py:281
MED ERR002 [ERR002] Empty Catch Block: Empty catch blocks hide errors. html/js/errorhandler.js:19
MED SEC012 [SEC012] ZipSlip — Archive Path Traversal: Archive extraction without path validation all… core/common.py:191
MED MINED124 [MINED124] requirements.txt: `pcapy-ng` has no version pin: Unpinned pip requirement mean… requirements.txt:1
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER docker/Dockerfile:1
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… html/js/errorhandler.js:13
LOW COMP001 [COMP001] High cognitive complexity: Function `write` has cognitive complexity 8 (SonarSo… core/colorized.py:21
LOW COMP001 [COMP001] High cognitive complexity: Function `expand_range` has cognitive complexity 12 … core/addr.py:36
LOW AIC003 Duplicated implementation block across source files trails/feeds/ransomwaretrackerurl.py:11
LOW AIC003 Duplicated implementation block across source files trails/feeds/ransomwaretrackerip.py:7
LOW DKC010 Compose service lacks no-new-privileges hardening docker/docker-compose.yml:14
LOW DKC006 Compose service does not declare a runtime user docker/docker-compose.yml:14
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. core/enums.py:17
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… trails/feeds/ciarmy.py:10
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… trails/feeds/bruteforceblocker.py:10
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… core/common.py:65
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… core/enums.py:18
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… core/common.py:138
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… core/__init__.py:7
Reset to top 5 87 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `stamparm/maltrail`

**Score: 81/100 (C+)**  ·  87 findings  ·  scanned 2026-05-31 01:25 UTC  ·  13,516 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 39 |
| MEDIUM | 32 |
| LOW | 7 |

📊 [Full filterable report](https://repobility.com/scan/0d172410-289d-4523-b02b-2f08ebb486f4/)  ·  ![scorecard](https://repobility.com/scan/0d172410-289d-4523-b02b-2f08ebb486f4/report.png?v=1780190702-s2)

### Top findings

1. **CRITICAL** `MINED127` — Cryptominer signature: `supportxmr`
   `html/js/demo.js:30` · ✓ Repobility
2. **CRITICAL** `MINED127` — Cryptominer signature: `xmrig`
   `html/js/demo.js:223` · ✓ Repobility
3. **HIGH** `MINED108` — `self.path` used but never assigned in __init__
   `core/httpd.py:200` · ✓ Repobility
4. **HIGH** `MINED108` — `self.path` used but never assigned in __init__
   `core/httpd.py:162` · ✓ Repobility
5. **HIGH** `MINED108` — `self.send_header` used but never assigned in __init__
   `core/httpd.py:195` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/0d172410-289d-4523-b02b-2f08ebb486f4/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 6 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'stamparm/maltrail' 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.