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.

smactee/expatise

https://github.com/smactee/expatise · scanned 2026-06-16 00:18 UTC (2 months, 2 weeks ago)

203 raw signals (61 security + 142 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 2 weeks ago · v1 · 131 actionable findings from 2 signal sources. 259 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 73.0/100 with 100.0% coverage. It contains 6582 nodes across 1 cross-layer flows, written primarily in mixed languages. Engine surfaced 142 findings — concentrated in security (93), quality (40), frontend (7). Risk profile is high: 24 critical, 0 high, 81 medium. Recommended next step: open the security layer findings first — that's where the highest-impact wins live.

Showing 75 of 131 actionable findings. 390 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 Security checks quality Practices conf 0.82 3 occurrences Foundry mined mock as real or placeholder: smactee/expatise
Graph query export: Mock, sample, placeholder, or self-attested behavior treated as real Query id: mock_as_real_or_placeholder Query type: motif_query Intent: Hard negatives for fake completeness and missing real data paths. Motif: mock_as_real_or_placeholder Training usage: hard_negative Graph gol…
3 occurrences
repo-level (3 hits)
critical Security checks security auth conf 0.78 15 occurrences Foundry mined security auth guardrail gaps: smactee/expatise
Graph query export: Security/auth changes without enough guardrails Query id: security_auth_guardrail_gaps Query type: motif_query Intent: Assumption-check security/auth examples requiring stronger tests or CI. Motif: security_auth_without_guardrails Training usage: assumption_check Graph gold labe…
15 occurrences
repo-level (15 hits)
critical System graph security Secrets conf 1.00 4 occurrences Possible secret in messages/de.ts
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 60, 85, 377, 391
messages/de.ts:60, 85, 377, 391 (4 hits)
critical System graph security Secrets conf 1.00 4 occurrences Possible secret in messages/en.ts
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 57, 82, 374, 388
messages/en.ts:57, 82, 374, 388 (4 hits)
critical System graph security Secrets conf 1.00 4 occurrences Possible secret in messages/es.ts
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 60, 85, 377, 391
messages/es.ts:60, 85, 377, 391 (4 hits)
critical System graph security Secrets conf 1.00 4 occurrences Possible secret in messages/fr.ts
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 60, 85, 377, 391
messages/fr.ts:60, 85, 377, 391 (4 hits)
critical System graph security Secrets conf 1.00 4 occurrences Possible secret in messages/ja.ts
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 65, 91, 387, 401
messages/ja.ts:65, 91, 387, 401 (4 hits)
critical System graph security Secrets conf 1.00 4 occurrences Possible secret in messages/ko.ts
Detected pattern matching password_literal. Rotate the credential and move to a secret manager.
lines 59, 84, 373, 387
messages/ko.ts:59, 84, 373, 387 (4 hits)
high Security checks quality Practices conf 0.84 55 occurrences Foundry mined bad chains: smactee/expatise
Comment chain pattern product: bad_chains Repo: smactee/expatise Thread: smactee/expatise#91 Outcome: not_resolved_or_not_observed Thread label: thread_has_human_issue_without_fix_context Source graph label: source_backed_multi_signal_graph Reasons: source_graph_has_real_artifacts, source_graph_has…
55 occurrences
repo-level (55 hits)
high Security checks quality Quality conf 0.76 2 occurrences Foundry mined schema ui api mismatch: smactee/expatise
Graph query export: Schema, UI, and API mismatch Query id: schema_ui_api_mismatch Query type: motif_query Intent: Assumption-check examples for data-path consistency across layers. Motif: schema_ui_api_mismatch Training usage: assumption_check Graph gold label: assumption_check Repo: smactee/expati…
2 occurrences
repo-level (2 hits)
medium Security checks quality Practices conf 0.62 39 occurrences Foundry mined assumption checks: smactee/expatise
Comment chain pattern product: assumption_checks Repo: smactee/expatise Thread: smactee/expatise#96 Outcome: claimed_resolved_unverified Thread label: thread_has_human_issue_and_fix_context Source graph label: source_backed_multi_signal_graph Reasons: source_graph_has_real_artifacts, source_graph_h…
39 occurrences
repo-level (39 hits)
medium Security checks quality maintenance conf 0.70 40 occurrences Foundry mined blueprint gap alignment: smactee/expatise
Graph query export: Human feedback aligned with blueprint or architecture gaps Query id: blueprint_gap_alignment Query type: motif_query Intent: Curriculum-gap examples connecting issue threads to helicopter-view gaps. Motif: blueprint_gap_alignment Training usage: curriculum_gap Graph gold label: …
40 occurrences
repo-level (40 hits)
medium Security checks quality Practices conf 0.70 94 occurrences Foundry mined unresolved feedback: smactee/expatise
Graph query export: Human feedback without linked fix evidence Query id: unresolved_feedback Query type: motif_query Intent: Negative/unresolved examples that should not be hallucinated into fixes. Motif: unlinked_feedback_needs_evidence Training usage: negative_or_unresolved Graph gold label: weak…
94 occurrences
repo-level (94 hits)
medium System graph frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — app/(premium)/stats/CoachReport.client.tsx:108
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 frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — app/layout.tsx:25
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 frontend Frontend quality conf 1.00 `dangerouslySetInnerHTML` used in a React component — components/QuestionExplanationToggle.tsx:51
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 — lib/qbank/loadDataset.ts:351
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 — supabase/functions/coach/index.ts:158
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: 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. 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 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 supabase/functions/reset-stats/index.ts:10
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
supabase/functions/reset-stats/index.ts:10 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in app/(premium)/stats/CoachReport.client.tsx:108
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
app/(premium)/stats/CoachReport.client.tsx:108 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in app/layout.tsx:25
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
app/layout.tsx:25 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'dangerous_innerhtml' in components/QuestionExplanationToggle.tsx:51
Found a known-risky pattern (dangerous_innerhtml). Review and replace if possible.
components/QuestionExplanationToggle.tsx:51 Dangerous innerhtml
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/build-fr-final-audit-workbench.mjs:1290
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/build-fr-final-audit-workbench.mjs:1290 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/build-fr-new-question-promotion-workbench.mjs:551
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/build-fr-new-question-promotion-workbench.mjs:551 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/build-fr-wrapup-workbench.mjs:797
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/build-fr-wrapup-workbench.mjs:797 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/generate-answer-key-review.mjs:619
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/generate-answer-key-review.mjs:619 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/generate-batch-review-artifact.mjs:974
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/generate-batch-review-artifact.mjs:974 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/generate-batch-workbench.mjs:3513
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/generate-batch-workbench.mjs:3513 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/generate-single-answer-key-review.mjs:471
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/generate-single-answer-key-review.mjs:471 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in scripts/generate-unresolved-review-artifact.mjs:581
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
scripts/generate-unresolved-review-artifact.mjs:581 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in app/login/CreateAccountModal.tsx:228
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
app/login/CreateAccountModal.tsx:228 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'local_storage_auth_token' in app/login/page.tsx:294
Found a known-risky pattern (local_storage_auth_token). Review and replace if possible.
app/login/page.tsx:294 Local storage auth token
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/apply-batch-workbench-decisions.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/apply-batch-workbench-decisions.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/apply-consolidated-backlog-workbench-decisions.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/apply-consolidated-backlog-workbench-decisions.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/finalize-localization-run.mjs:8
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/finalize-localization-run.mjs:8 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/generate-consolidated-backlog-workbench.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/generate-consolidated-backlog-workbench.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/generate-curated-snapshot.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/generate-curated-snapshot.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/guard-protected-qbank-files.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/guard-protected-qbank-files.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/next-language-preflight-lib.mjs:1
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/next-language-preflight-lib.mjs:1 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/process-screenshot-batch.mjs:5
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/process-screenshot-batch.mjs:5 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/qbank-health-check.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/qbank-health-check.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/release-cleanup-lib.mjs:6
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/release-cleanup-lib.mjs:6 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/run-combination-rule-promotion.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/run-combination-rule-promotion.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/run-final-targeted-pass.mjs:3
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/run-final-targeted-pass.mjs:3 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/ship-batch.mjs:28
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/ship-batch.mjs:28 Node child process
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in scripts/validate-topic-narrowing.mjs:19
Found a known-risky pattern (node_child_process). Review and replace if possible.
scripts/validate-topic-narrowing.mjs:19 Node child process
medium System graph cicd CI/CD security conf 1.00 No CI/CD pipelines detected
No GitHub Actions, GitLab CI, or CircleCI configs found. Without CI you can't gate deploys on tests/lints.
CI/CD securityCoverage
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 49 placeholder/mock markers across 24 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 Placeholder conf 1.00 Runtime service client appears to use placeholder configuration
A runtime source file appears to wire Supabase/Firebase/AI/payment-style clients to placeholder URLs, keys, or fallback values. In the Fable corpus this often means the UI/API shape is present while the backend service is not actually configured.
Runtime configService clientGenerated repo pattern
medium System graph quality Tests conf 1.00 Very low test-to-source ratio
13 test file(s) for 291 source file(s) (ratio 0.04). Consider adding integration or unit tests for critical paths.
Coverage
low System graph quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, ci. Opus verification showed these co-occurring gaps are a better readiness signal than reading each flag in isolation.
Repo hardeningGenerated repo pattern
low System graph quality Debug conf 1.00 Debug logging residue appears in source files
Found 535 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 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 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 — app/(premium)/all-questions/AllQuestionsClient.client.tsx:358
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 — app/(premium)/real-test/AllTestClient.client.tsx:75
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/derive-qid-topics.ts:68
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 — supabase/functions/coach/index.ts:245
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 Complexity conf 1.00 Very large file: qbank-tools/lib/pipeline.mjs (9952 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/apply-fr-wrapup-decisions.mjs (1343 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/apply-ru-discrepancy-review-decisions.mjs (1189 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/build-duplicate-candidate-review.mjs (1277 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/build-fr-final-audit-workbench.mjs (1425 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/build-fr-wrapup-workbench.mjs (1283 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/build-ru-discrepancy-review-workbench.mjs (2593 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/generate-batch-workbench.mjs (4515 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/generate-curated-snapshot.mjs (1674 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/generate-image-replacement-second-pass-workbench.mjs (2448 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/generate-image-replacement-workbench.mjs (1903 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/generate-qbank-ko-translations.mjs (1649 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/japanese-review-intelligence-lib.mjs (1752 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/notebooklm-suggest-batch.mjs (1834 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/1f18673c-4342-45a6-9a8f-3f8b34918f85/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/1f18673c-4342-45a6-9a8f-3f8b34918f85/

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.