← Back to scan
File as GitHub Issue repo: py2exe/py2exe

Push this scan report to py2exe/py2exe

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

Path Traversal Os Join

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. source/run_ctypes_dll.c:101
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… py2exe/versioninfo.py:32
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… py2exe/mf310.py:60
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… py2exe/boot_service.py:53
HIGH MINED021 [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can co… py2exe/boot_common.py:56
HIGH MINED108 `self.build_interpreters` used but never assigned in __init__ py2exe_setuptools.py:93
HIGH MINED108 `self.link_objects` used but never assigned in __init__ py2exe_setuptools.py:89
HIGH MINED108 `self.rpath` used but never assigned in __init__ py2exe_setuptools.py:87
HIGH MINED108 `self.library_dirs` used but never assigned in __init__ py2exe_setuptools.py:85
HIGH MINED108 `self.libraries` used but never assigned in __init__ py2exe_setuptools.py:83
HIGH MINED108 `self.undef` used but never assigned in __init__ py2exe_setuptools.py:81
HIGH MINED108 `self.undef` used but never assigned in __init__ py2exe_setuptools.py:80
HIGH MINED108 `self.define` used but never assigned in __init__ py2exe_setuptools.py:78
HIGH MINED108 `self.define` used but never assigned in __init__ py2exe_setuptools.py:76
HIGH MINED108 `self.include_dirs` used but never assigned in __init__ py2exe_setuptools.py:74
HIGH MINED108 `self.interpreters` used but never assigned in __init__ py2exe_setuptools.py:59
HIGH MINED108 `self.distribution` used but never assigned in __init__ py2exe_setuptools.py:51
HIGH MINED108 `self.extensions` used but never assigned in __init__ py2exe_setuptools.py:52
HIGH MINED108 `self.interpreters` used but never assigned in __init__ py2exe_setuptools.py:51
HIGH MINED108 `self.has_interpreters` used but never assigned in __init__ py2exe_setuptools.py:43
HIGH MINED108 `self.has_interpreters` used but never assigned in __init__ py2exe_setuptools.py:40
HIGH MINED108 `self.archive` used but never assigned in __init__ zipextimporter.py:170
HIGH MINED108 `self.archive` used but never assigned in __init__ zipextimporter.py:118
HIGH MINED108 `self.archive` used but never assigned in __init__ zipextimporter.py:123
HIGH MINED108 `self.get_data` used but never assigned in __init__ zipextimporter.py:122
HIGH MINED108 `self.archive` used but never assigned in __init__ zipextimporter.py:93
HIGH MINED108 `self._files` used but never assigned in __init__ zipextimporter.py:115
HIGH MINED108 `self.find_module` used but never assigned in __init__ zipextimporter.py:79
HIGH MINED108 `self._files` used but never assigned in __init__ zipextimporter.py:74
HIGH MINED108 `self._files` used but never assigned in __init__ zipextimporter.py:63
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v8` .github/workflows/CI.yml:148
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v6` .github/workflows/CI.yml:120
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/CI.yml:117
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/CI.yml:102
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v6` .github/workflows/CI.yml:70
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/CI.yml:67
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v7` .github/workflows/CI.yml:52
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v6` .github/workflows/CI.yml:25
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/CI.yml:22
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v6` .github/workflows/CI.yml:11
HIGH PYSEC-2023-74 requests: PYSEC-2023-74 tests/functional/requests_bundlefiles1_…
HIGH PYSEC-2018-28 requests: PYSEC-2018-28 tests/functional/requests_bundlefiles1_…
MED MINED109 Mutable default argument in `__init__` (list) py2exe/dllfinder.py:234
MED MINED109 Mutable default argument in `freeze` (dict) py2exe/__init__.py:46
MED MINED109 Mutable default argument in `freeze` (list) py2exe/__init__.py:46
MED MINED111 Bare except continues silently py2exe/mf310.py:67
MED COMP001 [COMP001] High cognitive complexity: Function `w_getopt` has cognitive complexity 15 (Son… py2exe/boot_service.py:56
MED MINED124 requirements.txt: `zope.interface` has no version pin tests/functional/_zope_interface_test/r…:1
MED MINED124 requirements.txt: `pyphen` has no version pin tests/functional/pyphen_test/requiremen…:1
MED MINED124 requirements.txt: `pywin32` has no version pin tests/functional/pywin32_test/requireme…:1
MED MINED124 requirements.txt: `numpy` has no version pin tests/functional/numpy_test/requirement…:1
MED MINED124 requirements.txt: `semantic_version<2.9.0; python_version < '3.8'` has no version pin tests/functional/metadata_test/requirem…:1
MED MINED124 requirements.txt: `certifi` has no version pin tests/functional/certifi_test/requireme…:1
MED MINED124 requirements.txt: `pandas` has no version pin tests/functional/pandas_test/requiremen…:1
MED MINED124 requirements.txt: `certifi` has no version pin tests/functional/certifi_zip_test/requi…:1
MED MINED124 requirements.txt: `winrt` has no version pin tests/functional/_winrt_test/requiremen…:1
MED MINED124 requirements.txt: `scipy` has no version pin tests/functional/scipy_test/requirement…:1
MED MINED124 requirements.txt: `pycryptodome` has no version pin tests/functional/pycryptodome_test/requ…:1
MED MINED124 requirements.txt: `matplotlib` has no version pin tests/functional/matplotlib_test/requir…:1
MED MINED124 requirements.txt: `wxPython` has no version pin tests/functional/_wxPython_test/require…:1
MED MINED124 requirements.txt: `requests` has no version pin tests/functional/requests_bundlefiles1_…:1
MED MINED124 requirements.txt: `requests` has no version pin tests/functional/requests_test/requirem…:1
MED GHSA-gc5v-m9x4-r6x2 requests: GHSA-gc5v-m9x4-r6x2 tests/functional/requests_bundlefiles1_…
MED GHSA-9wx4-h78v-vm56 requests: GHSA-9wx4-h78v-vm56 tests/functional/requests_bundlefiles1_…
MED GHSA-9hjg-9r4m-mvj7 requests: GHSA-9hjg-9r4m-mvj7 tests/functional/requests_bundlefiles1_…
LOW COMP001 [COMP001] High cognitive complexity: Function `__init__` has cognitive complexity 11 (Son… py2exe/versioninfo.py:193
LOW COMP001 [COMP001] High cognitive complexity: Function `find_loaded_dlls` has cognitive complexity… py2exe/pescan.py:21
LOW AIC003 Duplicated implementation block across source files source/run_w.c:5
LOW AIC003 Duplicated implementation block across source files source/run_w.c:1
LOW AIC003 Duplicated implementation block across source files source/run_ctypes_dll.c:13
LOW AIC003 Duplicated implementation block across source files setup_zipextimporter.py:13
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. setup_zipextimporter.py:81
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. setup.py:164
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… setup_zipextimporter.py:89
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… setup.py:172
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. py2exe/versioninfo.py:32
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. py2exe/boot_service.py:53
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. py2exe/_wapi.py:104
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… py2exe/boot_service.py:54
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… py2exe/boot_common.py:92
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… py2exe/_wapi.py:105
Reset to top 5 81 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `py2exe/py2exe`

**Score: 74/100 (B+)**  ·  89 findings  ·  scanned 2026-06-05 19:46 UTC  ·  9,248 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 41 |
| MEDIUM | 23 |
| LOW | 6 |

📊 [Full filterable report](https://repobility.com/scan/34046f5e-e67b-4cea-82ac-3e1d5bffb896/)  ·  ![scorecard](https://repobility.com/scan/34046f5e-e67b-4cea-82ac-3e1d5bffb896/report.png?v=1780688769-s2)

### Top findings

1. **CRITICAL** `MINED022` — C Strcpy
   `source/run_ctypes_dll.c:101` · CWE-120 · ✓ Repobility
2. **HIGH** `MINED001` — Bare Except Pass
   `py2exe/versioninfo.py:32` · CWE-755 · ✓ Repobility
3. **HIGH** `MINED001` — Bare Except Pass
   `py2exe/mf310.py:60` · CWE-755 · ✓ Repobility
4. **HIGH** `MINED001` — Bare Except Pass
   `py2exe/boot_service.py:53` · CWE-755 · ✓ Repobility
5. **HIGH** `MINED021` — Path Traversal Os Join
   `py2exe/boot_common.py:56` · CWE-22 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/34046f5e-e67b-4cea-82ac-3e1d5bffb896/_
Megaproject â high spam risk
Could not determine 'py2exe/py2exe' 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
38/91 findings (42%) 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.