RepoTrust

rbgirshick/py-faster-rcnn

Faster R-CNN (Python implementation) -- see https://github.com/ShaoqingRen/faster_rcnn for the official MATLAB version

https://github.com/rbgirshick/py-faster-rcnn · commit 781a917b378d · scored 2026-11-13 · scoring prov-4+qual-2+sec-2

RepoTrust ai badge RepoTrust quality badge RepoTrust security badge

Dispute this score or request a re-score Full report JSON

Scores

Pillar Score Signal Confidence Coverage
AI provenance (estimated AI-generated share) 0 none-detected 65% 100%
Code quality 47 poor 90% 100%
Security 66 weak 85% 100%

AI provenance

No AI attribution or AI-consistent velocity signals detected.

Month Lines added Attributed to AI
2015-02 1,268 0%
2015-03 1,967 0%
2015-04 2,652 0%
2015-05 17 0%
2015-08 2,081 0%
2015-10 8 0%
2015-12 51 0%
2016-01 1 0%
2016-02 15,483 0%
2016-03 3 0%
2017-04 3 0%

Evidence

AI provenance describes how code was produced; it is not a quality judgment. Unless attribution is explicit, these are signals consistent with AI generation, not proof. Squash/rebase workflows, imported code, and rewritten history reduce accuracy.

Code quality

Code quality is poor: test-to-source ratio 0.01, no CI test run detected; 15% of function code in complex or long functions; 12% duplicated lines. Weakest area: testing.

Area Score
Complexity (lizard) 64
Duplication 48
Code smells (Opengrep) 41
Tests and CI 30
Documentation 65
Type safety 40
Process (Scorecard review/maintenance) n/a

Most complex functions:

Security

Security posture is weak: 5 high-severity SAST findings. Weakest area: posture.

Area Score
Secrets (gitleaks, tree + history) 100
Static analysis (Opengrep) 57
Vulnerable dependencies (OSV) n/a
CI workflows (zizmor) n/a
Posture (policy, updates, signing, lockfiles) 0
OpenSSF Scorecard n/a

Top findings

Severity Finding Location
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] lib/datasets/pascal_voc.py:11
high opengrep/python.lang.security.use-defused-xml-parse: The native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. Do not use this library to parse untrusted input. Instead the Python documentation recommends using defusedxml. [confidence medium] lib/datasets/pascal_voc.py:186
high opengrep/python.lang.security.audit.dangerous-subprocess-use-audit: Detected subprocess function 'call' without a static string. If this data can be controlled by a malicious actor, it may be an instance of command injection. Audit the use of this call to ensure it is not controllable by an external resource. You may consider using 'shlex.escape()'. [confidence low] lib/datasets/pascal_voc.py:318
high opengrep/python.lang.security.use-defused-xml: The Python documentation recommends using defusedxml instead of xml because the native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. [confidence low] lib/datasets/voc_eval.py:7
high opengrep/python.lang.security.use-defused-xml-parse: The native Python xml library is vulnerable to XML External Entity (XXE) attacks. These attacks can leak confidential data and "XML bombs" can cause denial of service. Do not use this library to parse untrusted input. Instead the Python documentation recommends using defusedxml. [confidence medium] lib/datasets/voc_eval.py:14
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/coco.py:143
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/coco.py:157
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/coco.py:216
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/coco.py:224
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/coco.py:333
medium opengrep/python.lang.security.audit.eval-detected: Detected the use of eval(). eval() can be dangerous if used to evaluate dynamic content. If this content can be input from outside the program, this may be a code injection vulnerability. Ensure evaluated content is not definable by external sources. [confidence low] lib/datasets/imdb.py:55
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/pascal_voc.py:102
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/pascal_voc.py:109
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/pascal_voc.py:126
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/pascal_voc.py:137
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/pascal_voc.py:158
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/pascal_voc.py:289
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/voc_eval.py:116
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/datasets/voc_eval.py:120
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] lib/fast_rcnn/test.py:292
medium opengrep/python.lang.security.audit.dynamic-urllib-use-detected: Detected a dynamic value being used with urllib. urllib supports 'file://' schemes, so a dynamic value controlled by a malicious actor may allow them to read arbitrary files. Audit uses of urllib calls to ensure user data cannot control the URLs, or consider using the 'requests' library instead. [confidence low] lib/pycocotools/coco.py:350
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] tools/reval.py:50
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] tools/rpn_generate.py:90
medium opengrep/python.lang.security.deserialization.avoid-cPickle: Avoid using cPickle, which is known to lead to code execution vulnerabilities. When unpickling, the serialized data could be manipulated to run arbitrary code. Instead, consider serializing the relevant data as JSON or a similar text-based serialization format. [confidence low] tools/train_faster_rcnn_alt_opt.py:169

Static signals only: the scorer never runs the project's code. Secret findings are pattern matches that were not verified, and secret values are never stored.

Distribution signals

Signals consistent with a repository that exists to distribute a download. They are heuristics, not a verdict; release files were not downloaded or inspected.

Repository profile

Language Lines
Python 6,210
Shell 295
C 263
Objective-C 80
C++ 2

Embed a badge

Maintainers can show these in a README. Badges update when the repository is re-scored.

[![RepoTrust ai](https://repotrust.synapticcyber.com/badge/github.com/rbgirshick/py-faster-rcnn/ai.svg)](https://repotrust.synapticcyber.com/r/github.com/rbgirshick/py-faster-rcnn/)
[![RepoTrust quality](https://repotrust.synapticcyber.com/badge/github.com/rbgirshick/py-faster-rcnn/quality.svg)](https://repotrust.synapticcyber.com/r/github.com/rbgirshick/py-faster-rcnn/)
[![RepoTrust security](https://repotrust.synapticcyber.com/badge/github.com/rbgirshick/py-faster-rcnn/security.svg)](https://repotrust.synapticcyber.com/r/github.com/rbgirshick/py-faster-rcnn/)