← Back to scan
File as GitHub Issue repo: yassineaourarh/phishguard-ai

Push this scan report to yassineaourarh/phishguard-ai

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.validate_content` 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 MINED107 Missing import: `email` used but not imported email_sender.py:234
HIGH MINED108 `self._send_smtp` used but never assigned in __init__ email_sender.py:531
HIGH MINED108 `self._log_outbox` used but never assigned in __init__ email_sender.py:524
HIGH MINED108 `self._add_footer` used but never assigned in __init__ email_sender.py:496
HIGH MINED108 `self.validate_content` used but never assigned in __init__ email_sender.py:239
HIGH MINED108 `self.validate_recipient` used but never assigned in __init__ email_sender.py:234
HIGH MINED108 `self._load_allowlist` used but never assigned in __init__ email_sender.py:171
HIGH MINED108 `self._load_allowlist` used but never assigned in __init__ email_sender.py:150
HIGH MINED108 `self.wfile` used but never assigned in __init__ tracking_server.py:440
HIGH MINED108 `self.end_headers` used but never assigned in __init__ tracking_server.py:425
HIGH MINED108 `self.send_header` used but never assigned in __init__ tracking_server.py:424
HIGH MINED108 `self.send_response` used but never assigned in __init__ tracking_server.py:423
HIGH MINED108 `self.wfile` used but never assigned in __init__ tracking_server.py:419
HIGH MINED108 `self.end_headers` used but never assigned in __init__ tracking_server.py:399
HIGH MINED108 `self.send_header` used but never assigned in __init__ tracking_server.py:398
HIGH MINED108 `self.send_response` used but never assigned in __init__ tracking_server.py:397
HIGH MINED108 `self.wfile` used but never assigned in __init__ tracking_server.py:393
HIGH MINED108 `self.end_headers` used but never assigned in __init__ tracking_server.py:392
HIGH MINED108 `self.send_header` used but never assigned in __init__ tracking_server.py:391
HIGH MINED108 `self.send_header` used but never assigned in __init__ tracking_server.py:390
HIGH MINED108 `self.send_response` used but never assigned in __init__ tracking_server.py:389
HIGH MINED108 `self.wfile` used but never assigned in __init__ tracking_server.py:447
HIGH MINED108 `self.end_headers` used but never assigned in __init__ tracking_server.py:446
HIGH MINED108 `self.send_header` used but never assigned in __init__ tracking_server.py:445
HIGH MINED108 `self.send_response` used but never assigned in __init__ tracking_server.py:444
HIGH MINED108 `self.path` used but never assigned in __init__ tracking_server.py:376
HIGH DKR014 Dockerfile copies the entire context without .dockerignore Dockerfile:16
HIGH MINED118 Dockerfile FROM `python:3.11-slim` not pinned by digest Dockerfile:2
MED CFG006 [CFG006] Missing .gitignore: No .gitignore file. Risk of committing secrets and build art…
MED MINED111 Bare except continues silently setup_colab.py:155
MED MINED111 Bare except continues silently setup_colab.py:319
MED MINED111 Bare except continues silently setup_colab.py:144
MED MINED111 Bare except continues silently agent.py:434
MED MINED111 Bare except continues silently agent.py:159
MED MINED111 Bare except continues silently agent.py:617
MED MINED111 Bare except continues silently email_sender.py:452
MED MINED111 Bare except continues silently email_sender.py:398
MED MINED111 Bare except continues silently email_sender.py:337
MED MINED111 Bare except continues silently tracking_server.py:145
MED DKR007 Docker build context has no .dockerignore .dockerignore
MED DKR001 Docker final stage has no non-root USER Dockerfile:2
MED CORE_LARGE_FILES Average file size is 638 lines (recommend <300)
MED CORE_NO_CI No CI/CD configuration found
INFO MINED049 [MINED049] Print Pii: Logging password/token/email/ssn directly to stdout. setup_colab.py:143
INFO MINED053 [MINED053] Placeholder Default Username: [email protected] / [email protected] / admin/admin… config.py:129
Reset to top 5 45 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `yassineaourarh/phishguard-ai`

**Score: 77/100 (B)**  ·  45 findings  ·  scanned 2026-05-26 07:42 UTC  ·  5,105 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 27 |
| MEDIUM | 15 |
| LOW | 0 |

📊 [Full filterable report](https://repobility.com/scan/967f230d-e3fc-4a5e-bc55-16dd464a891a/)  ·  ![scorecard](https://repobility.com/scan/967f230d-e3fc-4a5e-bc55-16dd464a891a/report.png?v=1779781348-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `email` used but not imported
   `email_sender.py:234` · ✓ Repobility
2. **HIGH** `MINED108` — `self._send_smtp` used but never assigned in __init__
   `email_sender.py:531` · ✓ Repobility
3. **HIGH** `MINED108` — `self._log_outbox` used but never assigned in __init__
   `email_sender.py:524` · ✓ Repobility
4. **HIGH** `MINED108` — `self._add_footer` used but never assigned in __init__
   `email_sender.py:496` · ✓ Repobility
5. **HIGH** `MINED108` — `self.validate_content` used but never assigned in __init__
   `email_sender.py:239` · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/967f230d-e3fc-4a5e-bc55-16dd464a891a/_
Premium account
This scan was submitted by a Enterprise-tier account. Premium accounts have full outreach control â Repobility doesn't pre-fill the 'file as GitHub issue' button for paid users. You can still file the issue manually using the markdown body above (Copy markdown), or contact us if you'd like batch-filing enabled for your account.
Megaproject â high spam risk
Could not determine 'yassineaourarh/phishguard-ai' 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.