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.

twavetech-frontend/figma-design-agent

https://github.com/twavetech-frontend/figma-design-agent · scanned 2026-06-16 00:45 UTC (2 months, 1 week ago)

72 raw signals (0 security + 72 graph)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 2 months, 1 week ago · v1 · 69 actionable findings from 1 signal source. 3 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 47.2/100 with 66.7% coverage. It contains 1776 nodes across 1 cross-layer flows, written primarily in mixed languages. Engine surfaced 72 findings — concentrated in quality (41), software (15), frontend (11). Risk profile is low: 0 critical, 0 high, 7 medium. Recommended next step: open the quality layer findings first — that's where the highest-impact wins live.

Showing 54 of 69 actionable findings. 72 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 quality Agent instructions conf 1.00 Agent authority lacks a verifier contract: .claude/settings.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.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 license, operator-readme. 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 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/sync-tokens.yml CI/CD securitySupply chainGithub actions
medium System graph security security conf 1.00 Insecure pattern 'direct_innerhtml_assignment' in docs/figma-design-agent-overview.html:535
Found a known-risky pattern (direct_innerhtml_assignment). Review and replace if possible.
docs/figma-design-agent-overview.html:535 Direct innerhtml assignment
medium System graph security security conf 1.00 Insecure pattern 'node_child_process' in src/shared/ds-data.ts:10
Found a known-risky pattern (node_child_process). Review and replace if possible.
src/shared/ds-data.ts:10 Node child process
medium System graph quality Placeholder conf 1.00 Placeholder or mock-heavy implementation detected
Found 81 placeholder/mock markers across 11 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 quality Production readiness conf 1.00 Composite production-readiness gap
Multiple low-cost hardening controls are missing together: license, operator-readme. 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 312 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 GitHub Action is tag-pinned rather than SHA-pinned
actions/setup-node@v4 can move without a code change in this repo. Pin third-party actions to a reviewed 40-character commit SHA.
.github/workflows/sync-tokens.yml:18 CI/CD securitySupply chainGithub actions
low System graph quality Integrity conf 1.00 4 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: scripts/transform_v32_to_home_schedule.py:find, scripts/transform_v32_to_imin_home_1.py:find 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 separa…
4 occurrences
repo-level (4 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: scripts/design_rules/R61_no_emoji_in_text.py:walk, scripts/design_rules/R61_no_emoji_in_text.py:walk, scripts/design_rules/R61_no_emoji_in_text.py:walk This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/a…
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: scripts/figma_mcp_client.py:find_recommend, scripts/figma_mcp_client.py:find_recommend, scripts/figma_mcp_client.py:find, scripts/figma_mcp_client.py:find 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 Near-duplicate function bodies in 84 places
Functions with the same first-5-line body hash: scripts/figma_mcp_client.py:walk, scripts/figma_mcp_client.py:walk, scripts/figma_mcp_client.py:walk, scripts/figma_mcp_client.py:walk This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). …
duplicatesduplication
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 Integrity conf 1.00 Old/deprecated-named symbol `_collect_tree_legacy` in scripts/figma_mcp_client.py:5710
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 `blueprint_home_schedule_v1` in scripts/transform_v32_to_home_schedule.py:293
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 `feedback_underline_tab_v2` in scripts/design_rules/R29_segmented_control.py:3
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 `feedback_underline_tab_v2` in scripts/design_rules/R54_underline_width.py:7
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 `imin_brandnew_v1` in scripts/tests/test_creative_divergence_gates.py:128
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 `imin_home_dashboard_v2` in scripts/tests/test_reference_archetype.py:33
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 cicd CI/CD security conf 1.00 package.json defines install-time lifecycle scripts
preinstall/install/postinstall/prepare scripts execute during dependency installation. Review them carefully for network calls, obfuscation, shell execution, or credential access.
package.json CI/CD securitySupply chainNpm
low System graph software Dead code conf 1.00 Possibly dead Python function: button_variant_props
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:676
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_checkbox_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:958
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_dropdown_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:885
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_input_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:866
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_progress_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:1016
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_radio_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:976
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_slider_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:994
low System graph software Dead code conf 1.00 Possibly dead Python function: detect_toggle_shape
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/ds_catalog.py:942
low System graph software Dead code conf 1.00 Possibly dead Python function: hero_banner_template
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/archetype_catalog.py:291
low System graph software Dead code conf 1.00 Possibly dead Python function: list_item_card_template
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/archetype_catalog.py:241
low System graph software Dead code conf 1.00 Possibly dead Python function: phases
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/base.py:71
low System graph software Dead code conf 1.00 Possibly dead Python function: product_card_template
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/archetype_catalog.py:151
low System graph software Dead code conf 1.00 Possibly dead Python function: stage_card_template
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/archetype_catalog.py:60
low System graph software Dead code conf 1.00 Possibly dead Python function: stat_card_template
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
scripts/design_rules/archetype_catalog.py:197
low System graph quality Docs conf 1.00 README lacks setup or run instructions
A README exists, but it does not contain common install/setup/run markers. This matches a frequent generated-code pattern: UI is present, operational handoff is thin.
ReadmeRepo 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 — scripts/patch-hono-mcp.js:25
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/patch-sync-agent.js:21
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/scrape_uibowl.js:48
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/test-icons.ts:11
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 — src/bridge/index.ts:50
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 — src/figma-plugin/code.js:104
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 — src/main/figma-mcp-embedded.ts:606
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 — src/main/figma-ws-server.ts:60
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 — src/main/mcp-http-server.ts:92
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 — src/main/untitled-icons.ts:80
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 — src/shared/ds-data.ts:314
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: scripts/design_rules/ds_catalog.py (1198 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/figma_mcp_client.py (14178 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: scripts/unified_blueprint.py (1491 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/figma-plugin/code.js (6612 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/main/figma-mcp-embedded.ts (2275 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/200d3a99-8311-4065-995d-2d5e33c8b288/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/200d3a99-8311-4065-995d-2d5e33c8b288/

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.