一款内网综合扫描工具,方便一键自动化、全方位漏扫扫描。(An intranet comprehensive scanning tool, enabling one-click automated, all-round vulnerability scanning)
This report summarizes scanner evidence for shadow1ng/fscan, a Go project with 14,729 GitHub stars. SynthScan examined 166,318 lines of code across 1008 source files, recording 133 pattern matches distributed across 9 syntactic categories. The legacy adjusted pattern signal is 2.5 (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? 27 finding(s).
Are imports declared and package/API names verified? 8 finding(s).
Are wrappers, guards, and repeated structures necessary? 98 finding(s).
Which changes need focused human review? 133 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 133 distinct pattern matches across 9 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 | core/port_scan.go | 884 | // ── 阶段 1:网关启发式 ────────────────────────────────── | COMMENT |
| MEDIUM | core/port_scan.go | 909 | // ── 阶段 2:逐主机兜底(仅对网关未命中的子网)────────── | COMMENT |
| MEDIUM | plugins/services/cassandra.go | 71 | // ── raw TCP Cassandra CQL 协议 ────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/cassandra.go | 170 | // ── CQL wire protocol 工具 ────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/cassandra.go | 252 | // ── 错误分类 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/cassandra.go | 267 | // ── 无认证 + 服务识别 ────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/mongodb.go | 90 | // ── raw TCP MongoDB SCRAM 认证 ────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/mongodb.go | 181 | // ── MongoDB wire protocol 工具 ────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/mongodb.go | 600 | // ── 服务识别 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/kafka.go | 66 | // ── raw TCP Kafka 实现 ────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/kafka.go | 154 | // ── Kafka 协议编解码 ──────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/kafka.go | 220 | // ── 错误分类 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | plugins/services/kafka.go | 239 | // ── 服务识别 ──────────────────────────────────────────────────── | COMMENT |
| MEDIUM | web/api/project.go | 200 | // ─── HTTP Handlers ────────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 2 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 4 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 26 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 28 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 46 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 48 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 102 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 104 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 166 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 168 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 225 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 227 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 300 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 302 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 317 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 319 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 333 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 335 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 375 | # ============================================ | COMMENT |
| MEDIUM | fscan-lab/docker-compose.yml | 377 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 27 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 29 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 38 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 40 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 45 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 47 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 53 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 55 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 61 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 63 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 69 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 71 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 76 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 78 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 82 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 84 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 91 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 93 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 96 | # ============================================ | COMMENT |
| MEDIUM⚡ | fscan-lab/docker/firewall/firewall.sh | 98 | # ============================================ | COMMENT |
| MEDIUM | tests/integration/integration_test.go | 41 | // ── Redis ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/integration/integration_test.go | 86 | // ── MySQL ────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/integration/integration_test.go | 110 | // ── PostgreSQL ───────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/integration/integration_test.go | 134 | // ── FTP ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/integration/integration_test.go | 158 | // ── SSH ──────────────────────────────────────────────────────── | COMMENT |
| MEDIUM | tests/integration/integration_test.go | 182 | // ── MongoDB ──────────────────────────────────────────────────── | COMMENT |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| CRITICAL | webscan/pocs/qiyuesuo-template-param-edits-rce.yaml | 26 | {"id":"2","params":[{"expression":"var a=new org.springframework.expression.spel.standard.SpelExpressionParser() | CODE |
| CRITICAL | webscan/pocs/qiyuesuo-template-html-add-rce.yaml | 26 | {"file":"1","title":"2","params":[{"extensionParam":"{\"expression\":\"var a=new org.springframework.expression. | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | plugins/services/cassandra.go | 102 | // Step 1: STARTUP (CQL_VERSION=3.0.0) | COMMENT |
| LOW⚡ | plugins/services/cassandra.go | 109 | // Step 2: 读取响应 | COMMENT |
| LOW | plugins/services/cassandra.go | 123 | // Step 3: 如果需要认证 | COMMENT |
| LOW | plugins/services/cassandra.go | 149 | // Step 4: 发送测试查询 | COMMENT |
| LOW | plugins/services/mongodb.go | 103 | // Step 1: isMaster 获取服务参数 | COMMENT |
| LOW | plugins/services/mongodb.go | 115 | // Step 2: saslStart SCRAM-SHA-1 | COMMENT |
| LOW | plugins/services/kafka.go | 85 | // Step 1: ApiVersions 握手 (api_key=18, api_version=0) | COMMENT |
| LOW | plugins/services/kafka.go | 96 | // Step 2: SASL/PLAIN 认证 (如果需要) | COMMENT |
| LOW | plugins/services/kafka.go | 137 | // Step 3: Metadata 请求验证连接 (api_key=3, api_version=0) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW⚡ | plugins/services/cassandra.go | 102 | // Step 1: STARTUP (CQL_VERSION=3.0.0) | COMMENT |
| LOW⚡ | plugins/services/cassandra.go | 109 | // Step 2: 读取响应 | COMMENT |
| LOW | plugins/services/cassandra.go | 123 | // Step 3: 如果需要认证 | COMMENT |
| LOW | plugins/services/cassandra.go | 149 | // Step 4: 发送测试查询 | COMMENT |
| LOW | plugins/services/mongodb.go | 103 | // Step 1: isMaster 获取服务参数 | COMMENT |
| LOW | plugins/services/mongodb.go | 115 | // Step 2: saslStart SCRAM-SHA-1 | COMMENT |
| LOW | plugins/services/kafka.go | 85 | // Step 1: ApiVersions 握手 (api_key=18, api_version=0) | COMMENT |
| LOW | plugins/services/kafka.go | 96 | // Step 2: SASL/PLAIN 认证 (如果需要) | COMMENT |
| LOW | plugins/services/kafka.go | 137 | // Step 3: Metadata 请求验证连接 (api_key=3, api_version=0) | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | core/adaptive_pool.go | 21 | HealthCongested // 明确拥塞,大幅降速 | COMMENT |
| LOW | libs/grdp/protocol/pdu/data.go | 321 | core.WriteUInt16LE(c.NumberCapabilities, buff) | COMMENT |
| LOW | libs/grdp/protocol/x224/x224.go | 321 | x.Emit("reconnect", PROTOCOL_HYBRID) | COMMENT |
| LOW | common/proxy/manager_test.go | 421 | t.Logf("✓ Stats 反映配置信息") | COMMENT |
| LOW | common/proxy/manager_test.go | 441 | // done := make(chan bool) | COMMENT |
| LOW | common/proxy/manager_test.go | 461 | // } | COMMENT |
| LOW | common/config/constants.go | 21 | // 注意:9100 已移除,该端口为打印机 RAW 端口,发送数据会触发打印 (Issue #517) | COMMENT |
| LOW | pkg/fscan/doc.go | 1 | // Package fscan exposes fscan as an embeddable scanner library. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | fscan-lab/docker/services/core/mongo/init.js | 21 | print('MongoDB initialized with final flag'); | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/perftest/plot_results.py | 23 | CODE | |
| LOW | tools/perftest/plot_results.py | 24 | CODE | |
| LOW | fscan-lab/test-services/Weblogic/create-domain.py | 1 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | plugins/services/smtp.go | 122 | if err := client.Mail("test@test.com"); err != nil { | CODE |
| LOW | webscan/pocs/nexus-cve-2020-10204.yml | 11 | {"action":"coreui_User","method":"update","data":[{"userId":"anonymous","version":"1","firstName":"Anonymous","las | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | tools/perftest/plot_benchmarks.py | 17 | CODE |