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.

Sentry-Six/Sentry-USB-Rusty

https://github.com/Sentry-Six/Sentry-USB-Rusty · scanned 2026-06-16 00:07 UTC (2 months, 2 weeks ago)

129 raw signals (0 security + 129 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 116 actionable findings from 1 signal source. 13 repeated signals grouped for readability. 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 74.4/100 with 100.0% coverage. It contains 1299 nodes across 30 cross-layer flows, written primarily in mixed languages. Engine surfaced 129 findings — concentrated in quality (85), frontend (16), cicd (12). Risk profile is high: 2 critical, 0 high, 36 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 60 of 116 actionable findings. 129 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

critical System graph security Secrets conf 1.00 Possible secret in setup/pi/configure.sh
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
setup/pi/configure.sh:574
critical System graph security Secrets conf 1.00 Possible secret in web/src/components/setup/steps/WelcomeStep.tsx
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
web/src/components/setup/steps/WelcomeStep.tsx:174
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — web/src/pages/Support.tsx:382
Open XSS surface unless the input is provably trusted. Replace with explicit JSX or sanitize via a vetted library. Why: OWASP basics. Already partially flagged by the security analyzer. Rule id: fq.dangerous-html
Fq dangerous html
medium System graph quality Integrity conf 1.00 `fetch()` without try/.catch or AbortSignal — web/src/api/charging.ts:8
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 — web/src/api/drives.ts:4
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 — web/src/api/tags.ts:5
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 — web/src/components/settings/sections/ConfigBackupSection.tsx:102
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 — web/src/components/settings/sections/DisplayUnitsSection.tsx:15
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 — web/src/components/settings/sections/UpdateSection.tsx:71
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 — web/src/components/setup/SetupWizard.tsx:581
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 — web/src/components/setup/steps/WelcomeStep.tsx:286
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 — web/src/hooks/useChargingRates.ts:63
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 — web/src/hooks/useExperimental.ts:18
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 — web/src/hooks/useKeepAccessory.tsx:24
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 — web/src/lib/api.ts:9
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 — web/src/pages/CommunityWraps.tsx:190
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 — web/src/pages/Dashboard.tsx:224
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 — web/src/pages/Files.tsx:267
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 — web/src/pages/LockChime.tsx:1371
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 — web/src/pages/Settings.tsx:151
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 — web/src/pages/Support.tsx:146
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 — web/src/pages/Viewer.tsx:234
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 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 quality Integrity conf 1.00 3 occurrences Frontend route `/drives/:id` has no Link/navigate to it — web/src/App.tsx
The route is registered but no `<Link to=…>` or `navigate(…)` in the codebase navigates here. Either it's reachable only via direct URL (intentional), it's dead, or the link broke during a refactor.
3 occurrences
repo-level (3 hits)
Orphan pageWiring
medium System graph cicd CI/CD security conf 1.00 5 occurrences GitHub Action is tag-pinned rather than SHA-pinned
dtolnay/rust-toolchain@stable can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
3 files, 5 locations
.github/workflows/build.yml:98, 309, 346 (3 hits)
.github/workflows/cla.yml:33
.github/workflows/wiki-sync.yml:27
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 3 occurrences 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.
3 files, 3 locations
.github/workflows/build.yml
.github/workflows/cla.yml
.github/workflows/wiki-sync.yml
CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in web/src/pages/Support.tsx:382
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
web/src/pages/Support.tsx:382 Dangerous innerhtml
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 230 placeholder/mock markers across 39 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
2 test file(s) for 274 source file(s) (ratio 0.01). Consider adding integration or unit tests for critical paths.
Coverage
low System graph cicd CI/CD security conf 1.00 4 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/cache@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
lines 167, 187, 292, 337
.github/workflows/build.yml:167, 187, 292, 337 (4 hits)
CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: server/ble/sentryusb-ble.py:send_chunk, server/ble/sentryusb-ble.py:send_chunk 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 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: server/ble/sentryusb-ble.py:get_properties, server/ble/sentryusb-ble.py:get_properties, server/ble/sentryusb-ble.py:get_properties This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Cons…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: server/ble/sentryusb-ble.py:get_path, server/ble/sentryusb-ble.py:get_path, server/ble/sentryusb-ble.py:get_path, server/ble/sentryusb-ble.py:get_path This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 5 places
Functions with the same first-5-line body hash: server/ble/sentryusb-ble.py:ReadValue, server/ble/sentryusb-ble.py:ReadValue, server/ble/sentryusb-ble.py:ReadValue, server/ble/sentryusb-ble.py:ReadValue This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.h…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `differsFromOld` in web/src/components/settings/sections/UpdateSection.tsx:257
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: add_descriptor
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:604
low System graph software Dead code conf 1.00 Possibly dead Python function: do_configure
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:837
low System graph software Dead code conf 1.00 Possibly dead Python function: do_request
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1009
low System graph software Dead code conf 1.00 Possibly dead Python function: register_ad_cb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1283
low System graph software Dead code conf 1.00 Possibly dead Python function: register_ad_error_cb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1286
low System graph software Dead code conf 1.00 Possibly dead Python function: register_app_cb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1290
low System graph software Dead code conf 1.00 Possibly dead Python function: register_app_error_cb
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1293
low System graph software Dead code conf 1.00 Possibly dead Python function: send_chunk
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1055
low System graph software Dead code conf 1.00 Possibly dead Python function: send_ready
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:753
low System graph software Dead code conf 1.00 Possibly dead Python function: send_single
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1022
low System graph software Dead code conf 1.00 Possibly dead Python function: verify_gatt_objects
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
server/ble/sentryusb-ble.py:1298
low System graph frontend Frontend quality conf 1.00 React Flow <MiniMap> without dark background — web/src/pages/Viewer.tsx:957
A bare <MiniMap> renders with the vendor's white default in dark themes. Wrap the canvas in a class that overrides `.react-flow__minimap` background, or pass an explicit `style`/`maskColor`/`bgColor`. Why: P1 in CHECKLIST.md — vendor defaults bleed light through. Rule id: fq.minimap.no-bg
Fq minimap no bg
low System graph quality Provenance conf 1.00 Shallow git history limits provenance confidence
The repository is a shallow clone. Origin/evolution analysis cannot distinguish fresh generation, imported legacy code, or long-lived human code with high confidence.
Git historyGenerated repo pattern
low System graph quality Integrity conf 1.00 Stub function `WriteValue` (body is just `pass`/`return`) — server/ble/sentryusb-ble.py:624
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: crates/api/src/charging.rs (1359 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/api/src/drives_handler.rs (1378 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/drives/src/db.rs (3532 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/drives/src/grouper.rs (3039 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/drives/src/json_compat.rs (1732 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/drives/src/schema.rs (1252 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/tesla_ble/src/manager.rs (1549 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/tesla_telemetry/src/main.rs (1603 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: server/ble/sentryusb-ble.py (1558 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: web/src/pages/LockChime.tsx (1783 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/4d1cc32b-043f-4479-b85d-f52e2ec6f8a4/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/4d1cc32b-043f-4479-b85d-f52e2ec6f8a4/

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.