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.
242 of your 411 findings came from Repobility's proprietary detections. ✓ Repobility tags below mark them.
Upstream (GitHub) caused delay on this scan — not Repobility.
  • GitHub API rate-limited (HTTP 403) — preflight skipped, fell back to direct git clone.
  • Clone from GitHub took 113.84s for a 145.7 MB repo slow.
  • Repobility's analysis ran in 14.61s after the clone landed.

PaddlePaddle/PaddleOCR

https://github.com/PaddlePaddle/PaddleOCR · scanned 2026-06-04 23:21 UTC (9 hours, 28 minutes ago) · 10 languages

1202 findings (366 legacy + 836 scanner) 11/13 scanners ran 58th percentile · Python · large (100-500K LoC) Scanner says 69 (higher by 6)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 9 hours, 26 minutes ago · v4 · 575 findings from 2 sources. Findings combine the legacy security pipeline AND the multi-layer engine (atlas, wiring, flows, ranked) AND verified AI agent contributions.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 60.0 0.15 9.00
security_score 100.0 0.25 25.00
testing_score 66.0 0.20 13.20
documentation_score 70.0 0.15 10.50
practices_score 74.0 0.15 11.10
code_quality 63.0 0.10 6.30
Overall 1.00 75.1
security_score may be inflated — optional security scanners were skipped on this fast scan
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Repository scanned at 68.7/100 with 88.9% coverage. It contains 5832 nodes across 4 cross-layer flows, written primarily in mixed languages. Engine surfaced 209 findings — concentrated in software (67), security (63), quality (61). Risk profile is high: 0 critical, 60 high, 13 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

Showing 478 of 575 findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical Legacy quality quality conf 1.00 ✓ Repobility [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLoader) / unmarshal of network/file data — RCE.
Review and fix per the pattern semantics. See CWE-502 / A08:2021 for context.
paddleocr-js/packages/core/src/models/common.ts:38 qualitylegacy
critical Legacy quality quality conf 1.00 ✓ Repobility [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLoader) / unmarshal of network/file data — RCE.
Review and fix per the pattern semantics. See CWE-502 / A08:2021 for context.
configs/rec/multi_language/generate_multi_language_configs.py:133 qualitylegacy
critical Legacy quality quality conf 1.00 ✓ Repobility [MINED018] Unsafe Deserialization Pickle: pickle.loads / yaml.load (without Loader=SafeLoader) / unmarshal of network/file data — RCE.
Review and fix per the pattern semantics. See CWE-502 / A08:2021 for context.
benchmark/PaddleOCR_DBNet/utils/util.py:284 qualitylegacy
critical Legacy quality quality conf 1.00 ✓ Repobility [MINED030] Python Pickle Loads: pickle.loads() can execute arbitrary code via __reduce__.
Review and fix per the pattern semantics. See CWE-502 / for context.
ppocr/losses/center_loss.py:46 qualitylegacy
critical Legacy quality quality conf 1.00 ✓ Repobility [MINED030] Python Pickle Loads: pickle.loads() can execute arbitrary code via __reduce__.
Review and fix per the pattern semantics. See CWE-502 / for context.
ppocr/data/lmdb_dataset.py:41 qualitylegacy
critical Legacy quality quality conf 1.00 ✓ Repobility [MINED030] Python Pickle Loads: pickle.loads() can execute arbitrary code via __reduce__.
Review and fix per the pattern semantics. See CWE-502 / for context.
ppocr/data/latexocr_dataset.py:48 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED107] Missing import: `array` used but not imported: The file uses `array.something(...)` but never imports `array`. This raises NameError at runtime the first time the line executes.
Add `import array` at the top of the file.
ppocr/data/imaug/unimernet_aug.py:120 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED107] Missing import: `html` used but not imported: The file uses `html.something(...)` but never imports `html`. This raises NameError at runtime the first time the line executes.
Add `import html` at the top of the file.
tools/end2end/draw_html.py:41 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED107] Missing import: `string` used but not imported: The file uses `string.something(...)` but never imports `string`. This raises NameError at runtime the first time the line executes.
Add `import string` at the top of the file.
ppstructure/table/tablepyxl/style.py:42 qualitylegacy
critical Legacy quality quality conf 1.00 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader can execute arbitrary Python objects (CVE-2017-18342). Ported from bandit B506 / dlint DUO109 (Apache-2.0 / BSD-3).
Use `yaml.safe_load(data)` or `yaml.load(data, Loader=yaml.SafeLoader)`.
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:81 qualitylegacy
critical Legacy quality quality conf 1.00 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader can execute arbitrary Python objects (CVE-2017-18342). Ported from bandit B506 / dlint DUO109 (Apache-2.0 / BSD-3).
Use `yaml.safe_load(data)` or `yaml.load(data, Loader=yaml.SafeLoader)`.
paddleocr-js/packages/core/src/models/common.ts:38 qualitylegacy
critical Legacy quality quality conf 1.00 [SEC079] Python: yaml.load without SafeLoader: yaml.load() without explicit SafeLoader can execute arbitrary Python objects (CVE-2017-18342). Ported from bandit B506 / dlint DUO109 (Apache-2.0 / BSD-3).
Use `yaml.safe_load(data)` or `yaml.load(data, Loader=yaml.SafeLoader)`.
configs/rec/multi_language/generate_multi_language_configs.py:133 qualitylegacy
critical Legacy quality quality conf 1.00 [SEC081] Python: pickle.loads / marshal.loads on untrusted data: pickle.load(s) and marshal.load(s) execute arbitrary code on untrusted input. Ported from dlint DUO103 / DUO120 (BSD-3).
Use json, msgpack, or protobuf for untrusted data. If pickle is required, sign the payload with HMAC.
ppstructure/table/eval_table.py:56 qualitylegacy
critical Legacy quality quality conf 1.00 [SEC081] Python: pickle.loads / marshal.loads on untrusted data: pickle.load(s) and marshal.load(s) execute arbitrary code on untrusted input. Ported from dlint DUO103 / DUO120 (BSD-3).
Use json, msgpack, or protobuf for untrusted data. If pickle is required, sign the payload with HMAC.
ppocr/losses/center_loss.py:46 qualitylegacy
critical Legacy security deserialization conf 1.00 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Marshal.load` instantiate arbitrary Ruby classes — direct RCE on untrusted input. `unsafe_load` is even more dangerous.
Use `YAML.safe_load(input, permitted_classes: [Date])` — explicit class allowlist. Never use `Marshal.load` on untrusted data; serialize as JSON instead.
paddleocr-js/packages/core/src/models/common.ts:38 deserializationlegacy
critical Legacy security deserialization conf 1.00 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Marshal.load` instantiate arbitrary Ruby classes — direct RCE on untrusted input. `unsafe_load` is even more dangerous.
Use `YAML.safe_load(input, permitted_classes: [Date])` — explicit class allowlist. Never use `Marshal.load` on untrusted data; serialize as JSON instead.
configs/rec/multi_language/generate_multi_language_configs.py:133 deserializationlegacy
critical Legacy security deserialization conf 1.00 [SEC116] Ruby YAML.load / Marshal.load on untrusted input: `YAML.load` (pre-3.1) and `Marshal.load` instantiate arbitrary Ruby classes — direct RCE on untrusted input. `unsafe_load` is even more dangerous.
Use `YAML.safe_load(input, permitted_classes: [Date])` — explicit class allowlist. Never use `Marshal.load` on untrusted data; serialize as JSON instead.
benchmark/PaddleOCR_DBNet/utils/util.py:284 deserializationlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/metax-gpu/compose.yaml:27 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/metax-gpu/compose.yaml:1 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/compose.yaml:19 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/compose.yaml:1 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:26 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:1 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/compose.yaml:31 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/compose.yaml:1 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/huawei-npu/compose.yaml:23 dockerlegacy
critical Legacy cicd docker conf 0.98 Compose service runs privileged
Remove privileged mode. Add the single capability, device, or mount that is actually required.
deploy/paddleocr_vl_docker/accelerators/huawei-npu/compose.yaml:1 dockerlegacy
low Legacy quality quality conf 1.00 ✓ Repobility [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows everything including KeyboardInterrupt and bugs.
Review and fix per the pattern semantics. See CWE-755 / for context.
ppocr/data/simple_dataset.py:82 qualitylegacy
low Legacy quality quality conf 1.00 ✓ Repobility [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows everything including KeyboardInterrupt and bugs.
Review and fix per the pattern semantics. See CWE-755 / for context.
paddleocr/_cli.py:141 qualitylegacy
low Legacy quality quality conf 1.00 ✓ Repobility [MINED001] Bare Except Pass: except: pass or except Exception: pass — silently swallows everything including KeyboardInterrupt and bugs.
Review and fix per the pattern semantics. See CWE-755 / for context.
benchmark/PaddleOCR_DBNet/utils/metrics.py:30 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED006] Overcatch Baseexception: except BaseException: ... — prevents Ctrl+C and SystemExit from working.
Review and fix per the pattern semantics. See CWE-705 / for context.
ppocr/postprocess/ct_postprocess.py:145 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can contain "../" — directory escape.
Review and fix per the pattern semantics. See CWE-22 / A01:2021 for context.
ppocr/utils/network.py:27 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can contain "../" — directory escape.
Review and fix per the pattern semantics. See CWE-22 / A01:2021 for context.
ppocr/utils/gen_label.py:35 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED021] Path Traversal Os Join: os.path.join(user_dir, filename) where filename can contain "../" — directory escape.
Review and fix per the pattern semantics. See CWE-22 / A01:2021 for context.
benchmark/PaddleOCR_DBNet/tools/predict.py:153 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED106] Phantom test coverage: test_reader: Test function `test_reader` runs code but contains no assert / expect / should call — it passes regardless of behaviour. Adds line coverage without verifying anything.
Add an explicit assertion that captures the test's intent, or remove the test.
tools/train.py:248 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._epsilon` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._epsilon`, 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.
Initialize `self._epsilon = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:98 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._filter_text_res` used but never assigned in __init__: Method `__call__` of class `StructureSystem` reads `self._filter_text_res`, 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.
Initialize `self._filter_text_res = <default>` in __init__, or add a class-level default.
ppstructure/predict_system.py:179 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._get_fps` used but never assigned in __init__: Method `analysis` of class `TimeAnalyzer` reads `self._get_fps`, 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.
Initialize `self._get_fps = <default>` in __init__, or add a class-level default.
benchmark/analysis.py:226 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._get_fps` used but never assigned in __init__: Method `analysis` of class `TimeAnalyzer` reads `self._get_fps`, 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.
Initialize `self._get_fps = <default>` in __init__, or add a class-level default.
benchmark/analysis.py:223 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._has_intersection` used but never assigned in __init__: Method `_filter_text_res` of class `StructureSystem` reads `self._has_intersection`, 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.
Initialize `self._has_intersection = <default>` in __init__, or add a class-level default.
ppstructure/predict_system.py:260 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._mean` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._mean`, 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.
Initialize `self._mean = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:105 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._mean` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._mean`, 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.
Initialize `self._mean = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:104 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._momentum` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._momentum`, 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.
Initialize `self._momentum = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:91 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._momentum` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._momentum`, 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.
Initialize `self._momentum = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:72 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._parse_opt` used but never assigned in __init__: Method `parse_args` of class `ArgsParser` reads `self._parse_opt`, 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.
Initialize `self._parse_opt = <default>` in __init__, or add a class-level default.
tools/program.py:61 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._parse_opt` used but never assigned in __init__: Method `parse_args` of class `ReArgsParser` reads `self._parse_opt`, 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.
Initialize `self._parse_opt = <default>` in __init__, or add a class-level default.
tools/infer_kie_token_ser_re.py:60 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._predict_text` used but never assigned in __init__: Method `__call__` of class `StructureSystem` reads `self._predict_text`, 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.
Initialize `self._predict_text = <default>` in __init__, or add a class-level default.
ppstructure/predict_system.py:145 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._variance` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._variance`, 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.
Initialize `self._variance = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:107 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self._variance` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self._variance`, 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.
Initialize `self._variance = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:106 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self.bias` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self.bias`, 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.
Initialize `self.bias = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:100 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self.training` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self.training`, 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.
Initialize `self.training = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:56 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED108] `self.weight` used but never assigned in __init__: Method `forward` of class `NaiveSyncBatchNorm` reads `self.weight`, 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.
Initialize `self.weight = <default>` in __init__, or add a class-level default.
tools/naive_sync_bn.py:99 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED110] Blocking call `urllib.request.Request` inside async function `_check_vlm_ready`: `urllib.request.Request` is a synchronous (blocking) call. When invoked inside an `async def` it stalls the event loop, preventing every other coroutine in the process from making progress.
Use the async equivalent: `aiohttp` instead of `requests`, `asyncio.sleep` instead of `time.sleep`, `aiofiles` instead of `open`.
deploy/paddleocr_vl_docker/hps/gateway/app.py:149 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED110] Blocking call `urllib.request.urlopen` inside async function `_check_vlm_ready`: `urllib.request.urlopen` is a synchronous (blocking) call. When invoked inside an `async def` it stalls the event loop, preventing every other coroutine in the process from making progress.
Use the async equivalent: `aiohttp` instead of `requests`, `asyncio.sleep` instead of `time.sleep`, `aiofiles` instead of `open`.
deploy/paddleocr_vl_docker/hps/gateway/app.py:151 qualitylegacy
high Legacy quality quality conf 0.80 ✓ Repobility [MINED112] FastAPI POST /layout-parsing has no auth: Handler `_handle_infer` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
Add Depends(get_current_user) or Security(...) to the handler signature. If the route is truly public, document it with a code comment so the rule knows it's intentional.
deploy/paddleocr_vl_docker/hps/gateway/app.py:333 qualitylegacy
high Legacy quality quality conf 0.80 ✓ Repobility [MINED112] FastAPI POST /restructure-pages has no auth: Handler `_handle_restructure_pages` is registered with router/app.post(...) but no Depends/Security parameter is declared and no auth marker appears in the function body.
Add Depends(get_current_user) or Security(...) to the handler signature. If the route is truly public, document it with a code comment so the rule knows it's intentional.
deploy/paddleocr_vl_docker/hps/gateway/app.py:349 qualitylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/cache@<40-char-sha> # v5` and let Dependabot bump it on a scheduled cadence.
.github/workflows/docs_anchor_check.yml:22 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/cache@<40-char-sha> # v5` and let Dependabot bump it on a scheduled cadence.
.github/workflows/build_publish_release_docs.yml:22 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/cache@<40-char-sha> # v5` and let Dependabot bump it on a scheduled cadence.
.github/workflows/codestyle.yml:22 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/cache` pinned to mutable ref `@v5`: `uses: actions/cache@v5` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/cache@<40-char-sha> # v5` and let Dependabot bump it on a scheduled cadence.
.github/workflows/build_publish_develop_docs.yml:22 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/checkout@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/docs_anchor_check.yml:15 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/checkout@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/build_publish_release_docs.yml:13 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/checkout@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/link_check.yml:16 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/checkout@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/codestyle.yml:13 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/checkout@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/build_publish_develop_docs.yml:13 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/checkout` pinned to mutable ref `@v6`: `uses: actions/checkout@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/checkout@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/python_publish.yml:24 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setup-python@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/setup-python@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/docs_anchor_check.yml:18 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setup-python@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/setup-python@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/build_publish_release_docs.yml:18 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setup-python@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/setup-python@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/link_check.yml:17 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setup-python@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/setup-python@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/codestyle.yml:16 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setup-python@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/setup-python@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/build_publish_develop_docs.yml:18 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/setup-python` pinned to mutable ref `@v6`: `uses: actions/setup-python@v6` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/setup-python@<40-char-sha> # v6` and let Dependabot bump it on a scheduled cadence.
.github/workflows/python_publish.yml:26 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED115] Action `actions/stale` pinned to mutable ref `@v10`: `uses: actions/stale@v10` resolves at workflow-run time. Tags and branches can be re-pushed by the action owner; that made the tj-actions/changed-files compromise (2025) instantly affect ~23K repos. Pin to a 40-char commit SHA + lock with Dependabot or renovate.
Replace with: `uses: actions/stale@<40-char-sha> # v10` and let Dependabot bump it on a scheduled cadence.
.github/workflows/close_inactive_issues.yml:13 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:3.3.0` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:3.3.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:3.3.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/pipeline.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:paddle-ocr-vl-1107` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:paddle-ocr-vl-1107` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-ixuca:paddle-ocr-vl-1107@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/vlm.Dockerfile:4 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-npu:cann800-ubuntu20-npu-910b-base-aarch64-gcc84` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-npu:cann800-ubuntu20-npu-910b-base-aarch64-gcc84` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-npu:cann800-ubuntu20-npu-910b-base-aarch64-gcc84@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/huawei-npu/pipeline.Dockerfile:10 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-npu:cann800-ubuntu20-npu-910b-base-x86_64-gcc84` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-npu:cann800-ubuntu20-npu-910b-base-x86_64-gcc84` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-npu:cann800-ubuntu20-npu-910b-base-x86_64-gcc84@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/huawei-npu/pipeline.Dockerfile:4 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/device/paddle-xpu:ubuntu20-x86_64-gcc84-py310@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/pipeline.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-cuda-12.6:2.3.0` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-cuda-12.6:2.3.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-cuda-12.6:2.3.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/vlm.Dockerfile:5 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.3.0` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.3.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/fastdeploy-xpu:2.3.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/vlm.Dockerfile:4 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.04.1-kylinv10-gcc82` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.04.1-kylinv10-gcc82` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddle-dcu:dtk24.04.1-kylinv10-gcc82@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/pipeline.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-fastdeploy-metax-gpu:2.3.0` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-fastdeploy-metax-gpu:2.3.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-fastdeploy-metax-gpu:2.3.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/metax-gpu/vlm.Dockerfile:4 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-genai-vllm-server:latest-sm120` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-genai-vllm-server:latest-sm120` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-genai-vllm-server:latest-sm120@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu-sm120/vlm.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-genai-vllm-server:latest` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-genai-vllm-server:latest` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-genai-vllm-server:latest@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/vlm.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-paddle-metax-gpu:3.3.0` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-paddle-metax-gpu:3.3.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-paddle-metax-gpu:3.3.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/metax-gpu/pipeline.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-vllm-huawei-npu:0.12.0rc1` not pinned by digest: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-vllm-huawei-npu:0.12.0rc1` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM ccr-2vdh3abv-pub.cnc.bj.baidubce.com/paddlepaddle/paddlex-vllm-huawei-npu:0.12.0rc1@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/huawei-npu/vlm.Dockerfile:4 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `image.sourcefind.cn:5000` not pinned by digest: `FROM image.sourcefind.cn:5000` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM image.sourcefind.cn:5000@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/vlm.Dockerfile:4 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `intel/llm-scaler-vllm:0.11.1-b7` not pinned by digest: `FROM intel/llm-scaler-vllm:0.11.1-b7` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM intel/llm-scaler-vllm:0.11.1-b7@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/intel-gpu/pipeline.Dockerfile:1 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `intel/llm-scaler-vllm:0.11.1-b7` not pinned by digest: `FROM intel/llm-scaler-vllm:0.11.1-b7` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM intel/llm-scaler-vllm:0.11.1-b7@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/intel-gpu/vlm.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `python:3.10-slim` not pinned by digest: `FROM python:3.10-slim` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM python:3.10-slim@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/hps/gateway.Dockerfile:1 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `python:3.10` not pinned by digest: `FROM python:3.10` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM python:3.10@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu-sm120/pipeline.Dockerfile:1 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `python:3.10` not pinned by digest: `FROM python:3.10` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM python:3.10@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/pipeline.Dockerfile:1 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `registry.baidubce.com/paddlepaddle/paddle:2.0.0-gpu-cuda10.1-cudnn7` not pinned by digest: `FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0-gpu-cuda10.1-cudnn7` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0-gpu-cuda10.1-cudnn7@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/docker/hubserving/gpu/Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `registry.baidubce.com/paddlepaddle/paddle:2.0.0` not pinned by digest: `FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM registry.baidubce.com/paddlepaddle/paddle:2.0.0@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/docker/hubserving/cpu/Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `rocm/vllm-dev:nightly_main_20260125` not pinned by digest: `FROM rocm/vllm-dev:nightly_main_20260125` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM rocm/vllm-dev:nightly_main_20260125@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/amd-gpu/vlm.Dockerfile:2 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED118] Dockerfile FROM `vivienfanghua/vllm_paddle:base` not pinned by digest: `FROM vivienfanghua/vllm_paddle:base` resolves the tag at build time. The registry CAN re-push a different image for the same tag, so every build is potentially different. Production images should pin to `image@sha256:...` for reproducibility + supply-chain integrity.
Replace with: `FROM vivienfanghua/vllm_paddle:base@sha256:<digest>`. Get the digest from `docker manifest inspect`. Re-pin via a scheduled bot (Renovate, Dependabot).
deploy/paddleocr_vl_docker/accelerators/amd-gpu/pipeline.Dockerfile:1 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED131] pre-commit hook `https://github.com/Lucas-C/pre-commit-hooks` pinned to mutable rev `v1.5.5`: `.pre-commit-config.yaml` references `https://github.com/Lucas-C/pre-commit-hooks` at `rev: v1.5.5`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
Pin to a commit SHA: `rev: <40-char-sha>` and bump it through `pre-commit autoupdate` (which writes to PRs that are reviewed).
.pre-commit-config.yaml:15 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED131] pre-commit hook `https://github.com/pre-commit/pre-commit-hooks` pinned to mutable rev `v5.0.0`: `.pre-commit-config.yaml` references `https://github.com/pre-commit/pre-commit-hooks` at `rev: v5.0.0`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
Pin to a commit SHA: `rev: <40-char-sha>` and bump it through `pre-commit autoupdate` (which writes to PRs that are reviewed).
.pre-commit-config.yaml:3 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED131] pre-commit hook `https://github.com/psf/black.git` pinned to mutable rev `24.10.0`: `.pre-commit-config.yaml` references `https://github.com/psf/black.git` at `rev: 24.10.0`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
Pin to a commit SHA: `rev: <40-char-sha>` and bump it through `pre-commit autoupdate` (which writes to PRs that are reviewed).
.pre-commit-config.yaml:30 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED131] pre-commit hook `https://github.com/pycqa/flake8` pinned to mutable rev `7.1.1`: `.pre-commit-config.yaml` references `https://github.com/pycqa/flake8` at `rev: 7.1.1`. If `{rev}` is a branch or version tag, the repo owner can push new code there and `pre-commit install --install-hooks` will fetch it on every developer's machine.
Pin to a commit SHA: `rev: <40-char-sha>` and bump it through `pre-commit autoupdate` (which writes to PRs that are reviewed).
.pre-commit-config.yaml:37 dependencylegacy
high Legacy software dependency conf 0.90 ✓ Repobility [MINED134] Binary file `deploy/android_demo/gradle/wrapper/gradle-wrapper.jar` committed in source repo: `deploy/android_demo/gradle/wrapper/gradle-wrapper.jar` is a .jar binary (54,329 bytes) committed to a repo that otherwise has 801 source files. Trojan binaries inside otherwise-normal source repos are a known supply-chain attack: a compromised dependency or PR slips in a binary that gets executed by build scripts.
Audit the binary's provenance. If it's vendored library code, document it in a VENDORED.md. If it's a build artifact, add the extension to .gitignore and rebuild from source.
deploy/android_demo/gradle/wrapper/gradle-wrapper.jar:1 dependencylegacy
high Legacy 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.
ppocr/utils/gen_label.py:35 path_traversallegacy
high Legacy 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.
deploy/slim/quantization/quant_kl.py:145 path_traversallegacy
high Legacy 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.
benchmark/PaddleOCR_DBNet/tools/infer.py:58 path_traversallegacy
high Legacy security path_traversal conf 1.00 [SEC114] path.join / Path() on user-controlled segment without containment check: filepath.Clean / path.Join on attacker-supplied segments does NOT prevent escape from the base directory. `../../../etc/passwd` resolves cleanly.
After joining, re-check containment: `if !strings.HasPrefix(filepath.Clean(joined), filepath.Clean(baseDir)+string(os.PathSeparator)) { error }`. In Node: `path.resolve(base, x); if (!resolved.startsWith(base + path.sep)) throw`.
ppocr/utils/gen_label.py:35 path_traversallegacy
high Legacy security path_traversal conf 1.00 [SEC114] path.join / Path() on user-controlled segment without containment check: filepath.Clean / path.Join on attacker-supplied segments does NOT prevent escape from the base directory. `../../../etc/passwd` resolves cleanly.
After joining, re-check containment: `if !strings.HasPrefix(filepath.Clean(joined), filepath.Clean(baseDir)+string(os.PathSeparator)) { error }`. In Node: `path.resolve(base, x); if (!resolved.startsWith(base + path.sep)) throw`.
deploy/slim/quantization/quant_kl.py:145 path_traversallegacy
high Legacy security path_traversal conf 1.00 [SEC114] path.join / Path() on user-controlled segment without containment check: filepath.Clean / path.Join on attacker-supplied segments does NOT prevent escape from the base directory. `../../../etc/passwd` resolves cleanly.
After joining, re-check containment: `if !strings.HasPrefix(filepath.Clean(joined), filepath.Clean(baseDir)+string(os.PathSeparator)) { error }`. In Node: `path.resolve(base, x); if (!resolved.startsWith(base + path.sep)) throw`.
benchmark/PaddleOCR_DBNet/tools/infer.py:58 path_traversallegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu-sm120/compose.yaml:26 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu-sm120/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/compose.yaml:26 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/metax-gpu/compose.yaml:27 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/metax-gpu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/compose.yaml:19 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/intel-gpu/compose.yaml:21 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/intel-gpu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:26 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/compose.yaml:31 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/huawei-npu/compose.yaml:23 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/huawei-npu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/amd-gpu/compose.yaml:28 dockerlegacy
high Legacy cicd docker conf 0.92 Compose service explicitly runs as root
Run as a numeric non-root UID, or if root is needed for startup, drop privileges before starting the app process.
deploy/paddleocr_vl_docker/accelerators/amd-gpu/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.90 Compose service joins the host PID namespace
Use the default bridge network and explicit ports, or document and isolate the exceptional host requirement.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:26 dockerlegacy
high Legacy cicd docker conf 0.90 Compose service joins the host PID namespace
Use the default bridge network and explicit ports, or document and isolate the exceptional host requirement.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:1 dockerlegacy
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/amd-gpu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/huawei-npu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/hygon-dcu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/intel-gpu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/kunlunxin-xpu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/metax-gpu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/nvidia-gpu-sm120/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer security secrets conf 1.00 .env file present in repo: deploy/paddleocr_vl_docker/accelerators/nvidia-gpu/.env
A raw .env file is in the working tree. Verify it isn't committed and that secrets are in a vault.
secretsconfig
high 9-layer quality integrity conf 1.00 Blocking `urllib.request.urlopen(...)` inside `async def _check_vlm_ready` — deploy/paddleocr_vl_docker/hps/gateway/app.py:151
Sync I/O inside an async function blocks the event loop. While `urllib.request.urlopen(...)` is running, *all* other coroutines on this loop are paused — silent throughput collapse under concurrency. Use the async equivalent (`httpx.AsyncClient`, `asyncio.sleep`, `aiofiles`) or wrap with `await asy…
deploy/paddleocr_vl_docker/hps/gateway/app.py:151 integritysync-io-in-asyncperformance
high 9-layer security auth conf 1.00 FastAPI POST `_handle_infer` without auth dependency — deploy/paddleocr_vl_docker/hps/gateway/app.py:327
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
deploy/paddleocr_vl_docker/hps/gateway/app.py:327 authowaspauth.fastapi.unauth_mutation
high 9-layer security auth conf 1.00 FastAPI POST `_handle_restructure_pages` without auth dependency — deploy/paddleocr_vl_docker/hps/gateway/app.py:343
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
deploy/paddleocr_vl_docker/hps/gateway/app.py:343 authowaspauth.fastapi.unauth_mutation
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/base/base_dataset.py:43
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/base/base_dataset.py:43 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/data_loader/__init__.py:89
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/data_loader/__init__.py:89 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/models/__init__.py:21
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/models/__init__.py:21 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/models/backbone/__init__.py:24
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/models/backbone/__init__.py:24 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/models/head/__init__.py:12
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/models/head/__init__.py:12 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/models/losses/__init__.py:15
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/models/losses/__init__.py:15 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/models/neck/__init__.py:12
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/models/neck/__init__.py:12 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/post_processing/__init__.py:10
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/post_processing/__init__.py:10 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/tools/export_model.py:36
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/tools/export_model.py:36 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/tools/predict.py:62
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/tools/predict.py:62 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/trainer/trainer.py:148
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/trainer/trainer.py:148 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in benchmark/PaddleOCR_DBNet/utils/ocr_metric/__init__.py:14
Found a known-risky pattern (eval_used). Review and replace if possible.
benchmark/PaddleOCR_DBNet/utils/ocr_metric/__init__.py:14 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in deploy/slim/prune/export_prune_model.py:71
Found a known-risky pattern (eval_used). Review and replace if possible.
deploy/slim/prune/export_prune_model.py:71 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in deploy/slim/prune/sensitivity_anal.py:125
Found a known-risky pattern (eval_used). Review and replace if possible.
deploy/slim/prune/sensitivity_anal.py:125 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in deploy/slim/quantization/export_model.py:145
Found a known-risky pattern (eval_used). Review and replace if possible.
deploy/slim/quantization/export_model.py:145 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/losses/__init__.py:123
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/losses/__init__.py:123 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/losses/combined_loss.py:64
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/losses/combined_loss.py:64 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/losses/rec_multi_loss.py:38
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/losses/rec_multi_loss.py:38 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/metrics/__init__.py:61
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/metrics/__init__.py:61 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/__init__.py:151
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/__init__.py:151 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/rec_micronet.py:79
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/rec_micronet.py:79 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/rec_pphgnetv2.py:1168
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/rec_pphgnetv2.py:1168 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/rec_svtrnet.py:236
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/rec_svtrnet.py:236 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/rec_vit.py:143
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/rec_vit.py:143 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/rec_vit_parseq.py:155
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/rec_vit_parseq.py:155 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/backbones/rec_vitstr.py:94
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/backbones/rec_vitstr.py:94 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/heads/__init__.py:107
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/heads/__init__.py:107 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/heads/rec_cppd_head.py:104
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/heads/rec_cppd_head.py:104 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/heads/rec_latexocr_head.py:899
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/heads/rec_latexocr_head.py:899 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/heads/rec_multi_head.py:83
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/heads/rec_multi_head.py:83 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/necks/__init__.py:56
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/necks/__init__.py:56 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/modeling/transforms/__init__.py:31
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/modeling/transforms/__init__.py:31 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/postprocess/__init__.py:120
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/postprocess/__init__.py:120 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in ppocr/utils/export_model.py:502
Found a known-risky pattern (eval_used). Review and replace if possible.
ppocr/utils/export_model.py:502 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/end2end/eval_end2end.py:67
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/end2end/eval_end2end.py:67 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/eval.py:163
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/eval.py:163 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_cls.py:65
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_cls.py:65 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_det.py:83
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_det.py:83 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_e2e.py:129
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_e2e.py:129 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_kie.py:147
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_kie.py:147 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_kie_token_ser.py:109
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_kie_token_ser.py:109 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_kie_token_ser_re.py:144
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_kie_token_ser_re.py:144 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_rec.py:136
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_rec.py:136 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_sr.py:74
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_sr.py:74 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/infer_table.py:79
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/infer_table.py:79 owaspeval_used
high 9-layer security owasp conf 1.00 Insecure pattern 'eval_used' in tools/program.py:514
Found a known-risky pattern (eval_used). Review and replace if possible.
tools/program.py:514 owaspeval_used
medium Legacy quality error_handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
tools/train.py:183 error_handlinglegacy
medium Legacy quality error_handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
ppocr/data/simple_dataset.py:82 error_handlinglegacy
medium Legacy quality error_handling conf 1.00 [ERR001] Silent Exception Swallowing: Silently swallowing all exceptions hides bugs. Even in cleanup code, log at DEBUG level.
Log the error: `except Exception: logger.debug('cleanup failed', exc_info=True)`. Or handle specific exception types.
benchmark/PaddleOCR_DBNet/utils/metrics.py:30 error_handlinglegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:840 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:813 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:745 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:706 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:671 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:641 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:614 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:505 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:400 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:251 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:146 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/losses/distillation_loss.py:48 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/postprocess/vqa_token_ser_layoutlm_postprocess.py:102 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/postprocess/db_postprocess.py:260 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/postprocess/vqa_token_re_layoutlm_postprocess.py:82 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/postprocess/picodet_postprocess.py:108 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/postprocess/rec_postprocess.py:840 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/postprocess/rec_postprocess.py:241 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `__init__` (list): `def __init__(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def __init__(x=None): x = x or []`
ppocr/data/multi_scale_sampler.py:10 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `eval` (list): `def eval(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def eval(x=None): x = x or []`
tools/program.py:661 qualitylegacy
medium Legacy quality quality conf 1.00 ✓ Repobility [MINED109] Mutable default argument in `train` (list): `def train(... = []/{}/set())` — Python's default value is constructed ONCE at function definition time and shared across all calls. Mutating it in one call mutates it for every future call too.
Use None as the default and create the collection inside the function: `def train(x=None): x = x or []`
tools/program.py:200 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_doc2md/converters/pptx.py:412 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_doc2md/converters/pptx.py:455 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_doc2md/converters/pptx.py:349 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_doc2md/converters/xlsx.py:71 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_doc2md/math/__init__.py:25 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_api_client/cli.py:314 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_api_client/cli.py:221 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
paddleocr/_api_client/_async_http.py:179 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/data/imaug/make_pse_gt.py:99 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/data/imaug/ct_process.py:97 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/data/imaug/operators.py:310 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/data/imaug/rec_img_aug.py:928 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/modeling/heads/rec_cppd_head.py:21 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/utils/e2e_metric/Deteval.py:354 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/postprocess/east_postprocess.py:80 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/postprocess/ct_postprocess.py:145 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/postprocess/rec_postprocess.py:976 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/data/latexocr_dataset.py:147 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
ppocr/data/pgnet_dataset.py:86 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
benchmark/analysis.py:146 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
benchmark/analysis.py:350 qualitylegacy
high Legacy quality quality conf 1.00 ✓ Repobility [MINED111] Bare except continues silently: Bare `except:` (or `except Exception:`) that runs code without re-raising or logging the exception. Hides real failures and makes bugs hard to diagnose.
Either narrow the exception type, log the exception with `logger.exception(...)`, or re-raise after handling.
tools/program.py:296 qualitylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `albucore` 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.
Replace `albucore` with `albucore==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:17 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `albumentations` 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.
Replace `albumentations` with `albumentations==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:15 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `cython` 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.
Replace `cython` with `cython==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:11 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `ftfy` 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.
Replace `ftfy` with `ftfy==<version>` and manage upgrades through PRs / Dependabot.
docs/version2.x/algorithm/formula_recognition/requirements.txt:3 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `imagesize` 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.
Replace `imagesize` with `imagesize==<version>` and manage upgrades through PRs / Dependabot.
docs/version2.x/algorithm/formula_recognition/requirements.txt:2 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `lmdb<1.5; python_version < "3.9"` 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.
Replace `lmdb<1.5; python_version < "3.9"` with `lmdb<1.5; python_version < "3.9"==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:5 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `numpy` 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.
Replace `numpy` with `numpy==<version>` and manage upgrades through PRs / Dependabot.
deploy/avh/requirements.txt:2 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `numpy` 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.
Replace `numpy` with `numpy==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:7 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `opencv-contrib-python` 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.
Replace `opencv-contrib-python` with `opencv-contrib-python==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:10 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `opencv-python` 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.
Replace `opencv-python` with `opencv-python==<version>` and manage upgrades through PRs / Dependabot.
deploy/avh/requirements.txt:3 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `opencv-python` 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.
Replace `opencv-python` with `opencv-python==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:9 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `packaging` 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.
Replace `packaging` with `packaging==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:18 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `paddlepaddle` 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.
Replace `paddlepaddle` with `paddlepaddle==<version>` and manage upgrades through PRs / Dependabot.
deploy/avh/requirements.txt:1 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `Pillow` 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.
Replace `Pillow` with `Pillow==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:12 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `pyclipper` 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.
Replace `pyclipper` with `pyclipper==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:3 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `pyyaml` 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.
Replace `pyyaml` with `pyyaml==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:13 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `rapidfuzz` 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.
Replace `rapidfuzz` with `rapidfuzz==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:8 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `requests` 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.
Replace `requests` with `requests==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:14 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `scikit-image` 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.
Replace `scikit-image` with `scikit-image==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:2 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `sentencepiece` 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.
Replace `sentencepiece` with `sentencepiece==<version>` and manage upgrades through PRs / Dependabot.
ppstructure/kie/requirements.txt:1 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `shapely` 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.
Replace `shapely` with `shapely==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:1 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `tqdm` 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.
Replace `tqdm` with `tqdm==<version>` and manage upgrades through PRs / Dependabot.
requirements.txt:6 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `typing-extensions` 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.
Replace `typing-extensions` with `typing-extensions==<version>` and manage upgrades through PRs / Dependabot.
deploy/avh/requirements.txt:4 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `Wand` 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.
Replace `Wand` with `Wand==<version>` and manage upgrades through PRs / Dependabot.
docs/version2.x/algorithm/formula_recognition/requirements.txt:4 dependencylegacy
medium Legacy software dependency conf 0.90 ✓ Repobility [MINED124] requirements.txt: `yacs` 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.
Replace `yacs` with `yacs==<version>` and manage upgrades through PRs / Dependabot.
ppstructure/kie/requirements.txt:2 dependencylegacy
low Legacy security deserialization conf 1.00 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
Use yaml.safe_load() instead of yaml.load(). Avoid pickle for untrusted data.
ppocr/losses/center_loss.py:46 deserializationlegacy
low Legacy security deserialization conf 1.00 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
Use yaml.safe_load() instead of yaml.load(). Avoid pickle for untrusted data.
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:81 deserializationlegacy
low Legacy security deserialization conf 1.00 [SEC007] Unsafe Deserialization: Unsafe deserialization can execute arbitrary code.
Use yaml.safe_load() instead of yaml.load(). Avoid pickle for untrusted data.
paddleocr-js/packages/core/src/models/common.ts:38 deserializationlegacy
medium Legacy software resource_exhaustion conf 1.00 [SEC037] Uncontrolled Recursion — stack/depth exhaustion: Parsing arbitrary-depth user input (XML, JSON, YAML) without a depth limit, or recursive function over user-controlled structure. Attacker sends `{"a":{"a":{"a":...10000 levels...}}}` to blow the stack. Real CVEs: CVE-2019-16935 (Python xmlrpc), CVE-2020-25659 (PyYAML before 5.4). CWE-674/1325.
Use `defusedxml.ElementTree` instead of `xml.etree.ElementTree` — it rejects deeply-nested + billion-laughs payloads. For JSON: set a depth limit explicitly: import json data = json.loads(s) # then validate structure depth manually For YAML: always use `yaml.safe_load`. For recursive code over…
paddleocr-js/packages/core/src/pipelines/ocr/config.ts:81 resource_exhaustionlegacy
medium Legacy quality quality conf 1.00 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as TODO/pass/raise NotImplementedError after an AI scaffolding pass. The route appears to exist (and may even pass shallow CI), but invoking it crashes or silently no-ops. AI agents consistently emit these when their context window runs out mid-implementation. Production callers hitting these stubs is a classic AI-generated-incident.
Either implement the body, or fail closed at module-load time so the deploy can't ship a half-built route. A CI gate that fails build on `raise NotImplementedError` in non-abstract code catches this cleanly.
paddleocr/_models/_doc_vlm.py:43 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as TODO/pass/raise NotImplementedError after an AI scaffolding pass. The route appears to exist (and may even pass shallow CI), but invoking it crashes or silently no-ops. AI agents consistently emit these when their context window runs out mid-implementation. Production callers hitting these stubs is a classic AI-generated-incident.
Either implement the body, or fail closed at module-load time so the deploy can't ship a half-built route. A CI gate that fails build on `raise NotImplementedError` in non-abstract code catches this cleanly.
paddleocr/_abstract.py:20 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC127] AI agent stub — TODO: implement / pass placeholder body: Function body left as TODO/pass/raise NotImplementedError after an AI scaffolding pass. The route appears to exist (and may even pass shallow CI), but invoking it crashes or silently no-ops. AI agents consistently emit these when their context window runs out mid-implementation. Production callers hitting these stubs is a classic AI-generated-incident.
Either implement the body, or fail closed at module-load time so the deploy can't ship a half-built route. A CI gate that fails build on `raise NotImplementedError` in non-abstract code catches this cleanly.
benchmark/PaddleOCR_DBNet/base/base_trainer.py:185 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum / John Doe / example.com left in non-test code. AI agents emit these as 'reasonable defaults' when they don't know real values; the human then forgets to swap them. In production, these break demo flows, send mail to a real example.com host (it's owned by IANA), and leak that the codebase had an AI scaffolding pass.
Move dummy values to fixtures / seed files. In application code, require these to come from config or fail closed. Add a CI grep that rejects 'lorem ipsum' and 'example.com' outside test files.
api_sdk/typescript/examples/doc-parsing-file.ts:32 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum / John Doe / example.com left in non-test code. AI agents emit these as 'reasonable defaults' when they don't know real values; the human then forgets to swap them. In production, these break demo flows, send mail to a real example.com host (it's owned by IANA), and leak that the codebase had an AI scaffolding pass.
Move dummy values to fixtures / seed files. In application code, require these to come from config or fail closed. Add a CI grep that rejects 'lorem ipsum' and 'example.com' outside test files.
api_sdk/go/examples/ocr_url/main.go:33 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC134] AI scaffold leftover — Lorem ipsum / example.com / John Doe in code: Lorem ipsum / John Doe / example.com left in non-test code. AI agents emit these as 'reasonable defaults' when they don't know real values; the human then forgets to swap them. In production, these break demo flows, send mail to a real example.com host (it's owned by IANA), and leak that the codebase had an AI scaffolding pass.
Move dummy values to fixtures / seed files. In application code, require these to come from config or fail closed. Add a CI grep that rejects 'lorem ipsum' and 'example.com' outside test files.
api_sdk/go/examples/doc_parsing_file/main.go:46 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws — wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated.
Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows.
benchmark/PaddleOCR_DBNet/utils/ocr_metric/__init__.py:18 qualitylegacy
medium Legacy quality quality conf 1.00 [SEC136] AI-typical over-broad exception handler swallowing all errors: Catch-all exception block that silently returns success or no-ops. AI agents reach for this pattern when a flaky test or an unfamiliar API throws — wrap, swallow, return success. Real bugs are masked, observability is destroyed, and callers think the operation worked. CWE-396 (improperly-generalized exception). Distinct from intentional fallback because there's no log line and the success value is fabricated.
Catch the specific exception type, log at error level with full exception info, and return a failure-shaped result. If the operation is genuinely best-effort, log at warning and document why in a comment so the next reader (or scanner) knows.
benchmark/PaddleOCR_DBNet/post_processing/__init__.py:12 qualitylegacy
medium Legacy cicd docker conf 0.72 Compose service adds dangerous Linux capabilities
Drop all capabilities by default and add only narrowly required capabilities after review.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:26 dockerlegacy
medium Legacy cicd docker conf 0.72 Compose service adds dangerous Linux capabilities
Drop all capabilities by default and add only narrowly required capabilities after review.
deploy/paddleocr_vl_docker/accelerators/iluvatar-gpu/compose.yaml:1 dockerlegacy
medium Legacy cicd docker conf 0.72 Compose service adds dangerous Linux capabilities
Drop all capabilities by default and add only narrowly required capabilities after review.
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/compose.yaml:31 dockerlegacy
medium Legacy cicd docker conf 0.72 Compose service adds dangerous Linux capabilities
Drop all capabilities by default and add only narrowly required capabilities after review.
deploy/paddleocr_vl_docker/accelerators/hygon-dcu/compose.yaml:1 dockerlegacy
medium Legacy cicd docker conf 0.72 Compose service adds dangerous Linux capabilities
Drop all capabilities by default and add only narrowly required capabilities after review.
deploy/paddleocr_vl_docker/accelerators/amd-gpu/compose.yaml:28 dockerlegacy
medium Legacy cicd docker conf 0.72 Compose service adds dangerous Linux capabilities
Drop all capabilities by default and add only narrowly required capabilities after review.
deploy/paddleocr_vl_docker/accelerators/amd-gpu/compose.yaml:1 dockerlegacy
medium Legacy cicd docker conf 0.90 Docker build context has no .dockerignore
Add .dockerignore with at least .git, .env, private keys, dependency folders, build outputs, and local databases.
.dockerignore dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
deploy/docker/hubserving/gpu/Dockerfile:2 dockerlegacy
high Legacy cicd docker conf 0.82 Docker final stage has no non-root USER
Add a non-root USER in the final runtime stage after files and permissions are prepared.
deploy/docker/hubserving/cpu/Dockerfile:2 dockerlegacy
medium 9-layer quality integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — docs/version2.x/javascripts/katex.min.js:12
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
integrityfragile-runtimerobustness
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: deploy/docker/hubserving/cpu/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer hardware security conf 1.00 Dockerfile runs as root: deploy/docker/hubserving/gpu/Dockerfile
No non-root USER set. Containers running as root expand the blast radius of any vulnerability inside the image.
securitycontainer
medium 9-layer cicd supply-chain 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/build_publish_develop_docs.yml supply-chaingithub-actionsleast-privilege
medium 9-layer cicd supply-chain 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/build_publish_release_docs.yml supply-chaingithub-actionsleast-privilege
medium 9-layer security owasp conf 1.00 Insecure pattern 'subprocess_shell_true' in ppocr/postprocess/pse_postprocess/pse/__init__.py:23
Found a known-risky pattern (subprocess_shell_true). Review and replace if possible.
ppocr/postprocess/pse_postprocess/pse/__init__.py:23 owaspsubprocess_shell_true
medium 9-layer security owasp conf 1.00 Insecure pattern 'weak_hash' in deploy/android_demo/app/build.gradle:74
Found a known-risky pattern (weak_hash). Review and replace if possible.
deploy/android_demo/app/build.gradle:74 owaspweak_hash
medium 9-layer quality integrity conf 1.00 Network/subprocess call without timeout or try/except — ppstructure/predict_system.py:410
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
integrityfragile-runtimerobustness
medium 9-layer quality integrity conf 1.00 Network/subprocess call without timeout or try/except — ppstructure/table/predict_table.py:236
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
integrityfragile-runtimerobustness
medium 9-layer quality integrity conf 1.00 Network/subprocess call without timeout or try/except — test_tipc/compare_results.py:26
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
integrityfragile-runtimerobustness
medium 9-layer quality integrity conf 1.00 Network/subprocess call without timeout or try/except — tools/infer/predict_system.py:321
`subprocess.Popen(...)` here lacks both a `timeout=` arg and an enclosing try/except. This is exactly the class of bug that took down our git-clone earlier (HTTP/2 stream cancel surfaced as a fatal). Add a `timeout=` and wrap in try/except, or use a wrapper that retries.
integrityfragile-runtimerobustness
medium 9-layer 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.
coverageauth
low Legacy quality error_handling conf 1.00 [ERR003] Ignored Error (Go): Ignoring error return values.
Handle the error or use errcheck linter.
api_sdk/go/transport.go:112 error_handlinglegacy
low Legacy quality error_handling conf 1.00 [ERR003] Ignored Error (Go): Ignoring error return values.
Handle the error or use errcheck linter.
api_sdk/go/resource.go:97 error_handlinglegacy
low Legacy software race_condition conf 1.00 [SEC124] TOCTOU file access (os.access then open): Check-then-use file pattern (access/exists then open) lets an attacker swap the file between check and use (symlink attack). `mktemp` is deprecated for the same reason.
Use `os.open(path, os.O_CREAT | os.O_EXCL | os.O_WRONLY)` for atomic create-only. Use `tempfile.NamedTemporaryFile()` (not `mktemp`). For locking, use `fcntl.flock`.
tools/end2end/convert_ppocr_label.py:78 race_conditionlegacy
low Legacy software race_condition conf 1.00 [SEC124] TOCTOU file access (os.access then open): Check-then-use file pattern (access/exists then open) lets an attacker swap the file between check and use (symlink attack). `mktemp` is deprecated for the same reason.
Use `os.open(path, os.O_CREAT | os.O_EXCL | os.O_WRONLY)` for atomic create-only. Use `tempfile.NamedTemporaryFile()` (not `mktemp`). For locking, use `fcntl.flock`.
ppstructure/table/eval_table.py:55 race_conditionlegacy
low Legacy software race_condition conf 1.00 [SEC124] TOCTOU file access (os.access then open): Check-then-use file pattern (access/exists then open) lets an attacker swap the file between check and use (symlink attack). `mktemp` is deprecated for the same reason.
Use `os.open(path, os.O_CREAT | os.O_EXCL | os.O_WRONLY)` for atomic create-only. Use `tempfile.NamedTemporaryFile()` (not `mktemp`). For locking, use `fcntl.flock`.
configs/rec/multi_language/generate_multi_language_configs.py:261 race_conditionlegacy
low Legacy quality quality conf 1.00 [SEC132] String concat where the language has interpolation (AI style drift): String built by concatenation where the language has cleaner interpolation (Python f-strings since 3.6, JS template literals since ES6). Not a vulnerability on its own, but a style signature of cross-language AI rewrites — the model wrote idiomatic Java/C# and then translated mechanically. When this style appears in only *some* files of a repo, it's a strong indicator of an AI-driven rewrite that needs a human review p
Python: `f"prefix {var} suffix"`. JS/TS: `` `prefix ${var} suffix` ``. Add a lint rule (pyupgrade UP032, eslint prefer-template) so future PRs catch this automatically.
ppocr/metrics/eval_det_iou.py:166 qualitylegacy
low Legacy quality quality conf 1.00 [SEC132] String concat where the language has interpolation (AI style drift): String built by concatenation where the language has cleaner interpolation (Python f-strings since 3.6, JS template literals since ES6). Not a vulnerability on its own, but a style signature of cross-language AI rewrites — the model wrote idiomatic Java/C# and then translated mechanically. When this style appears in only *some* files of a repo, it's a strong indicator of an AI-driven rewrite that needs a human review p
Python: `f"prefix {var} suffix"`. JS/TS: `` `prefix ${var} suffix` ``. Add a lint rule (pyupgrade UP032, eslint prefer-template) so future PRs catch this automatically.
deploy/android_demo/app/src/main/java/com/baidu/paddle/lite/demo/ocr/Predictor.java:156 qualitylegacy
low Legacy quality quality conf 1.00 [SEC132] String concat where the language has interpolation (AI style drift): String built by concatenation where the language has cleaner interpolation (Python f-strings since 3.6, JS template literals since ES6). Not a vulnerability on its own, but a style signature of cross-language AI rewrites — the model wrote idiomatic Java/C# and then translated mechanically. When this style appears in only *some* files of a repo, it's a strong indicator of an AI-driven rewrite that needs a human review p
Python: `f"prefix {var} suffix"`. JS/TS: `` `prefix ${var} suffix` ``. Add a lint rule (pyupgrade UP032, eslint prefer-template) so future PRs catch this automatically.
benchmark/PaddleOCR_DBNet/utils/ocr_metric/icdar2015/detection/iou.py:197 qualitylegacy
high Legacy cicd docker conf 0.56 Compose service does not declare a runtime user
Set a non-root `user:` in Compose or ensure the final image stage has a non-root USER directive.
deploy/paddleocr_vl_docker/hps/compose.yaml:28 dockerlegacy
high Legacy cicd docker conf 0.56 Compose service does not declare a runtime user
Set a non-root `user:` in Compose or ensure the final image stage has a non-root USER directive.
deploy/paddleocr_vl_docker/hps/compose.yaml:1 dockerlegacy
high Legacy cicd docker conf 0.62 Compose service lacks no-new-privileges hardening
Add `security_opt: ["no-new-privileges:true"]` unless the service has a documented need for privilege escalation.
deploy/paddleocr_vl_docker/hps/compose.yaml:28 dockerlegacy

Showing first 300 of 478. Refine filters or use the legacy findings page for deep search.

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/3dad2478-306d-4d44-a628-9cd6ca4ce6f2/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/3dad2478-306d-4d44-a628-9cd6ca4ce6f2/

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.