A simple, secure, easy-to-use bastion and session auditing system. Supports RDP, SSH, VNC, Telnet, HTTP, records and replays sessions for auditing and compliance.
This report summarizes scanner evidence for next-terminal/next-terminal, a TypeScript project with 5,674 GitHub stars. SynthScan examined 97,282 lines of code across 478 source files, recording 36 pattern matches distributed across 7 syntactic categories. The legacy adjusted pattern signal is 0.6 (Low pattern signal); it is not an authorship estimate.
Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.
Use each vector to guide manual verification of the underlying findings.
Payload schema: 1.0.0 · Engine: 2.0.0 · Scoring: heuristic-density-v1 · Scan date: 2026-10-31.
Can maintainers explain intent, assumptions, and trade-offs? 21 finding(s).
Are imports declared and package/API names verified? 7 finding(s).
Are wrappers, guards, and repeated structures necessary? 25 finding(s).
Which changes need focused human review? 36 finding(s).
This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.
Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.
This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.
The scanner identified 36 distinct pattern matches across 7 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.
Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | scripts/migrate.py | 15 | # ── 终端颜色 ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 33 | # ── 通用输入工具 ────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 277 | # ── Docker 检查 ─────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 293 | # ── 第一步:启动 PostgreSQL ─────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 371 | # ── 第二步:执行数据迁移 ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 397 | # ── 第三步:更新配置文件 ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 530 | # ── 迁移流程 ────────────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | scripts/migrate.py | 620 | # ── 主入口 ──────────────────────────────────────────────────────────────────── | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tests/nt_api_test.py | 20 | def test_persistent_skill_installation(self): | CODE |
| LOW⚡ | tests/nt_api_test.py | 48 | def test_discovery_uses_complete_document(self): | CODE |
| LOW⚡ | tests/nt_api_test.py | 56 | def test_discovery_requires_api_key(self): | CODE |
| LOW⚡ | tests/nt_api_test.py | 64 | def test_permissions_queries_account_and_license(self): | CODE |
| LOW | tests/nt_api_test.py | 75 | def test_contract_discovery_resolves_recursive_references(self): | CODE |
| LOW | tests/nt_api_test.py | 82 | def test_http_authentication_no_content_and_redirect_rejection(self): | CODE |
| LOW | scripts/backup_restore.py | 331 | def run_psql_restore_from_file(args, lang, input_path, workdir): | CODE |
| LOW | scripts/backup_restore.py | 413 | def item_key_from_member_name(member_name, data_dir): | CODE |
| LOW | scripts/backup_restore.py | 431 | def collect_archive_members_by_item(tar, data_dir): | CODE |
| LOW | scripts/migrate.py | 77 | def normalize_compose_project_name(name: str) -> str: | CODE |
| LOW | scripts/migrate.py | 82 | def extract_compose_project_name(compose_file: str, content: str) -> str: | CODE |
| LOW | scripts/migrate.py | 103 | def extract_first_service_network_key(service_block: str) -> str: | CODE |
| LOW | scripts/migrate.py | 124 | def extract_custom_network_name(content: str, network_key: str) -> str: | CODE |
| LOW | scripts/migrate.py | 140 | def guess_mysql_network_from_compose(compose_file: str) -> str: | CODE |
| LOW | scripts/migrate.py | 179 | def ask_and_validate_docker_network(default_network: str) -> str: | CODE |
| LOW | scripts/migrate.py | 208 | def parse_mysql_defaults_from_compose(compose_file: str) -> dict: | CODE |
| LOW | src/components/ui/chart.tsx | 331 | function getPayloadConfigFromPayload( | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | scripts/migrate.py | 528 | warn(" docker compose down && docker compose up -d") | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | src/pages/sysconf/SMSSetting.tsx | 149 | placeholder={'{\n "X-API-Key": "your-api-key"\n}'} | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | public/agent/next-terminal/scripts/nt_api.py | 57 | CODE | |
| LOW | scripts/backup_restore.py | 250 | CODE | |
| LOW | scripts/backup_restore.py | 447 | CODE | |
| LOW | scripts/migrate.py | 208 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/react-i18next/locales/ja-JP.json | 3239 | "placeholder": "質問を入力、Shift + Enter で改行", | CODE |
| LOW | src/react-i18next/locales/zh-CN.json | 3125 | "placeholder": "输入问题,Shift + Enter 换行", | CODE |
| LOW | src/react-i18next/locales/zh-TW.json | 3239 | "placeholder": "輸入問題,Shift + Enter 換行", | CODE |
| LOW | src/react-i18next/locales/en-US.json | 3125 | "placeholder": "Ask a question. Shift + Enter for newline", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/backup_restore.py | 3 | CODE |