← Back to scan
File as GitHub Issue repo: protocolbuffers/protobuf

Push this scan report to protocolbuffers/protobuf

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

C Strcpy

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 [MINED107] Missing import: `string` used but not imported: The file uses `string.somethin… python/google/protobuf/internal/wire_fo…:159
CRIT MINED107 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… python/google/protobuf/descriptor_datab…:65
CRIT MINED107 [MINED107] Missing import: `enum` used but not imported: The file uses `enum.something(..… python/google/protobuf/descriptor_pool.…:1049
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. conformance/conformance_test_runner.cc:192
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. conformance/conformance_cpp.cc:139
CRIT MINED022 [MINED022] C Strcpy: strcpy/strcat dont bounds-check; use strncpy or snprintf. conformance/binary_wireformat.h:80
HIGH MINED041 [MINED041] Rust Unimplemented Macro: unimplemented!() panics. Same as todo!() but convent… rust/cord.rs:37
HIGH SEC032 [SEC032] Unrestricted File Upload — no extension/MIME validation: File upload accepts the… conformance/update_failure_list.py:52
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust/cpp_kernel/rust_alloc_for_cpp_api.…:17
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … rust/cpp_kernel/interop.rs:145
HIGH MINED003 [MINED003] Rust Unwrap In Prod: .unwrap() panics if None/Err. Acceptable in tests; risky … conformance/conformance_rust.rs:42
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… python/docs/generate_docs.py:143
HIGH MINED001 [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows e… conformance/conformance_python.py:31
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… objectivec/GPBWellKnownTypes.m:43
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… csharp/src/Google.Protobuf/WellKnownTyp…:20
HIGH SEC029 [SEC029] Server-Side Request Forgery (SSRF) — outbound HTTP from user input: Outbound HTT… conformance/binary_json_conformance_sui…:37
HIGH SEC131 [SEC131] Eval/exec on input — Stack Overflow snippet shape (AI copy-paste): eval/exec inv… cmake/dependencies_generator.py:155
HIGH SEC085 [SEC085] JS: child_process.exec with non-literal: child_process.exec with user-derived in… cmake/dependencies_generator.py:155
HIGH MINED034 [MINED034] Python Subprocess Shell True: subprocess(..., shell=True) enables command inje… benchmarks/compare.py:59
HIGH MINED115 [MINED115] Action `bazel-contrib/.github/.github/workflows/release_ruleset.yaml` pinned t… .github/workflows/release_bazel_module.…:19
HIGH MINED115 [MINED115] Action `bazel-contrib/publish-to-bcr/.github/workflows/publish.yaml` pinned to… .github/workflows/publish_to_bcr.yaml:25
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/google/protobuf/internal/testing…:95
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/google/protobuf/internal/python_…:585
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/google/protobuf/text_format.py:529
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/google/protobuf/descriptor_pool.…:660
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… python/google/protobuf/descriptor_pool.…:652
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… conformance/conformance_python.py:103
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… conformance/conformance_python.py:87
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… conformance/conformance_python.py:80
MED MINED111 [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that r… conformance/conformance_python.py:112
MED SEC112 [SEC112] Go html/template bypass — text/template used for HTML output, or template.HTML o… examples/go/cmd/list_people/list_people…:30
MED SEC123 [SEC123] Production stack trace / debug output exposed: Debug mode left on in production … conformance/conformance_test_runner.cc:184
MED SEC045 [SEC045] eval()/exec() on stored or user-supplied data: eval() and exec() on data — even … cmake/dependencies_generator.py:65
MED COMP001 [COMP001] High cognitive complexity: Function `do_test` has cognitive complexity 18 (Sona… conformance/conformance_python.py:54
MED SEC005 [SEC005] Command Injection Risk: Unsafe shell execution or eval of user input. benchmarks/compare.py:59
MED CORE_LARGE_FILES Average file size is 559 lines (recommend <300)
LOW SEC132 [SEC132] String concat where the language has interpolation (AI style drift): String buil… upb/bazel/private/oss/amalgamate.py:130
LOW COMP001 [COMP001] High cognitive complexity: Function `PromptForAddress` has cognitive complexity… examples/add_person.py:15
LOW COMP001 [COMP001] High cognitive complexity: Function `Benchmark` has cognitive complexity 9 (Son… benchmarks/compare.py:61
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/JsonFor…:58
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/IssuesT…:6
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Generat…:11
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Generat…:35
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/FieldCo…:3
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Equalit…:1
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Compati…:1
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Compati…:1
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Collect…:7
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/Collect…:5
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/CodedOu…:7
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/CodedIn…:51
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/CodedIn…:1
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test/ByteStr…:13
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:162
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:210
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:133
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:95
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:80
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:151
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:93
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:38
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:165
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:107
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:102
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:47
LOW AIC003 Duplicated implementation block across source files csharp/src/Google.Protobuf.Test.TestPro…:120
LOW AIC003 Duplicated implementation block across source files csharp/compatibility_tests/v3.0.0/src/G…:27
LOW AIC003 Duplicated implementation block across source files csharp/compatibility_tests/v3.0.0/src/G…:11
LOW AIC003 Duplicated implementation block across source files conformance/ConformanceJavaLite.java:23
LOW AIC002 Source file name looks like an AI patch artifact upb/wire/decode_fast/field_fixed.c:1
INFO MINED077 [MINED077] Python Open No Context: fp = open(path) outside with-block leaks file handles. upb/bazel/private/oss/amalgamate.py:73
INFO MINED059 [MINED059] Rust Expect In Prod: .expect(...) panics same as unwrap with a custom message. rust/upb_kernel/conversions.rs:68
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… rust/cpp_kernel/rust_alloc_for_cpp_api.…:18
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… rust/cpp_kernel/message.rs:242
INFO MINED068 [MINED068] Rust Unsafe Block: unsafe { ... } block. Compiler safety guarantees disabled i… rust/cpp_kernel/interop.rs:146
INFO MINED075 [MINED075] C Malloc No Check: malloc/calloc/realloc return value used without checking fo… ruby/ext/google/protobuf_c/protobuf.c:46
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … objectivec/GPBWellKnownTypes.m:154
INFO MINED045 [MINED045] Ts Non Null Assertion: x! asserts not null - bypasses null checks - TypeError … objectivec/GPBUnknownField.m:153
INFO MINED048 [MINED048] Php Error Suppress: @function() suppresses errors silently. Hides real issues. objectivec/GPBRootObject.m:196
INFO MINED042 [MINED042] Cpp New Without Delete: C++ raw new without RAII / unique_ptr — memory leak ri… hpb/extension.h:60
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. examples/list_people.dart:9
INFO MINED046 [MINED046] Dart Print: print() in Flutter goes to console. Use debugPrint / logger. examples/add_person.dart:8
INFO MINED080 [MINED080] Cpp Using Namespace Std: using namespace std; pollutes the global namespace. examples/list_people.cc:10
INFO MINED080 [MINED080] Cpp Using Namespace Std: using namespace std; pollutes the global namespace. examples/add_person.cc:11
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. java/osgi/OsgiWrapper.java:147
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. examples/ListPeople.java:44
INFO MINED085 [MINED085] Java Systemexit: System.exit() inside a library kills the whole JVM. examples/AddPerson.java:66
INFO MINED043 [MINED043] Http Not Https: Hardcoded http:// (not localhost) for endpoints that handle cr… csharp/build_tools.sh:43
INFO MINED069 [MINED069] Debug True Prod: Django/Flask DEBUG=True or app.debug=True in non-test files. conformance/conformance_test_runner.cc:184
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… rust/release_crates/protobuf_codegen/sr…:158
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… rust/protobuf_macros/proto_proc_macro_i…:88
INFO MINED066 [MINED066] Rust Panic Macro: panic!() unwinds the stack. Use Result for recoverable error… conformance/conformance_rust.rs:28
INFO MINED072 [MINED072] Python Pass Only Class: class Foo: pass — stub waiting to be filled in. conformance/conformance_python.py:31
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… conformance/conformance_python.py:32
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… cmake/dependencies_generator.py:30
INFO MINED050 [MINED050] Stub Only Function: Function declared but body is just pass, return None, rais… benchmarks/compare.py:103
Reset to top 5 96 findings available (after auto-suppression of test files + won't-fix)

Issue body (markdown)

## Code-quality scan: `protocolbuffers/protobuf`

**Score: 85/100 (B+)**  ·  196 findings  ·  scanned 2026-06-05 08:30 UTC  ·  928,086 LOC

| Severity | Count |
|---|---|
| CRITICAL | 6 |
| HIGH | 15 |
| MEDIUM | 15 |
| LOW | 34 |

📊 [Full filterable report](https://repobility.com/scan/e1cb783f-3f7f-43d8-b2ed-ab3d67b65489/)  ·  ![scorecard](https://repobility.com/scan/e1cb783f-3f7f-43d8-b2ed-ab3d67b65489/report.png?v=1780648209-s2)

### Top findings

1. **CRITICAL** `MINED107` — Missing import: `string` used but not imported
   `python/google/protobuf/internal/wire_format.py:159` · ✓ Repobility
2. **CRITICAL** `MINED107` — Missing import: `enum` used but not imported
   `python/google/protobuf/descriptor_database.py:65` · ✓ Repobility
3. **CRITICAL** `MINED107` — Missing import: `enum` used but not imported
   `python/google/protobuf/descriptor_pool.py:1049` · ✓ Repobility
4. **CRITICAL** `MINED022` — C Strcpy
   `conformance/conformance_test_runner.cc:192` · CWE-120 · ✓ Repobility
5. **CRITICAL** `MINED022` — C Strcpy
   `conformance/conformance_cpp.cc:139` · CWE-120 · ✓ Repobility

---

_Filed automatically. Close this issue if not useful — we won't refile. Full report: https://repobility.com/scan/e1cb783f-3f7f-43d8-b2ed-ab3d67b65489/_
Already filed
This repo publishes a SECURITY.md policy and the scan contains 6 Critical/High security finding(s). Public issue filing would violate coordinated disclosure. Submit privately via the project's security reporting channel.
Megaproject â high spam risk
Could not determine 'protocolbuffers/protobuf' 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
119/203 findings (59%) 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.