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.

bitcoinaustria/kassiber

https://github.com/bitcoinaustria/kassiber · scanned 2026-06-17 01:41 UTC (1 month, 1 week ago)

195 raw signals (0 security + 195 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 1 month, 1 week ago · v2 · last Δ -24.6 (diff) · 163 actionable findings from 1 signal source. 32 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 52.1/100 with 88.9% coverage. It contains 6055 nodes across 2 cross-layer flows, written primarily in mixed languages. Engine surfaced 195 findings — concentrated in quality (104), frontend (49), cicd (20). Risk profile is high: 1 critical, 0 high, 19 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 88 of 163 actionable findings. 195 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.

medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — ui-tauri/src/components/ui/chart.tsx:93
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 — ui-tauri/src/daemon/transport.ts:569
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 — ui-tauri/src/lib/filePicker.ts:43
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/commands/gate.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.
.claude/commands/gate.md VerificationClaude instruction
medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .codex/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.
.codex/AGENTS.md VerificationCodex 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 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 cicd CI/CD security conf 1.00 7 occurrences GitHub Action is tag-pinned rather than SHA-pinned
astral-sh/setup-uv@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
2 files, 7 locations
.github/workflows/prerelease-binaries.yml:56, 261, 266, 395, 555 (5 hits)
.github/workflows/ci.yml:21, 32 (2 hits)
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security 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/prerelease-binaries.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in ui-tauri/src/components/ui/chart.tsx:93
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
ui-tauri/src/components/ui/chart.tsx:93 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in ui-tauri/vite.config.ts:6
Found a known-risky pattern (node_child_process). Review and replace if possible.
ui-tauri/vite.config.ts:6 Node child process
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — kassiber/backup/age_cli.py:86
`subprocess.run(...)` 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.
runtime safetyRobustness
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 265 placeholder/mock markers across 49 source files. This often means the repo looks complete while core flows still use generated scaffolding or fake data.
Mock dataIncompleteGenerated repo pattern
low System graph frontend Frontend quality conf 1.00 "active" state uses light bg in a dark theme — ui-tauri/src/components/kb/settings/SyncBackendSettingsModal.tsx:161
A ternary like `active ? 'bg-white' : '...'` (or bg-gray-100/200) on a dark theme produces jarring white pills. Use a dark-emphasized active state instead — border + ring or slightly brighter dark bg. Example: `active ? 'bg-gray-800 border-gray-500 ring-1 ring-blue-500/30' : '…'`. Why: P-E in CHEC…
Fq active light bg
low System graph quality Integrity conf 1.00 7 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `DEV`, `GITHUB_SHA`, `HOME`, `KASSIBER_BUILD_COMMIT`, `KASSIBER_BUILD_VERSION`, `SATBOOKS_DEFAULT_BACKEND`, `VITE_DAEMON`. Add them (with a placeholder/comment) to .env.example so onboarding doesn't break.
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 7 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 cicd CI/CD security conf 1.00 12 occurrences GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-python@v5 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
2 files, 12 locations
.github/workflows/prerelease-binaries.yml:51, 211, 256, 295, 352, 390, 488, 510, +2 more (10 hits)
.github/workflows/ci.yml:16, 27 (2 hits)
CI/CD securitySupply chainGithub actions
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 Integrity conf 1.00 Near-duplicate function bodies in 10 places
Functions with the same first-5-line body hash: kassiber/core/source_funds.py:create_source, kassiber/core/source_funds.py:attach_source_evidence, kassiber/core/source_funds.py:create_link, kassiber/core/source_funds.py:update_link_review This is *the* AI-coder failure mode (4× more duplication in…
duplicatesduplication
low System graph quality Integrity conf 1.00 15 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: kassiber/austrian_pdf_report.py:spacer, kassiber/source_funds_pdf_report.py:spacer 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.
15 occurrences
repo-level (15 hits)
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: kassiber/core/imports.py:insert_wallet_records, kassiber/core/imports.py:import_bullbitcoin_records_full, kassiber/core/imports.py:import_records_into_wallet This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://j…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: kassiber/core/metadata.py:clear_transaction_note, kassiber/core/metadata.py:update_transaction_metadata, kassiber/core/metadata.py:list_transaction_history, kassiber/core/metadata.py:revert_transaction_edit This is *the* AI-coder failure mode (4× mor…
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: kassiber/daemon_freshness.py:onchain_wallet, kassiber/daemon_freshness.py:btcpay_wallet, kassiber/daemon_freshness.py:btcpay_provenance, kassiber/daemon_freshness.py:market_rates This is *the* AI-coder failure mode (4× more duplication in vibe-coded …
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `_downgrade_transaction_pairs_to_legacy` in tests/test_schema_swap_matching.py:247
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 `attachment_copy` in kassiber/core/attachments.py:402
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 `consecutive_unused` in kassiber/core/sync_backends.py:663
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 `dispatch_backup` in kassiber/cli/main.py:117
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 `export_backup` in kassiber/backup/__init__.py:27
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 `export_backup` in kassiber/backup/cli.py:15
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 `export_backup` in tests/test_secrets_smoke.py:42
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 `pre_restore_backup` in kassiber/backup/pack.py:85
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 `stored_copy` in tests/test_audit_package.py:370
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 `transaction_pairs_legacy` in kassiber/db.py:2001
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: build_austrian_policy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/tax_policy.py:79
low System graph software Dead code conf 1.00 Possibly dead Python function: build_generic_policy
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/tax_policy.py:50
low System graph software Dead code conf 1.00 Possibly dead Python function: coverage_for_known_codes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/source_funds_hints.py:172
low System graph software Dead code conf 1.00 Possibly dead Python function: draw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/source_funds_pdf_report.py:199
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_liquid_decode
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1105
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_liquid_main_tx
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1579
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_stats
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1450
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_target_transactions
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1509
low System graph software Dead code conf 1.00 Possibly dead Python function: fetch_target_utxos
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1064
low System graph software Dead code conf 1.00 Possibly dead Python function: history_fetch_progress
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1523
low System graph software Dead code conf 1.00 Possibly dead Python function: liquid_amount_from_value
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/wallet_descriptors.py:394
low System graph software Dead code conf 1.00 Possibly dead Python function: liquid_tx_lookup
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1553
low System graph software Dead code conf 1.00 Possibly dead Python function: output_addresses
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:363
low System graph software Dead code conf 1.00 Possibly dead Python function: print_table
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/envelope.py:280
low System graph software Dead code conf 1.00 Possibly dead Python function: recent_key
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/ui_snapshot.py:2048
low System graph software Dead code conf 1.00 Possibly dead Python function: stats_fetch_progress
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1455
low System graph software Dead code conf 1.00 Possibly dead Python function: supported_reveal_modes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/source_funds_recipients.py:341
low System graph software Dead code conf 1.00 Possibly dead Python function: target_used_single
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:769
low System graph software Dead code conf 1.00 Possibly dead Python function: utxo_fetch_progress
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
kassiber/core/sync_backends.py:1074
low System graph quality Integrity conf 1.00 Stub function `write` (body is just `pass`/`return`) — kassiber/daemon_freshness.py:35
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: kassiber/ai/tools.py (1415 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/cli/handlers.py (4009 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/cli/main.py (3792 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/commercial.py (1524 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/engines/rp2.py (1581 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/imports.py (1902 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/lightning/cln.py (1454 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/rates.py (2138 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/reports.py (4768 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/source_funds.py (2942 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/sync_backends.py (2581 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/core/ui_snapshot.py (4735 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/daemon.py (9327 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/daemon_freshness.py (1622 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/db.py (2322 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: kassiber/importers.py (2034 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_ai_core.py (1310 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_cli_smoke.py (3359 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_daemon_smoke.py (7944 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_rates_kraken_csv.py (1821 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_review_regressions.py (10482 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_source_funds_cli.py (3044 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_sync_backends.py (1458 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src-tauri/src/lib.rs (3164 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src-tauri/src/supervisor.rs (2074 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/components/kb/AddConnectionDialog.tsx (2875 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/components/kb/AppShell.tsx (2635 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/components/kb/settings/SyncBackendSettingsModal.tsx (1577 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/components/overview-dashboard/model.ts (2421 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/components/transactions/dashboard/TransactionsTable.tsx (1761 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/daemon/mock.ts (3682 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/routes/ConnectionDetail.tsx (1784 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/routes/Reports.tsx (2358 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/routes/SourceFunds.tsx (3085 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: ui-tauri/src/routes/SwapMatching.tsx (2357 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/b1b75a0a-79a6-4a5a-9ef6-afa12d53d83a/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/b1b75a0a-79a6-4a5a-9ef6-afa12d53d83a/

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.