Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.
86 of your 94 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 2.58s · analysis 6.13s · 0.9 MB · GitHub API rate-limit (preflight)

amazon-ion/ion-python

https://github.com/amazon-ion/ion-python · scanned 2026-06-05 22:55 UTC (4 days, 5 hours ago) · 10 languages

224 raw signals (92 security + 132 graph) 90th percentile · Python · medium (20-100K LoC) System graph score 89 (lower by 5)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 4 days, 5 hours ago · v2 · 79 actionable findings from 2 signal sources. 78 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 100.0 0.15 15.00
security_score 87.0 0.25 21.75
testing_score 87.0 0.20 17.40
documentation_score 92.0 0.15 13.80
practices_score 71.0 0.15 10.65
code_quality 53.4 0.10 5.34
Overall 1.00 83.9
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Quality grade A- (84/100). Dimensions: security 87, maintainability 100. 92 findings (27 security). 21,256 lines analyzed.

Showing 41 of 79 actionable findings. 157 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

high Security checks quality Quality conf 1.00 ✓ Repobility Missing import: `queue` used but not imported
The file uses `queue.something(...)` but never imports `queue`. This raises NameError at runtime the first time the line executes.
src-python/amazon/ion/reader_text.py:2121
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
src-python/amazon/ionbenchmark/proto_tools.py:51
high Security checks security path traversal conf 0.80 [SEC013] Path Traversal — User Input in File Path: User-controlled input used in file path without sanitization. Allows reading arbitrary files.
Use os.path.realpath() and verify the path starts with your expected base directory. Use secure_filename() for uploads.
src-python/amazon/ionbenchmark/benchmark_runner.py:105
high Security checks quality Quality conf 1.00 ✓ Repobility 24 occurrences `self.default` used but never assigned in __init__
Method `default` of class `IonToJSONEncoder` reads `self.default`, but no assignment to it exists in __init__ (and no class-level fallback). This raises AttributeError the first time the method runs against an instance.
6 files, 24 locations
src-python/amazon/ionbenchmark/benchmark_spec.py:166, 179, 186, 187, 188, 204, 209, 213, +4 more (14 hits)
src-python/amazon/ion/writer_buffer.py:32, 82, 134, 137 (4 hits)
src-python/amazon/ionbenchmark/self_describing_proto.py:91, 99, 118 (3 hits)
src-python/amazon/ion/json_encoder.py:46
src-python/amazon/ion/util.py:280
src-python/amazon/ionbenchmark/proto.py:53
low Security checks cicd CI/CD security conf 0.90 ✓ Repobility 29 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `actions/checkout` pinned to mutable ref `@v4` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
4 files, 29 locations
.github/workflows/performance-regression.yml:27, 44, 55, 56, 76, 83, 91, 99 (14 hits)
.github/workflows/release.yml:15, 17, 37, 43, 109, 129, 141 (10 hits)
.github/workflows/main.yml:17, 19 (3 hits)
.github/workflows/codeql-analysis.yml:41 (2 hits)
CI/CD securitySupply chainGitHub Actions
medium Security checks cicd CI/CD security conf 0.90 ✓ Repobility 10 occurrences GitHub Action is tag-pinned rather than SHA-pinned
Action `github/codeql-action/init` pinned to mutable ref `@v3` uses a mutable tag or branch. Pin external actions to a reviewed full commit SHA when the workflow is security-sensitive.
2 files, 10 locations
.github/workflows/codeql-analysis.yml:45, 56, 70 (6 hits)
.github/workflows/release.yml:47, 113, 118 (4 hits)
CI/CD securitySupply chainGitHub Actions
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
src-python/amazon/ion/core.py:25 Error handlingquality
low Security checks quality Error handling conf 0.55 ✓ Repobility Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
src-python/amazon/ion/simple_types.py:28 Error handlingquality
medium Security checks software dependencies conf 0.90 ✓ Repobility requirements.txt: `sphinx-rtd-theme` has no version pin
Unpinned pip requirement means every fresh install may resolve a different version. Newer releases can introduce malicious code (typosquats, account compromises). Reproducible installs need exact pins.
docs/requirements.txt:1
medium System graph cicd CI/CD security conf 1.00 GitHub Actions workflow grants broad write permissions
CI tokens with write permissions increase blast radius when an action, dependency, or PR workflow is compromised. Prefer job-level least-privilege permissions.
.github/workflows/release.yml CI/CD securitySupply chainGithub actions
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). Either auth lives in custom code, in a separate service, or is missing.
auth
low Security checks quality Quality conf 0.60 Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
src-python/amazon/ion/writer_text.py:204 duplicationquality
low System graph quality Maintenance conf 1.00 68 TODO/FIXME markers
High count of TODO/FIXME/HACK markers — track them as issues so they're not forgotten.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: docs/conf.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src-python/amazon/ionbenchmark/self_describing_proto_pb2.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/event_aliases.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: tests/MyMemoizer.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 11 places
Functions with the same first-5-line body hash: src-python/amazon/ion/simple_types.py:from_event, src-python/amazon/ion/simple_types.py:from_event, src-python/amazon/ion/simple_types.py:from_event, src-python/amazon/ion/simple_types.py:from_event This is *the* AI-coder failure mode (4× more duplic…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 14 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src-python/amazon/ion/util.py:bit_length, src-python/amazon/ion/util.py:bit_length This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
14 occurrences
repo-level (14 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src-python/amazon/ion/reader_text.py:parse, src-python/amazon/ion/reader_text.py:parse, src-python/amazon/ion/reader_text.py:parse This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Cons…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: src-python/amazon/ionbenchmark/benchmark_runner.py:test_fn, src-python/amazon/ionbenchmark/benchmark_runner.py:test_fn, src-python/amazon/ionbenchmark/benchmark_runner.py:test_fn, src-python/amazon/ionbenchmark/benchmark_runner.py:test_fn This is *th…
duplicatesduplication
low System graph software Dead code conf 1.00 Possibly dead Python function: annotations_thunk
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_managed.py:107
low System graph software Dead code conf 1.00 Possibly dead Python function: check_null_dot
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_text.py:1252
low System graph software Dead code conf 1.00 Possibly dead Python function: dst
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/core.py:338
low System graph software Dead code conf 1.00 Possibly dead Python function: field_name_thunk
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_managed.py:101
low System graph software Dead code conf 1.00 Possibly dead Python function: illegal_state_null
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/writer.py:55
low System graph software Dead code conf 1.00 Possibly dead Python function: parse
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_text.py:1640
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_decimal
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_binary.py:531
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_int
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_binary.py:497
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_symbol
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_binary.py:600
low System graph software Dead code conf 1.00 Possibly dead Python function: parse_timestamp
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_binary.py:538
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/writer_text.py:327
low System graph software Dead code conf 1.00 Possibly dead Python function: serialize_scalar
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/writer.py:65
low System graph software Dead code conf 1.00 Possibly dead Python function: tzname
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/core.py:341
low System graph software Dead code conf 1.00 Possibly dead Python function: unwrap_command
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ionbenchmark/proto_tools.py:57
low System graph software Dead code conf 1.00 Possibly dead Python function: value_thunk
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/reader_managed.py:110
low System graph software Dead code conf 1.00 Possibly dead Python function: wrap_command
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ionbenchmark/proto_tools.py:24
low System graph software Dead code conf 1.00 Possibly dead Python function: wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src-python/amazon/ion/util.py:109
low System graph quality Integrity conf 1.00 Stub function `tzname` (body is just `pass`/`return`) — src-python/amazon/ion/core.py:341
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: src-python/amazon/ion/reader_text.py (2323 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_reader_text.py (1274 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/d16aee2e-da79-4325-abea-64fc127f2d33/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/d16aee2e-da79-4325-abea-64fc127f2d33/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.