← Back to scan
File as GitHub Issue repo: tesseract-ocr/tesseract

Push this scan report to tesseract-ocr/tesseract

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

Async function without await — fire-and-forget Promise (AI mistake)

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 MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. nsis/winpath.cpp:31
CRIT MINED123 Trojan Source bidi character (RLM) in source src/api/pagerenderer.cpp:986
HIGH MINED017 [MINED017] C System Call: system() invokes shell. command injection if any arg is dynamic. unittest/dawg_test.cc:65
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/lstm/input.cpp:94
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/lstm/fullyconnected.cpp:325
HIGH SEC128 [SEC128] Async function without await — fire-and-forget Promise (AI mistake): Async call … src/ccmain/linerec.cpp:205
HIGH MINED115 Action `google/oss-fuzz/infra/cifuzz/actions/build_fuzzers` pinned to mutable ref `@maste… .github/workflows/cifuzz.yml:17
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/unittest.yml:29
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/vcpkg.yml:20
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/cmake-win64.yml:119
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/cmake-win64.yml:30
HIGH MINED115 Action `microsoft/setup-msbuild` pinned to mutable ref `@v3` .github/workflows/cmake-win64.yml:28
HIGH MINED115 Action `ilammy/setup-nasm` pinned to mutable ref `@v1` .github/workflows/cmake-win64.yml:27
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/autotools-openmp.yml:20
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/installer-for-windows…:24
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/installer-for-windows…:21
HIGH MINED115 Action `github/codeql-action/analyze` pinned to mutable ref `@v4` .github/workflows/codeql-analysis.yml:85
HIGH MINED115 Action `github/codeql-action/init` pinned to mutable ref `@v4` .github/workflows/codeql-analysis.yml:70
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/codeql-analysis.yml:58
HIGH MINED126 Workflow container/services image `fedora:latest` unpinned .github/workflows/sw.yml:18
HIGH MINED115 Action `mikepenz/action-junit-report` pinned to mutable ref `@v6` .github/workflows/sw.yml:84
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/sw.yml:77
HIGH MINED115 Action `egorpugin/sw-action` pinned to mutable ref `@master` .github/workflows/sw.yml:28
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/sw.yml:24
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/autotools-macos.yml:122
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/autotools-macos.yml:20
HIGH MINED115 Action `msys2/setup-msys2` pinned to mutable ref `@v2` .github/workflows/msys2.yml:23
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/msys2.yml:20
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/unittest-macos.yml:21
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/unittest-disablelegac…:21
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/autotools.yml:71
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/autotools.yml:24
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… src/training/ambiguous_words.cpp:65
HIGH CORE_NO_TESTS No test files found
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … src/lstm/parallel.cpp:58
MED COMP001 [COMP001] High cognitive complexity: Function `find_dependencies` has cognitive complexit… nsis/find_deps.py:16
LOW AIC003 Duplicated implementation block across source files src/training/mftraining.cpp:96
LOW AIC003 Duplicated implementation block across source files src/textord/pitsync1.h:17
LOW AIC003 Duplicated implementation block across source files src/textord/pithsync.h:73
LOW AIC003 Duplicated implementation block across source files src/classify/intmatcher.cpp:17
LOW AIC003 Duplicated implementation block across source files src/classify/intfx.cpp:268
LOW AIC003 Duplicated implementation block across source files src/ccutil/elst2.h:65
LOW AIC003 Duplicated implementation block across source files src/ccutil/elst2.h:34
LOW AIC003 Duplicated implementation block across source files src/ccutil/elst.h:77
LOW AIC003 Duplicated implementation block across source files src/ccmain/resultiterator.cpp:480
LOW AIC003 Duplicated implementation block across source files src/arch/dotproductfma.cpp:42
LOW AIC003 Duplicated implementation block across source files java/com/google/scrollview/ui/SVPopupMe…:19
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/ccmain/werdit.cpp:54
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/ccmain/paramsd.cpp:202
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… src/ccmain/linerec.cpp:225
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… unittest/syntaxnet/base.h:7
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… src/api/altorenderer.cpp:84
INFO MINED055 [MINED055] Npm Install No Lockfile: Production image runs npm install (resolves new versi… nsis/build.sh:103
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. java/com/google/scrollview/ui/SVPopupMe…:87
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. java/com/google/scrollview/ui/SVMenuBar…:96
Reset to top 5 55 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `tesseract-ocr/tesseract`

**Score: 85/100 (B-)**  ·  55 findings  ·  scanned 2026-06-05 07:44 UTC  ·  205,606 LOC

| Severity | Count |
|---|---|
| CRITICAL | 2 |
| HIGH | 32 |
| MEDIUM | 2 |
| LOW | 11 |

📊 [Full filterable report](https://repobility.com/scan/51d5397c-fa0e-43b8-b8c5-d13768f569a9/)  ·  ![scorecard](https://repobility.com/scan/51d5397c-fa0e-43b8-b8c5-d13768f569a9/report.png?v=1780645499-s2)

### Top findings

1. **CRITICAL** `MINED022` — C Strcpy
   `nsis/winpath.cpp:31` · CWE-120 · ✓ Repobility
2. **CRITICAL** `MINED123` — Trojan Source bidi character (RLM) in source
   `src/api/pagerenderer.cpp:986` · ✓ Repobility
3. **HIGH** `MINED017` — C System Call
   `unittest/dawg_test.cc:65` · CWE-78 · ✓ Repobility
4. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/lstm/input.cpp:94`
5. **HIGH** `SEC128` — Async function without await — fire-and-forget Promise (AI mistake)
   `src/lstm/fullyconnected.cpp:325`

---

**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/51d5397c-fa0e-43b8-b8c5-d13768f569a9/_
Megaproject â high spam risk
Could not determine 'tesseract-ocr/tesseract' 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.
Already filed
26/57 findings (46%) on this scan are already flagged as test-file, won't-fix, or suppressed. The scan is too noisy to file as a single issue. Curate down to specific actionable findings, or address the FP source first.

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.