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.

yungie-kaenchan/futureproof-sdg-mission-lab

https://github.com/yungie-kaenchan/futureproof-sdg-mission-lab · scanned 2026-06-16 01:09 UTC (2 months, 1 week ago)

64 raw signals (0 security + 64 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 64 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 63.0/100 with 66.7% coverage. It contains 1012 nodes across 0 cross-layer flows, written primarily in mixed languages. Engine surfaced 64 findings — concentrated in quality (30), security (25), software (4). Risk profile is low: 0 critical, 0 high, 34 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 60 of 64 actionable findings. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

medium System graph quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/launch.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/launch.json VerificationClaude instruction
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 instructions exist but release-hardening basics are missing
AI-coder instruction files were found, but the repo is missing ci, tests, lockfile. 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: ci, tests, lockfile. 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 api/claude-proxy.js:238
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
api/claude-proxy.js:238 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in api/openai-stt.js:41
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
api/openai-stt.js:41 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in api/stability-proxy.js:54
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
api/stability-proxy.js:54 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'cors_wildcard' in api/tts-proxy.js:31
Found a known-risky pattern (cors_wildcard). Review and replace if possible.
api/tts-proxy.js:31 Cors wildcard
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/admin/index.html:645
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/admin/index.html:645 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/assessment.html:457
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/assessment.html:457 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/avatar.html:391
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/avatar.html:391 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/consent.html:327
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/consent.html:327 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/npc-interview.html:129
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/npc-interview.html:129 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/peer-judging.html:99
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/peer-judging.html:99 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in pages/reflections.html:93
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
pages/reflections.html:93 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/integrity-meter.js:25
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/integrity-meter.js:25 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/mission-phases.js:55
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/mission-phases.js:55 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/multimodal.js:27
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/multimodal.js:27 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/scenario-disclaimer.js:62
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/scenario-disclaimer.js:62 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/sdg03-eecfringe-m1.js:60
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/sdg03-eecfringe-m1.js:60 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/sdg04-takmaesot-m1.js:60
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/sdg04-takmaesot-m1.js:60 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/sdg06-khonkaen-m1.js:42
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/sdg06-khonkaen-m1.js:42 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/sdg11-bangkok-m1.js:60
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/sdg11-bangkok-m1.js:60 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/sdg13-chiangmai-m1.js:60
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/sdg13-chiangmai-m1.js:60 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/scenarios/sdg14-andaman-m1.js:60
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/scenarios/sdg14-andaman-m1.js:60 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/tooltips.js:33
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/tooltips.js:33 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/topbar-actions.js:40
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/topbar-actions.js:40 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/tour.js:56
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/tour.js:56 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in src/voice-guide.js:79
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
src/voice-guide.js:79 Direct innerhtml assignment
medium System graph quality Integrity conf 1.00 Network/subprocess call without timeout or try/except — scripts/fp_docgen.py:316
`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 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 36 placeholder/mock markers across 21 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 83 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 15 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 dependencies conf 1.00 Node manifest has dependencies but no lockfile: functions/package.json
`package.json` declares dependencies, but no same-directory npm/pnpm/yarn/bun lockfile was found. Generated projects without lockfiles are less reproducible and harder to secure-scan precisely.
functions/package.json LockfileReproducibilityGenerated repo pattern
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `fp_a11y_prefs_v1` in src/a11y.js:31
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 `fp_a11y_prefs_v1` in src/tooltips.js:6
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 `fp_flow_state_v1` in src/auth.js:13
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 `fp_future_plan_v1` in src/portfolio.js:138
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 `fp_home_status_seen_v1` in src/home-status-popup.js:4
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 `fp_mission_tour_seen_v1` in src/mission-tour.js:14
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 `fp_studio_state_v1` in src/studio.js:21
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 `fp_tour_seen_v1` in src/tour.js:11
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 `fp_vfc_draft_v1` in src/voice-for-change.js:30
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: handle_data
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/html2fp.py:83
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_endtag
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/html2fp.py:93
low System graph software Dead code conf 1.00 Possibly dead Python function: handle_starttag
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/html2fp.py:55
low System graph software Dead code conf 1.00 Possibly dead Python function: thai_body
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/fp_docgen.py:169
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 — functions/index.js:313
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/inject-config.js:52
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-sample-data.js:169
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: src/assessment-sets.js (1786 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/scenario.js (962 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/scenarios/sdg03-eecfringe-m1.js (1085 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/scenarios/sdg04-takmaesot-m1.js (1085 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/scenarios/sdg11-bangkok-m1.js (1085 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/scenarios/sdg13-chiangmai-m1.js (1085 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/scenarios/sdg14-andaman-m1.js (1085 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/ed10527f-9095-4dc9-b066-6d8b2917e768/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/ed10527f-9095-4dc9-b066-6d8b2917e768/

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.