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.

doman2508/API_Vendo

https://github.com/doman2508/API_Vendo · scanned 2026-06-17 01:58 UTC (1 month, 1 week ago)

75 raw signals (0 security + 75 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ -10.8 (diff) · 75 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
Corpus Intelligence Cross-corpus context (cohort percentile, top patterns, fix plan) is shown only on repositories you own. Sign up and connect your repo to view it.
Scan summary Repository scanned at 65.9/100 with 77.8% coverage. It contains 1864 nodes across 16 cross-layer flows, written primarily in mixed languages. Engine surfaced 75 findings — concentrated in quality (29), security (23), api (17). Risk profile is high: 0 critical, 17 high, 38 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 75 of 75 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 api Wiring conf 1.00 Dangling fetch: GET /api/auth/me (public/core/shell.js:134)
`public/core/shell.js:134` calls `GET /api/auth/me` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/me` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/zapotrzebowanie/wms/rw/documents (public/wms/wms.js:791)
`public/wms/wms.js:791` calls `GET /api/zapotrzebowanie/wms/rw/documents` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/rw/documents` If this points at an external API, prefix it with `https://`…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: GET /api/zapotrzebowanie/wms/rw/documents/${encodeURIComponent(documentId)} (public/wms/wms.js:826)
`public/wms/wms.js:826` calls `GET /api/zapotrzebowanie/wms/rw/documents/${encodeURIComponent(documentId)}` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/rw/documents/<p>` If this points at an e…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/analyst/alerts/send-test (public/analyst/analyst.js:449)
`public/analyst/analyst.js:449` calls `POST /api/analyst/alerts/send-test` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/analyst/alerts/send-test` If this points at an external API, prefix it with `https://` so the…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/analyst/operator-feedback (public/analyst/analyst.js:1796)
`public/analyst/analyst.js:1796` calls `POST /api/analyst/operator-feedback` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/analyst/operator-feedback` If this points at an external API, prefix it with `https://` so …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/analyst/operator-feedback (public/analyst/analyst.js:1875)
`public/analyst/analyst.js:1875` calls `POST /api/analyst/operator-feedback` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/analyst/operator-feedback` If this points at an external API, prefix it with `https://` so …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/auth/login (public/login/login.js:23)
`public/login/login.js:23` calls `POST /api/auth/login` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/login` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/auth/logout (public/core/shell.js:167)
`public/core/shell.js:167` calls `POST /api/auth/logout` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/auth/logout` If this points at an external API, prefix it with `https://` so the matcher skips it.
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/smd-analyst/summary (public/smd-analyst/smd-analyst.js:135)
`public/smd-analyst/smd-analyst.js:135` calls `POST /api/smd-analyst/summary` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/smd-analyst/summary` If this points at an external API, prefix it with `https://` so the m…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/diagnostics (public/wms/wms.js:387)
`public/wms/wms.js:387` calls `POST /api/zapotrzebowanie/wms/diagnostics` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/diagnostics` If this points at an external API, prefix it with `https://` …
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/inventory (public/wms/wms.js:231)
`public/wms/wms.js:231` calls `POST /api/zapotrzebowanie/wms/inventory` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/inventory` If this points at an external API, prefix it with `https://` so t…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/inventory/export (public/wms/wms.js:292)
`public/wms/wms.js:292` calls `POST /api/zapotrzebowanie/wms/inventory/export` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/inventory/export` If this points at an external API, prefix it with `…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/inventory/note (public/wms/wms.js:519)
`public/wms/wms.js:519` calls `POST /api/zapotrzebowanie/wms/inventory/note` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/inventory/note` If this points at an external API, prefix it with `http…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/rw/commit (public/wms/wms.js:746)
`public/wms/wms.js:746` calls `POST /api/zapotrzebowanie/wms/rw/commit` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/rw/commit` If this points at an external API, prefix it with `https://` so t…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/rw/preview (public/wms/wms.js:612)
`public/wms/wms.js:612` calls `POST /api/zapotrzebowanie/wms/rw/preview` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/rw/preview` If this points at an external API, prefix it with `https://` so…
Dangling fetchFetch
high System graph api Wiring conf 1.00 Dangling fetch: POST /api/zapotrzebowanie/wms/snapshot (public/wms/wms.js:344)
`public/wms/wms.js:344` calls `POST /api/zapotrzebowanie/wms/snapshot` but no backend route matches that path. This is a runtime 404 waiting to happen. Tool: fetch Normalized path used for matching: `/zapotrzebowanie/wms/snapshot` If this points at an external API, prefix it with `https://` so the…
Dangling fetchFetch
high System graph security auth conf 1.00 FastAPI POST `pulse` without auth dependency — MES/api/main.py:9
`@router.post` decorator with no `Depends(get_current_user)` or auth-shaped dependency in its signature. Mutating endpoints should require authentication unless explicitly public.
MES/api/main.py:9 securityAuth fastapi unauth mutation
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — lib/digikey-client.js:89
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — mcp-http-stdio-proxy.js:31
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/admin/admin.js:551
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/app.js:928
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/kosztykkw-app.js:512
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/piaskownica-app.js:42
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/production-dashboard.js:715
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/rentownosc-app.js:58
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — public/zapotrzebowanie/zapotrzebowanie.js:366
Bare `fetch(...)` will throw an unhandled rejection on network failure. Wrap in try/catch, attach a `.catch(...)`, or pass an AbortSignal with a timeout.
runtime safetyRobustness
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/settings.local.json
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
.claude/settings.local.json VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: AGENTS.md
This agent instruction grants code or shell authority but does not state the verification gate that decides promotion. The recurring safe pattern is: LLM proposes; deterministic tests/build/security checks verify; only verified code promotes.
AGENTS.md VerificationAgents md
medium System graph quality Agent instructions conf 1.00 Agent instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing license, ci, tests. Treat this as a contract gap: the agent is guided, but the generated output is not yet guarded by the controls that make it repeatable.
Repo hardeningGenerated repo pattern
medium System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci, tests. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
medium System graph quality Placeholder conf 1.00 Critical user flow still appears backed by mock or placeholder data
A payment/auth/admin/order/billing-style flow contains mock, fake, TODO, dummy, or placeholder markers in runtime source. In the Fable corpus this is a high-leverage completeness smell: the app can look finished while the money, identity, or tenant flow is still scaffolded.
Mock dataCritical flowGenerated repo pattern
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in mcp-production-server.js:1141
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
mcp-production-server.js:1141 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/admin/admin.js:232
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/admin/admin.js:232 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/analyst/analyst.js:579
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/analyst/analyst.js:579 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/app.js:170
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/app.js:170 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/core/shell.js:72
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/core/shell.js:72 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/kosztykkw-app.js:133
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/kosztykkw-app.js:133 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/mes/mes.js:675
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/mes/mes.js:675 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/mes/operator/operator.js:307
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/mes/operator/operator.js:307 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/operator-dashboard/operator-dashboard.js:269
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/operator-dashboard/operator-dashboard.js:269 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/operator/operator.js:114
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/operator/operator.js:114 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/piaskownica-app.js:55
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/piaskownica-app.js:55 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/production-dashboard.js:743
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/production-dashboard.js:743 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/rentownosc-app.js:77
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/rentownosc-app.js:77 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/smd-analyst/smd-analyst.js:198
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/smd-analyst/smd-analyst.js:198 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/start.js:32
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/start.js:32 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/wms/wms.js:425
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/wms/wms.js:425 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in public/zapotrzebowanie/zapotrzebowanie.js:693
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
public/zapotrzebowanie/zapotrzebowanie.js:693 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'insert_adjacent_html' in public/kosztykkw-app.js:614
Found a known-risky pattern (insert_adjacent_html). Review and replace if possible.
public/kosztykkw-app.js:614 Insert adjacent html
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in public/production-dashboard.js:1757
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
public/production-dashboard.js:1757 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in lib/lcsc-history-import.js:6
Found a known-risky pattern (node_child_process). Review and replace if possible.
lib/lcsc-history-import.js:6 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in server.js:6
Found a known-risky pattern (node_child_process). Review and replace if possible.
server.js:6 Node child process
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
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 16 placeholder/mock markers across 8 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
0 test file(s) for 42 source file(s) (ratio 0.00). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 9 console/debugger/print-style debug statements in non-test source. This is a common fast-generation residue before production cleanup.
CleanupRepo hardeningGenerated repo pattern
low System graph quality Agent instructions conf 1.00 Multiple root agent instruction files without precedence
The repo has multiple top-level AI-coder instruction files. Without precedence rules, different agents may follow different policies.
Governance
low System graph quality License conf 1.00 No license file detected
No LICENSE/COPYING/NOTICE file was found. Generated repositories often omit licensing, which blocks reuse and automated intake.
Repo hardeningGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `card__copy` in public/admin/admin.js:476
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 frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — lib/auth-store.js:88
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — scripts/import-digikey-history.js:76
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — scripts/import-lcsc-history.js:70
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — scripts/import-tme-customer-symbols.js:73
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — scripts/seed-local-mes-demo.js:268
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — server.js:6344
Replace with the toast helper, an error boundary, or remove. `console.warn` / `console.error` are acceptable. Why: Hygiene — easy to leak debug output. Rule id: fq.console-leak
Fq console leak
low System graph api Wiring conf 1.00 Unused endpoint: POST /pulse
`MES/api/main.py` declares `POST /pulse` but no frontend code we scanned calls it. This is fine if the endpoint serves external clients (mobile app, third-party, server-side webhooks). Otherwise it's dead code — consider removing or documenting who consumes it.
Unused endpoint
low System graph quality Complexity conf 1.00 Very large file: lib/mes-sqlite.js (3141 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: lib/production-vendo.js (6686 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: lib/zapotrzebowanie-sqlite.js (1896 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: public/analyst/analyst.js (3290 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: public/mes/mes.js (1943 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: public/production-dashboard.js (1817 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: public/wms/wms.js (1256 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: public/zapotrzebowanie/zapotrzebowanie.js (5272 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: server.js (11574 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/296f63f4-4a9a-46c2-9f74-81bcbce8794c/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/296f63f4-4a9a-46c2-9f74-81bcbce8794c/

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.