← Back to scan
File as GitHub Issue repo: amazon-ion/ion-python

Push this scan report to amazon-ion/ion-python

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.__reset` 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: `queue` used but not imported src-python/amazon/ion/reader_text.py:2121
HIGH SEC114 [SEC114] path.join / Path() on user-controlled segment without containment check: filepat… src-python/amazon/ionbenchmark/benchmar…:111
HIGH MINED108 `self.default` used but never assigned in __init__ src-python/amazon/ion/json_encoder.py:46
HIGH MINED108 `self._enum_members` used but never assigned in __init__ src-python/amazon/ion/util.py:280
HIGH MINED108 `self.__reset` used but never assigned in __init__ src-python/amazon/ion/writer_buffer.py:137
HIGH MINED108 `self.__depth_traverse` used but never assigned in __init__ src-python/amazon/ion/writer_buffer.py:134
HIGH MINED108 `self.__depth_traverse` used but never assigned in __init__ src-python/amazon/ion/writer_buffer.py:82
HIGH MINED108 `self.add_child` used but never assigned in __init__ src-python/amazon/ion/writer_buffer.py:32
HIGH MINED108 `self.loads` used but never assigned in __init__ src-python/amazon/ionbenchmark/proto.py:53
HIGH MINED108 `self.stdev` used but never assigned in __init__ src-python/amazon/ionbenchmark/sample_d…:60
HIGH MINED108 `self.get_attribute_as_path` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:249
HIGH MINED108 `self.get_attribute_as_path` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:247
HIGH MINED108 `self._get_model_flags` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:217
HIGH MINED108 `self._get_model_flags` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:215
HIGH MINED108 `self.get_format` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:213
HIGH MINED108 `self.get` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:209
HIGH MINED108 `self._get_loader_dumper` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:204
HIGH MINED108 `self.get_input_file` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:188
HIGH MINED108 `self.get_format` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:187
HIGH MINED108 `self.get_loader_dumper` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:186
HIGH MINED108 `self.get_input_file` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:179
HIGH MINED108 `self.get_api` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:166
HIGH MINED108 `self.get_command` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:166
HIGH MINED108 `self.get_io_type` used but never assigned in __init__ src-python/amazon/ionbenchmark/benchmar…:166
HIGH MINED108 `self.dumps` used but never assigned in __init__ src-python/amazon/ionbenchmark/self_des…:118
HIGH MINED108 `self.loads` used but never assigned in __init__ src-python/amazon/ionbenchmark/self_des…:99
HIGH MINED108 `self._get_inner_object_instance` used but never assigned in __init__ src-python/amazon/ionbenchmark/self_des…:91
HIGH COMP001 [COMP001] High cognitive complexity: Function `_structs_eq` has cognitive complexity 31 (… src-python/amazon/ion/equivalence.py:126
HIGH COMP001 [COMP001] High cognitive complexity: Function `_ion_equals` has cognitive complexity 55 (… src-python/amazon/ion/equivalence.py:64
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v4` .github/workflows/release.yml:141
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/release.yml:129
HIGH MINED115 Action `pypa/cibuildwheel` pinned to mutable ref `@v3.2.0` .github/workflows/release.yml:118
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/release.yml:109
HIGH MINED115 Action `aws-actions/configure-aws-credentials` pinned to mutable ref `@v4` .github/workflows/release.yml:47
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/release.yml:43
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/release.yml:37
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/release.yml:17
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/release.yml:15
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/main.yml:19
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/main.yml:17
HIGH MINED115 Action `github/codeql-action/analyze` pinned to mutable ref `@v3` .github/workflows/codeql-analysis.yml:70
HIGH MINED115 Action `github/codeql-action/autobuild` pinned to mutable ref `@v3` .github/workflows/codeql-analysis.yml:56
HIGH MINED115 Action `github/codeql-action/init` pinned to mutable ref `@v3` .github/workflows/codeql-analysis.yml:45
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/codeql-analysis.yml:41
HIGH MINED115 Action `actions/download-artifact` pinned to mutable ref `@v4` .github/workflows/performance-regressio…:99
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/performance-regressio…:91
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/performance-regressio…:83
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/performance-regressio…:76
HIGH MINED115 Action `actions/setup-python` pinned to mutable ref `@v5` .github/workflows/performance-regressio…:56
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/performance-regressio…:55
HIGH MINED115 Action `actions/upload-artifact` pinned to mutable ref `@v4` .github/workflows/performance-regressio…:44
HIGH MINED115 Action `actions/checkout` pinned to mutable ref `@v4` .github/workflows/performance-regressio…:27
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… src-python/amazon/ionbenchmark/proto_to…:51
HIGH SEC013 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file pat… src-python/amazon/ionbenchmark/benchmar…:105
MED MINED111 Bare except continues silently src-python/amazon/ion/core.py:25
MED MINED111 Bare except continues silently src-python/amazon/ion/simple_types.py:28
MED COMP001 [COMP001] High cognitive complexity: Function `_symbols_eq` has cognitive complexity 20 (… src-python/amazon/ion/equivalence.py:197
MED MINED124 requirements.txt: `sphinx-rtd-theme` has no version pin docs/requirements.txt:1
LOW AIC003 Duplicated implementation block across source files src-python/amazon/ion/writer_text.py:204
INFO MINED062 [MINED062] Python Dataclass No Fields: @dataclass over an empty class — unfinished model. src-python/amazon/ionbenchmark/report.py:12
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. src-python/amazon/ion/sliceable_buffer.…:164
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src-python/amazon/ionbenchmark/benchmar…:176
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src-python/amazon/ionbenchmark/benchmar…:129
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… src-python/amazon/ion/sliceable_buffer.…:165
Reset to top 5 64 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `amazon-ion/ion-python`

**Score: 90/100 (A-)**  ·  92 findings  ·  scanned 2026-06-05 22:55 UTC  ·  21,256 LOC

| Severity | Count |
|---|---|
| CRITICAL | 1 |
| HIGH | 53 |
| MEDIUM | 4 |
| LOW | 1 |

📊 [Full filterable report](https://repobility.com/scan/d16aee2e-da79-4325-abea-64fc127f2d33/)  ·  ![scorecard](https://repobility.com/scan/d16aee2e-da79-4325-abea-64fc127f2d33/report.png?v=1780700104-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `queue` used but not imported
   `src-python/amazon/ion/reader_text.py:2121` · ✓ Repobility
2. **HIGH** `SEC114` — path.join / Path() on user-controlled segment without containment check
   `src-python/amazon/ionbenchmark/benchmark_spec.py:111` · A01:2021 Broken Access Control (path traversal)
3. **HIGH** `MINED108` — `self.default` used but never assigned in __init__
   `src-python/amazon/ion/json_encoder.py:46` · ✓ Repobility
4. **HIGH** `MINED108` — `self._enum_members` used but never assigned in __init__
   `src-python/amazon/ion/util.py:280` · ✓ Repobility
5. **HIGH** `MINED108` — `self.__reset` used but never assigned in __init__
   `src-python/amazon/ion/writer_buffer.py:137` · ✓ 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/d16aee2e-da79-4325-abea-64fc127f2d33/_
Megaproject â high spam risk
Could not determine 'amazon-ion/ion-python' 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
52/94 findings (55%) 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.