← Back to scan
File as GitHub Issue repo: microsoft/markitdown

Push this scan report to microsoft/markitdown

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

Bare Except Pass

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
HIGH MINED006 [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and Syste… packages/markitdown/src/markitdown/conv…:68
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … packages/markitdown/src/markitdown/_str…:30
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/markitdown-ocr/src/markitdown_…:211
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/markitdown-ocr/src/markitdown_…:121
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… packages/markitdown-ocr/src/markitdown_…:155
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:195
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:194
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:193
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:192
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:191
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:188
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:185
HIGH MINED108 `self.register_converter` used but never assigned in __init__ packages/markitdown/src/markitdown/_mar…:182
HIGH MINED108 `self._extract_page_images` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:193
HIGH MINED108 `self._ocr_full_pages` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:309
HIGH MINED108 `self._column_number_to_letter` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:191
HIGH MINED108 `self._extract_and_ocr_sheet_images` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:139
HIGH MINED108 `self._convert_standard` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:86
HIGH MINED108 `self._convert_with_ocr` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:82
HIGH MINED108 `self._inject_placeholders` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:99
HIGH MINED108 `self._extract_and_ocr_images` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:88
HIGH MINED108 `self._convert_chart_to_markdown` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:146
HIGH MINED108 `self._convert_table_to_markdown` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:142
HIGH MINED108 `self._is_table` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:141
HIGH MINED108 `self._is_picture` used but never assigned in __init__ packages/markitdown-ocr/src/markitdown_…:91
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/pre-commit.yml:10
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v5` .github/workflows/pre-commit.yml:8
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/tests.yml:9
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v5` .github/workflows/tests.yml:8
HIGH MINED118 Dockerfile FROM `python:3.13-slim-bullseye` not pinned by digest packages/markitdown-mcp/Dockerfile:1
HIGH MINED131 pre-commit hook `https://github.com/psf/black` pinned to mutable rev `23.7.0` .pre-commit-config.yaml:2
HIGH MINED118 Dockerfile FROM `python:3.13-slim-bullseye` not pinned by digest Dockerfile:1
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… packages/markitdown/src/markitdown/conv…:22
MED SEC136 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all excepti… packages/markitdown/src/markitdown/conv…:110
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/markitdown-ocr/src/markitdown_…:211
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/markitdown-ocr/src/markitdown_…:121
MED ERR001 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even… packages/markitdown-ocr/src/markitdown_…:155
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … packages/markitdown-mcp/src/markitdown_…:129
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:150
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:262
MED MINED109 Mutable default argument in `__init__` (list) packages/markitdown/src/markitdown/conv…:133
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:112
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:576
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:176
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:176
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:232
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:114
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/conv…:24
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/_mar…:630
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/_mar…:268
MED MINED111 Bare except continues silently packages/markitdown/src/markitdown/_mar…:79
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:78
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:107
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:413
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:380
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:419
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:302
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:120
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:386
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:297
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:208
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:152
MED MINED111 Bare except continues silently packages/markitdown-ocr/src/markitdown_…:248
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore packages/markitdown-mcp/Dockerfile:17
MED DKR014 Dockerfile copies broad context with incomplete .dockerignore Dockerfile:22
LOW COMP001 [COMP001] High cognitive complexity: Function `extract_text` has cognitive complexity 10 … packages/markitdown-ocr/src/markitdown_…:48
LOW COMP001 [COMP001] High cognitive complexity: Function `_extract_and_ocr_images` has cognitive com… packages/markitdown-ocr/src/markitdown_…:126
LOW COMP001 [COMP001] High cognitive complexity: Function `main` has cognitive complexity 10 (SonarSo… packages/markitdown-mcp/src/markitdown_…:82
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:45
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:42
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:41
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:46
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:29
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:41
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:30
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:26
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:35
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:354
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:350
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:342
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:21
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:13
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:23
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:15
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:18
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:4
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:26
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:22
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:37
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:26
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:18
LOW AIC003 Duplicated implementation block across source files packages/markitdown/src/markitdown/conv…:21
LOW AIC003 Duplicated implementation block across source files packages/markitdown-ocr/src/markitdown_…:25
LOW AIC003 Duplicated implementation block across source files packages/markitdown-ocr/src/markitdown_…:38
LOW AIC003 Duplicated implementation block across source files packages/markitdown-ocr/src/markitdown_…:105
LOW DKR010 Dockerfile leaves apt package indexes in the image layer packages/markitdown-mcp/Dockerfile:10
LOW DKR010 Dockerfile leaves apt package indexes in the image layer Dockerfile:8
LOW DKR008 .dockerignore misses sensitive defaults .dockerignore
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. packages/markitdown/src/markitdown/conv…:28
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. packages/markitdown/src/markitdown/_str…:5
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. packages/markitdown-ocr/src/markitdown_…:13
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/markitdown-ocr/src/markitdown_…:136
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/markitdown-ocr/src/markitdown_…:122
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… packages/markitdown-ocr/src/markitdown_…:156
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. packages/markitdown-mcp/src/markitdown_…:129
Reset to top 5 105 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `microsoft/markitdown`

**Score: 83/100 (B+)**  ·  115 findings  ·  scanned 2026-06-04 04:10 UTC  ·  12,558 LOC

| Severity | Count |
|---|---|
| CRITICAL | 0 |
| HIGH | 32 |
| MEDIUM | 33 |
| LOW | 33 |

📊 [Full filterable report](https://repobility.com/scan/dbdaf599-dde3-40fb-aea4-0a5672c27966/)  ·  ![scorecard](https://repobility.com/scan/dbdaf599-dde3-40fb-aea4-0a5672c27966/report.png?v=1780546211-s2)

### Top findings

1. **HIGH** `MINED006` — Overcatch Baseexception
   `packages/markitdown/src/markitdown/converters/_rss_converter.py:68` · CWE-705 · ✓ Repobility
2. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `packages/markitdown/src/markitdown/_stream_info.py:30`
3. **HIGH** `MINED001` — Bare Except Pass
   `packages/markitdown-ocr/src/markitdown_ocr/_xlsx_converter_with_ocr.py:211` · CWE-755 · ✓ Repobility
4. **HIGH** `MINED001` — Bare Except Pass
   `packages/markitdown-ocr/src/markitdown_ocr/_pptx_converter_with_ocr.py:121` · CWE-755 · ✓ Repobility
5. **HIGH** `MINED001` — Bare Except Pass
   `packages/markitdown-ocr/src/markitdown_ocr/_docx_converter_with_ocr.py:155` · CWE-755 · ✓ Repobility

---

**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/dbdaf599-dde3-40fb-aea4-0a5672c27966/_
Already filed
'microsoft' is on the known-megaproject org list. These projects use auto-triage bots and established security disclosure channels. Unsolicited automated issues from Repobility would be perceived as AI-generated spam. For security findings, follow the project's SECURITY.md policy. For non-security findings, open a focused PR or community discussion instead.
Already filed
This repo publishes a SECURITY.md policy and the scan contains 1 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 'microsoft/markitdown' 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.