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.

mpatankar/met-museum

https://github.com/mpatankar/met-museum · scanned 2026-08-30 06:42 UTC (1 week, 5 days ago)

39 raw signals (0 security + 39 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 week, 5 days ago · v1 · 39 actionable findings from 1 signal source. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Severity distribution — click a segment to filter
Active filters: excluding tests × Reset all
Scan summary Repository scanned at 89.8/100 with 70.0% coverage. It contains 773 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 39 findings — concentrated in software (26), quality (9), security (2). Risk profile is high: 0 critical, 1 high, 2 medium. Recommended next step: open the software layer findings first — that's where the highest-impact wins live.

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

high System graph hardware Supply chain conf 1.00 Dockerfile pipes a remote installer into a shell
Executing downloaded code during image build gives the remote endpoint build-time code execution. Prefer pinned packages or verify downloaded installers by checksum/signature.
.devcontainer/Dockerfile:5 containersRemote installer
medium System graph quality Integrity conf 0.85 Network/subprocess call without timeout or try/except — scripts/utils/ruffen-docs.py:108
`subprocess.check_output(...)` 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.
scripts/utils/ruffen-docs.py:108 runtime safetyRobustness
medium System graph security Coverage conf 1.00 No auth library detected
The scanner did not find any standard auth library (JWT, OAuth, NextAuth, Auth0, etc.). The repo has auth/admin/session surface indicators, so auth may live in custom code, in a separate service, or be missing.
auth
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
.devcontainer/Dockerfile:2 containersPinned dependencies
low System graph security Trivy conf 1.00 DS-0026: No HEALTHCHECK defined — .devcontainer/Dockerfile
No HEALTHCHECK defined Add HEALTHCHECK instruction in your Dockerfile Rule: DS-0026 Severity: LOW Target: .devcontainer/Dockerfile
Misconfig
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same substantial AST body hash: src/met_museum/_client.py:114:copy, src/met_museum/_client.py:263:copy This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/met_museum/_base_client.py:62
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/met_museum/_compat.py:83
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/met_museum/_models.py:96
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_pydantic_v1` in noxfile.py:5
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: assert_signatures_in_sync
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_reflection.py:13
low System graph software Dead code conf 1.00 Possibly dead Python function: async_to_custom_raw_response_wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:794
low System graph software Dead code conf 1.00 Possibly dead Python function: async_to_custom_streamed_response_wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:712
low System graph software Dead code conf 1.00 Possibly dead Python function: construct_type_unchecked
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_models.py:415
low System graph software Dead code conf 1.00 Possibly dead Python function: consume_async_iterator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_streams.py:10
low System graph software Dead code conf 1.00 Possibly dead Python function: consume_sync_iterator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_streams.py:5
low System graph software Dead code conf 1.00 Possibly dead Python function: field_is_required
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_compat.py:86
low System graph software Dead code conf 1.00 Possibly dead Python function: function_has_argument
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_reflection.py:7
low System graph software Dead code conf 1.00 Possibly dead Python function: inner
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:229
low System graph software Dead code conf 1.00 Possibly dead Python function: is_sequence
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:144
low System graph software Dead code conf 1.00 Possibly dead Python function: is_tuple
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:136
low System graph software Dead code conf 1.00 Possibly dead Python function: maybe_coerce_boolean
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:333
low System graph software Dead code conf 1.00 Possibly dead Python function: maybe_coerce_float
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:327
low System graph software Dead code conf 1.00 Possibly dead Python function: maybe_coerce_integer
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:321
low System graph software Dead code conf 1.00 Possibly dead Python function: model_parse
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_compat.py:161
low System graph software Dead code conf 1.00 Possibly dead Python function: put
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_base_client.py:1749
low System graph software Dead code conf 1.00 Possibly dead Python function: removeprefix
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:339
low System graph software Dead code conf 1.00 Possibly dead Python function: removesuffix
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_utils.py:349
low System graph software Dead code conf 1.00 Possibly dead Python function: set_pydantic_config
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_models.py:673
low System graph software Dead code conf 1.00 Possibly dead Python function: setup_logging
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_logs.py:16
low System graph software Dead code conf 1.00 Possibly dead Python function: stream_to_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:542
low System graph software Dead code conf 1.00 Possibly dead Python function: text
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:434
low System graph software Dead code conf 1.00 Possibly dead Python function: to_custom_raw_response_wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:771
low System graph software Dead code conf 1.00 Possibly dead Python function: to_custom_streamed_response_wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:687
low System graph software Dead code conf 1.00 Possibly dead Python function: wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_utils/_sync.py:83
low System graph software Dead code conf 1.00 Possibly dead Python function: write_to_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/met_museum/_response.py:507
low System graph quality Integrity conf 1.00 Stub function `custom_auth` (body is just `pass`/`return`) — src/met_museum/_base_client.py:598
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: src/met_museum/_base_client.py (1969 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_client.py (1542 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/d2842e29-2330-4ca6-8b1f-b0df6eb08063/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/d2842e29-2330-4ca6-8b1f-b0df6eb08063/

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.