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.
155 of your 203 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.

Scan timing: clone 7.51s · analysis 15.59s · 101.7 MB · GitHub API rate-limit (preflight)

protocolbuffers/protobuf

https://github.com/protocolbuffers/protobuf · scanned 2026-06-05 08:30 UTC (1 week, 1 day ago) · 10 languages

678 raw signals (196 security + 482 graph) 11/13 scanners ran 69th percentile · C · huge (>500K LoC) System graph score 90 (lower by 14)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 week, 1 day ago · v2 · 191 actionable findings from 2 signal sources. 221 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 65.0 0.15 9.75
security_score 100.0 0.25 25.00
testing_score 58.0 0.20 11.60
documentation_score 99.0 0.15 14.85
practices_score 79.0 0.15 11.85
code_quality 26.0 0.10 2.60
Overall 1.00 75.6
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: severity: low × excluding tests × Reset all
Scan summary Quality grade B+ (76/100). Dimensions: security 100, maintainability 65. 196 findings (53 security). 928,086 lines analyzed.

Showing 93 of 191 actionable findings. 412 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.

low Security checks security Injection conf 0.50 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input.
Use subprocess with shell=False and a list of args. Never eval user input.
benchmarks/compare.py:59
low Security checks quality Error handling conf 0.55 ✓ Repobility 9 occurrences 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.
5 files, 9 locations
conformance/conformance_python.py:80, 87, 103, 112 (4 hits)
python/google/protobuf/descriptor_pool.py:652, 660 (2 hits)
python/google/protobuf/internal/python_message.py:585
python/google/protobuf/internal/testing_refleaks.py:95
python/google/protobuf/text_format.py:529
Error handlingquality
low Security checks quality Quality conf 0.60 30 occurrences 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.
12 files, 17 locations
csharp/src/Google.Protobuf.Test.TestProtos/UnittestImportPublicProto3.pb.cs:38, 93, 151 (3 hits)
csharp/src/Google.Protobuf.Test.TestProtos/UnittestImportProto3.pb.cs:47, 102 (2 hits)
csharp/src/Google.Protobuf.Test.TestProtos/UnittestImportPublic.pb.cs:107, 165 (2 hits)
csharp/src/Google.Protobuf.Test.TestProtos/UnittestLegacyFeatures.pb.cs:133, 210 (2 hits)
conformance/ConformanceJavaLite.java:23
csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/SampleMessages.cs:11
csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/WrappersTest.cs:27
csharp/src/Google.Protobuf.Test.TestProtos/UnittestImport.pb.cs:120
duplicationquality
low System graph quality Maintenance conf 1.00 232 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: conformance/update_failure_list.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: docs/upb/render.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: python/google/protobuf/reflection.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: python/protobuf_distutils/setup.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Integrity conf 1.00 13 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: python/google/protobuf/message.py:ClearField, python/google/protobuf/proto.py:clear_field 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.
13 occurrences
repo-level (13 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: python/minimal_test.py:testExtensionIter, python/google/protobuf/internal/reflection_test.py:testExtensionDelete, python/google/protobuf/internal/reflection_test.py:testExtensionIter This is *the* AI-coder failure mode (4× more duplication in vibe-co…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 3 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: python/google/protobuf/text_format.py:PrintField, python/google/protobuf/text_format.py:PrintFieldValue, python/google/protobuf/text_format.py:PrintField, python/google/protobuf/text_format.py:PrintFieldValue This is *the* AI-coder failure mode (4× m…
3 occurrences
repo-level (3 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: python/google/protobuf/descriptor.py:CopyToProto, python/google/protobuf/descriptor.py:CopyToProto, python/google/protobuf/descriptor.py:CopyToProto, python/google/protobuf/descriptor.py:CopyToProto This is *the* AI-coder failure mode (4× more duplic…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_Deprecated` in python/google/protobuf/descriptor.py:77
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `field_copy` in python/google/protobuf/internal/python_message.py:627
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `is_deprecated` in python/google/protobuf/internal/descriptor_test.py:151
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `js_dict_copy` in python/google/protobuf/internal/json_format_test.py:1682
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: archive_override
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:108
low System graph software Dead code conf 1.00 Possibly dead Python function: bazel_dep
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:73
low System graph software Dead code conf 1.00 Possibly dead Python function: bundle_fetch
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:47
low System graph software Dead code conf 1.00 Possibly dead Python function: defaults
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:29
low System graph software Dead code conf 1.00 Possibly dead Python function: empty_func
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:60
low System graph software Dead code conf 1.00 Possibly dead Python function: from_specs
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:41
low System graph software Dead code conf 1.00 Possibly dead Python function: git_override
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:105
low System graph software Dead code conf 1.00 Possibly dead Python function: init
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:572
low System graph software Dead code conf 1.00 Possibly dead Python function: install
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:44
low System graph software Dead code conf 1.00 Possibly dead Python function: local_path_override
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:102
low System graph software Dead code conf 1.00 Possibly dead Python function: MakeMessageMapDefault
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:448
low System graph software Dead code conf 1.00 Possibly dead Python function: MakePrimitiveMapDefault
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:460
low System graph software Dead code conf 1.00 Possibly dead Python function: MakeRepeatedMessageDefault
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:499
low System graph software Dead code conf 1.00 Possibly dead Python function: MakeRepeatedScalarDefault
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:508
low System graph software Dead code conf 1.00 Possibly dead Python function: MakeScalarDefault
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:534
low System graph software Dead code conf 1.00 Possibly dead Python function: MakeSubMessageDefault
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/internal/python_message.py:518
low System graph software Dead code conf 1.00 Possibly dead Python function: module
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:70
low System graph software Dead code conf 1.00 Possibly dead Python function: nuget_package
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:56
low System graph software Dead code conf 1.00 Possibly dead Python function: register_toolchains
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:87
low System graph software Dead code conf 1.00 Possibly dead Python function: ReplaceHex
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/text_encoding.py:94
low System graph software Dead code conf 1.00 Possibly dead Python function: single_version_override
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:96
low System graph software Dead code conf 1.00 Possibly dead Python function: source_archive
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:53
low System graph software Dead code conf 1.00 Possibly dead Python function: spec
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:38
low System graph software Dead code conf 1.00 Possibly dead Python function: toolchain
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:32
low System graph software Dead code conf 1.00 Possibly dead Python function: TryConsumeIdentifierOrNumber
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/text_format.py:1622
low System graph software Dead code conf 1.00 Possibly dead Python function: TryConsumeUrlChars
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/text_format.py:1794
low System graph software Dead code conf 1.00 Possibly dead Python function: UnknownFields
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
python/google/protobuf/message.py:368
low System graph software Dead code conf 1.00 Possibly dead Python function: use_extension
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: use_repo
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:90
low System graph software Dead code conf 1.00 Possibly dead Python function: use_repo_rule
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
cmake/dependencies_generator.py:93
low System graph quality Integrity conf 1.00 Stub function `_LogSilentMarker` (body is just `pass`/`return`) — python/google/protobuf/text_format.py:1139
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `_parent` (body is just `pass`/`return`) — python/google/protobuf/descriptor.py:149
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `addSkip` (body is just `pass`/`return`) — python/google/protobuf/internal/testing_refleaks.py:37
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `defaults` (body is just `pass`/`return`) — cmake/dependencies_generator.py:29
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `DoNothing` (body is just `pass`/`return`) — python/google/protobuf/internal/thread_safe_test.py:247
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `Modified` (body is just `pass`/`return`) — python/google/protobuf/internal/message_listener.py:55
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: compatibility/smoke/v21.12/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (25205 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v25.8/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (25655 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v26.0/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (25472 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v3.0.0/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (21333 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v3.11.0/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (24832 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v3.19.0/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (25424 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v3.20.0/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (25452 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v3.8.0/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (21369 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: compatibility/smoke/v32.1/legacy_gencode_test/proto3/Proto3GencodeTestProto.java (25457 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/BinaryReader.java (1720 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/ByteString.java (1867 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/CodedInputStream.java (2743 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/CodedOutputStream.java (2336 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/Descriptors.java (3780 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/FieldSet.java (1465 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/GeneratedMessage.java (3562 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/GeneratedMessageLite.java (1825 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/MessageSchema.java (4387 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/main/java/com/google/protobuf/TextFormat.java (3110 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/CodedInputStreamTest.java (1929 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/DescriptorsTest.java (1929 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/GeneratedMessageTest.java (2092 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/LargeEnumLiteTest.java (2053 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/LargeEnumTest.java (2110 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/MapForProto2Test.java (1251 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/MapTest.java (1629 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/TestUtil.java (4165 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/core/src/test/java/com/google/protobuf/TextFormatTest.java (2291 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/lite/src/test/java/com/google/protobuf/LiteTest.java (3155 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/util/src/main/java/com/google/protobuf/util/JsonFormat.java (2254 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: java/util/src/test/java/com/google/protobuf/util/JsonFormatTest.java (2325 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/descriptor.py (1663 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/descriptor_pool_test.py (1990 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/descriptor_test.py (2008 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/json_format_test.py (1987 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/message_test.py (3403 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/python_message.py (1773 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/reflection_test.py (3619 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/internal/text_format_test.py (3465 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: python/google/protobuf/text_format.py (2089 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ruby/src/main/java/com/google/protobuf/jruby/RubyMessage.java (1517 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/e1cb783f-3f7f-43d8-b2ed-ab3d67b65489/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/e1cb783f-3f7f-43d8-b2ed-ab3d67b65489/

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.