xrdp: an open source RDP server
This report summarizes scanner evidence for neutrinolabs/xrdp, a C project with 6,774 GitHub stars. SynthScan examined 210,097 lines of code across 514 source files, recording 235 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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? 206 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 29 finding(s).
Which changes need focused human review? 235 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 235 distinct pattern matches across 5 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 |
|---|---|---|---|---|
| LOW | xrdpvr/xrdpvr_internal.h | 21 | */ | COMMENT |
| LOW | xrdpvr/xrdpvr_internal.h | 41 | #define DISTRO_UBUNTU1204 | COMMENT |
| LOW | fontutils/dumpfv1.c | 21 | #if defined(HAVE_CONFIG_H) | COMMENT |
| LOW | fontutils/mkfv1.c | 21 | #endif | COMMENT |
| LOW | tools/devel/tcp_proxy/main.c | 21 | #endif | COMMENT |
| LOW | tools/devel/gtcp_proxy/gtcp-proxy.c | 21 | #endif | COMMENT |
| LOW | xrdp_accel_assist/xrdp_accel_assist_x11.c | 41 | #include "arch.h" | COMMENT |
| LOW | xrdp_accel_assist/xrdp_accel_assist_glx.c | 21 | #endif | COMMENT |
| LOW | xrdp_accel_assist/xrdp_accel_assist_egl.c | 21 | #endif | COMMENT |
| LOW | xrdp_accel_assist/xrdp_accel_assist.c | 21 | #endif | COMMENT |
| LOW | xrdp_accel_assist/xrdp_accel_assist_nvenc.c | 21 | #endif | COMMENT |
| LOW | xrdp_accel_assist/encoder_headers/nvEncodeAPI_11_1.h | 121 | #define NVENCAPI_STRUCT_VERSION(ver) ((uint32_t)NVENCAPI_VERSION | ((ver)<<16) | (0x7 << 28)) | COMMENT |
| LOW | xrdp_accel_assist/encoder_headers/nvEncodeAPI_11_0.h | 121 | #define NVENCAPI_STRUCT_VERSION(ver) ((uint32_t)NVENCAPI_VERSION | ((ver)<<16) | (0x7 << 28)) | COMMENT |
| LOW | sesman/sig.c | 21 | * @file sig.c | COMMENT |
| LOW | sesman/display_utils.c | 21 | * @file display_utils.c | COMMENT |
| LOW | sesman/eicp_process.c | 21 | * @file eicp_process.c | COMMENT |
| LOW | sesman/scp_process.c | 21 | * @file scp.c | COMMENT |
| LOW | sesman/sesexec_control.c | 21 | * @file sesexec_control.c | COMMENT |
| LOW | sesman/sesman.c | 21 | * @file sesman.c | COMMENT |
| LOW | sesman/sesman.c | 41 | #include "ercp_process.h" | COMMENT |
| LOW | sesman/startwm.sh | 1 | #!/usr/bin/env bash | COMMENT |
| LOW | sesman/startwm.sh | 81 | fi | COMMENT |
| LOW | sesman/tools/sesadmin.c | 21 | #include <config_ac.h> | COMMENT |
| LOW | sesman/tools/dis.c | 21 | #endif | COMMENT |
| LOW | sesman/tools/sesrun.c | 21 | * @file sesrun.c | COMMENT |
| LOW | sesman/tools/sesrun.c | 41 | #include "guid.h" | COMMENT |
| LOW | sesman/tools/authtest.c | 21 | * @file authtest.c | COMMENT |
| LOW | sesman/libsesman/sesman_config.c | 21 | * @file config.c | COMMENT |
| LOW | sesman/libsesman/sesman_config.c | 41 | #include "scp.h" | COMMENT |
| LOW | sesman/libsesman/sesman_config.c | 61 | #define SESMAN_CFG_LOG_LEVEL "LogLevel" | COMMENT |
| LOW | sesman/libsesman/verify_user.c | 21 | * @file verify_user.c | COMMENT |
| LOW | sesman/libsesman/verify_user_bsd.c | 21 | * @file verify_user_bsd.c | COMMENT |
| LOW | sesman/sesexec/session.c | 41 | COMMENT | |
| LOW | sesman/sesexec/sesexec_discover.c | 21 | * @file sesexec_discover.c | COMMENT |
| LOW | sesman/sesexec/env.c | 21 | * @file env.c | COMMENT |
| LOW | sesman/sesexec/eicp_server.c | 21 | * @file eicp_server.c | COMMENT |
| LOW | sesman/sesexec/login_info.c | 21 | * @file login_info.c | COMMENT |
| LOW | sesman/sesexec/login_info.c | 41 | #include "sesexec.h" | COMMENT |
| LOW | sesman/sesexec/ercp_server.c | 21 | * @file ercp_server.c | COMMENT |
| LOW | sesman/sesexec/sessionrecord.c | 41 | COMMENT | |
| LOW | sesman/sesexec/sessionrecord.c | 61 | COMMENT | |
| LOW | sesman/sesexec/sesexec.c | 21 | * @file sesexec.c | COMMENT |
| LOW | sesman/chansrv/chansrv_config.c | 21 | COMMENT | |
| LOW | sesman/chansrv/chansrv_config.c | 41 | #define DEFAULT_ENABLE_FUSE_MOUNT 1 | COMMENT |
| LOW | sesman/chansrv/sound.h | 21 | COMMENT | |
| LOW | sesman/chansrv/smartcard_internal.h | 21 | * smartcard redirection support | COMMENT |
| LOW | sesman/chansrv/audin.c | 21 | COMMENT | |
| LOW | sesman/chansrv/clipboard.c | 161 | COMMENT | |
| LOW | sesman/chansrv/rail.c | 21 | http://www.freedesktop.org/wiki/Specifications/wm-spec | COMMENT |
| LOW | sesman/chansrv/devredir.c | 41 | #include <stdio.h> | COMMENT |
| LOW | sesman/chansrv/smartcard.c | 81 | #define SCARD_IOCTL_LIST_READERS_A 0x00090028 /* ListReaders ASCII */ | COMMENT |
| LOW | sesman/chansrv/smartcard.c | 101 | #define SCARD_IOCTL_TRANSMIT 0x000900D0 /* Transmit */ | COMMENT |
| LOW | sesman/chansrv/chansrv_fuse.c | 161 | #include <string.h> | COMMENT |
| LOW | sesman/chansrv/smartcard_pcsc.c | 41 | #define JAY_TODO_WIDE 1 | COMMENT |
| LOW | sesman/chansrv/smartcard_pcsc.c | 1441 | lcard->card, lcard->card_bytes, | COMMENT |
| LOW | sesman/chansrv/chansrv.c | 21 | #include <config_ac.h> | COMMENT |
| LOW | sesman/chansrv/chansrv.c | 41 | #include "rail.h" | COMMENT |
| LOW | sesman/chansrv/sound.c | 21 | #endif | COMMENT |
| LOW | sesman/chansrv/sound.c | 41 | #if defined(XRDP_FDK_AAC) | COMMENT |
| LOW | sesman/chansrv/clipboard_file.c | 21 | * | COMMENT |
| 141 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | genkeymap/dump-keymaps.sh | 6 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | genkeymap/dump-keymaps.sh | 14 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | genkeymap/dump-keymaps.sh | 31 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | genkeymap/dump-keymaps.sh | 33 | # ----------------------------------------------------------------------------- | COMMENT |
| MEDIUM | xrdp/xrdp_keyboard.toml | 5 | # ------------------- | COMMENT |
| MEDIUM | xrdp/xrdp_keyboard.toml | 41 | # ------------------------------------------------ | COMMENT |
| MEDIUM | xrdp/xrdp_keyboard.toml | 54 | # -------------------- | COMMENT |
| MEDIUM | scripts/install_xrdp_build_dependencies_with_apt.sh | 36 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_xrdp_build_dependencies_with_apt.sh | 38 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/run_cppcheck.sh | 22 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/run_cppcheck.sh | 29 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_cppcheck.sh | 13 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_cppcheck.sh | 15 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_cppcheck.sh | 22 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_cppcheck.sh | 27 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_cppcheck.sh | 52 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_cppcheck.sh | 58 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_cppcheck.sh | 92 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_cppcheck.sh | 94 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/run_astyle.sh | 16 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/run_astyle.sh | 18 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/run_astyle.sh | 25 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/run_astyle.sh | 27 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_astyle.sh | 13 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_astyle.sh | 15 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_astyle.sh | 22 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM⚡ | scripts/install_astyle.sh | 27 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_astyle.sh | 52 | # ---------------------------------------------------------------------------- | COMMENT |
| MEDIUM | scripts/install_astyle.sh | 54 | # ---------------------------------------------------------------------------- | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | third_party/tomlc99/stdex/keys08.toml | 4 | # So then you can add to the table "fruit" like so: | COMMENT |
| MEDIUM | third_party/tomlc99/stdex/tab11.toml | 8 | [fruit.apple.texture] # you can add sub-tables | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | xrdp/lang.c | 736 | // Step 2 - Now scan the [overrides] table, looking for | COMMENT |
| LOW | xrdp/lang.c | 794 | // Step 3 - use the layout name we matched from the layouts table to | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | genkeymap/dump-keymaps.sh | 57 | # Assign NumLock to mod2 | COMMENT |