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.

tensorlakeai/tensorlake

https://github.com/tensorlakeai/tensorlake · scanned 2026-06-16 00:32 UTC (2 months, 2 weeks ago)

192 raw signals (0 security + 192 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 80 actionable findings from 1 signal source. 112 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 66.1/100 with 100.0% coverage. It contains 4266 nodes across 2 cross-layer flows, written primarily in mixed languages. Engine surfaced 192 findings — concentrated in cicd (99), quality (66), software (21). Risk profile is high: 0 critical, 1 high, 73 medium. Recommended next step: open the cicd layer findings first — that's where the highest-impact wins live.

Showing 60 of 80 actionable findings. 192 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.

high System graph security security conf 1.00 Insecure pattern 'eval_used' in README.md:183
Found a known-risky pattern (eval_used). Review and replace if possible.
README.md:183 Eval used
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 58 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.
9 files, 58 locations
.github/workflows/tests.yaml:41, 44, 65, 70, 83, 114, 117, 123, +8 more (16 hits)
.github/workflows/sandbox_local_tests.yaml:25, 28, 34, 44, 54, 62, 77, 177 (8 hits)
.github/workflows/document_ai.yaml:44, 47, 53, 84, 87, 93 (6 hits)
.github/workflows/publish_npm.yaml:105, 109, 112, 218, 222, 225 (6 hits)
.github/workflows/publish_pypi.yaml:30, 74, 80, 86, 102, 142 (6 hits)
.github/workflows/publish_test_pypi.yaml:45, 93, 99, 105, 121, 161 (6 hits)
.github/workflows/typescript_sdk.yaml:49, 52, 55, 132, 135 (5 hits)
.github/workflows/integration_test.yaml:41, 49, 52 (3 hits)
CI/CD securitySupply chainGithub actions
medium System graph cicd CI/CD security conf 1.00 8 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.
8 files, 8 locations
.github/workflows/integration_test.yaml
.github/workflows/publish_cli.yaml
.github/workflows/publish_crates_io.yaml
.github/workflows/publish_npm.yaml
.github/workflows/publish_pypi.yaml
.github/workflows/publish_test_pypi.yaml
.github/workflows/sandbox_local_tests.yaml
.github/workflows/tests.yaml
CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in .github/workflows/publish_npm.yaml:137
Found a known-risky pattern (node_child_process). Review and replace if possible.
.github/workflows/publish_npm.yaml:137 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in typescript/lib/runtime.cjs:5
Found a known-risky pattern (node_child_process). Review and replace if possible.
typescript/lib/runtime.cjs:5 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in typescript/scripts/build-native.mjs:4
Found a known-risky pattern (node_child_process). Review and replace if possible.
typescript/scripts/build-native.mjs:4 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in typescript/scripts/prepare-package.mjs:4
Found a known-risky pattern (node_child_process). Review and replace if possible.
typescript/scripts/prepare-package.mjs:4 Node child process
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — .github/scripts/verify_wheel.py:45
`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 Integrity conf 1.00 Network/subprocess call without timeout or try/except — src/tensorlake/function_executor/health_check.py:36
`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
low System graph quality Integrity conf 1.00 18 env vars used in code but missing from .env.example
Drift between code and config docs. The first few: `CARGO_TARGET_DIR`, `INDEXIFY_NAMESPACE`, `TENSORLAKE_CLI_BUILD_TOOL`, `TENSORLAKE_CLI_TARGET_ID`, `TENSORLAKE_CLI_TARGET_TRIPLE`, `TENSORLAKE_CODE_ZIP_SAVE_PATH`, `TENSORLAKE_DEBUG`, `TENSORLAKE_DOCAI_URL_V2` + 10 more. Add them (with a placeholde…
config drift
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 95 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 33 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.
8 files, 33 locations
.github/workflows/publish_npm.yaml:26, 46, 98, 159, 211, 266, 288, 298, +6 more (14 hits)
.github/workflows/publish_pypi.yaml:36, 68, 119, 135 (4 hits)
.github/workflows/publish_test_pypi.yaml:51, 87, 138, 154 (4 hits)
.github/workflows/tests.yaml:36, 60, 108, 234 (4 hits)
.github/workflows/document_ai.yaml:38, 78 (2 hits)
.github/workflows/publish_cli.yaml:71, 91 (2 hits)
.github/workflows/typescript_sdk.yaml:44, 124 (2 hits)
.github/workflows/sandbox_local_tests.yaml:19
CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 14 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: src/tensorlake/cloud_client.py:upsert_application, src/tensorlake/applications/remote/api_client.py:upsert_application This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or d…
14 occurrences
repo-level (14 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 20 places
Functions with the same first-5-line body hash: src/tensorlake/documentai/_parse.py:parse, src/tensorlake/documentai/_parse.py:parse, src/tensorlake/documentai/_parse.py:parse, src/tensorlake/documentai/_parse.py:parse This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — …
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: src/tensorlake/sandbox/client.py:create, src/tensorlake/sandbox/client.py:create_and_connect, src/tensorlake/sandbox/async_client.py:create, src/tensorlake/sandbox/async_client.py:create_and_connect This is *the* AI-coder failure mode (4× more duplic…
duplicatesduplication
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 8 places
Functions with the same first-5-line body hash: src/tensorlake/documentai/_extract.py:extract, src/tensorlake/documentai/_extract.py:extract, src/tensorlake/documentai/_extract.py:extract, src/tensorlake/documentai/_extract.py:extract This is *the* AI-coder failure mode (4× more duplication in vib…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `allocation_state_copy` in src/tensorlake/function_executor/allocation_runner/allocation_state_wrapper.py:98
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 `model_copy` in src/tensorlake/applications/blob_store/blob_store.py:226
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 `model_copy` in src/tensorlake/applications/local/runner.py:831
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 `model_copy` in src/tensorlake/applications/local/value_store.py:39
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 `request_v1` in tests/applications/app_update/test_app_update.py:61
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_dataset_accepts_files_from_files_v2` in tests/document_ai/test_datasets.py:297
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_parse_accepts_files_from_files_v2` in tests/document_ai/test_parse.py:410
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: await_future
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/runtime_hooks.py:66
low System graph software Dead code conf 1.00 Possibly dead Python function: coroutine_to_future
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/runtime_hooks.py:160
low System graph software Dead code conf 1.00 Possibly dead Python function: create_image_context_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/image.py:37
low System graph software Dead code conf 1.00 Possibly dead Python function: decorator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/utils/retries.py:54
low System graph software Dead code conf 1.00 Possibly dead Python function: delete_dataset_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_datasets.py:150
low System graph software Dead code conf 1.00 Possibly dead Python function: delete_parse_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_parse.py:888
low System graph software Dead code conf 1.00 Possibly dead Python function: files_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_files.py:71
low System graph software Dead code conf 1.00 Possibly dead Python function: forward_event
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/image/sandbox_builder.py:243
low System graph software Dead code conf 1.00 Possibly dead Python function: has_authentication
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/cli/_common.py:93
low System graph software Dead code conf 1.00 Possibly dead Python function: has_org_and_project
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/cli/_common.py:96
low System graph software Dead code conf 1.00 Possibly dead Python function: image_infos
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/image.py:22
low System graph software Dead code conf 1.00 Possibly dead Python function: list_archived
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/sandbox/client.py:607
low System graph software Dead code conf 1.00 Possibly dead Python function: list_archived
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/sandbox/async_client.py:314
low System graph software Dead code conf 1.00 Possibly dead Python function: list_datasets_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_datasets.py:289
low System graph software Dead code conf 1.00 Possibly dead Python function: list_parse_results_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_parse.py:972
low System graph software Dead code conf 1.00 Possibly dead Python function: register_coroutine
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/runtime_hooks.py:131
low System graph software Dead code conf 1.00 Possibly dead Python function: result_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_parse.py:1043
low System graph software Dead code conf 1.00 Possibly dead Python function: run_future
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/runtime_hooks.py:99
low System graph software Dead code conf 1.00 Possibly dead Python function: set_bytes
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/utils/cache.py:56
low System graph software Dead code conf 1.00 Possibly dead Python function: update_dataset_async
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/documentai/_datasets.py:375
low System graph software Dead code conf 1.00 Possibly dead Python function: wait_futures
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/tensorlake/applications/runtime_hooks.py:23
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 frontend Frontend quality conf 1.00 Stray `console.log` in TS/JS — typescript/src/http.ts:69
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 quality Integrity conf 1.00 Stub function `_noop_emit` (body is just `pass`/`return`) — src/tensorlake/image/sandbox_builder.py:58
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `api_key_id` (body is just `pass`/`return`) — src/tensorlake/cli/_common.py:65
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Integrity conf 1.00 Stub function `log_message` (body is just `pass`/`return`) — src/tensorlake/applications/request_context/http_server/router.py:94
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/cli/src/main.rs (2169 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/cloud-sdk/src/applications/models.rs (1705 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/cloud-sdk/src/sandbox_images.rs (3190 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/cloud-sdk/src/sandboxes/desktop.rs (1605 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: crates/rust-cloud-sdk-py/src/lib.rs (3053 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/tensorlake/applications/local/runner.py (1289 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/tensorlake/sandbox/client.py (1438 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/tensorlake/sandbox/sandbox.py (1372 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/function_executor/test_replay.py (1504 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/function_executor/test_run_allocation.py (1183 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/7981c581-5136-421d-92f2-4f5730429206/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/7981c581-5136-421d-92f2-4f5730429206/

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.