aria2 is a lightweight multi-protocol & multi-source, cross platform download utility operated in command-line. It supports HTTP/HTTPS, FTP, SFTP, BitTorrent and Metalink.
This report summarizes scanner evidence for aria2/aria2, a C++ project with 43,353 GitHub stars. SynthScan examined 66,838 lines of code across 618 source files, recording 108 pattern matches distributed across 5 syntactic categories. The legacy adjusted pattern signal is 1.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? 107 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 108 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 108 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 | test/MockDHTMessageFactory.h | 1 | #ifndef D_MOCK_DHT_MESSAGE_FACTORY_H | COMMENT |
| LOW | test/MockBtMessageFactory.h | 1 | #ifndef D_MOCK_BT_MESSAGE_FACTORY_H | COMMENT |
| LOW | deps/wslay/examples/fork-echoserv.c | 41 | #include <unistd.h> | COMMENT |
| LOW | deps/wslay/lib/wslay_net.h | 21 | * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | COMMENT |
| LOW | deps/wslay/lib/wslay_net.h | 41 | #ifdef HAVE_WINSOCK2_H | COMMENT |
| LOW | doc/manual-src/en/mkapiref.py | 1 | #!/usr/bin/env python3 | COMMENT |
| LOW | doc/manual-src/en/mkapiref.py | 21 | # In addition, as a special exception, the copyright holders give | COMMENT |
| LOW | src/alloca.c | 21 | allocating any. It is a good idea to use alloca(0) in | COMMENT |
| LOW | src/alloca.c | 61 | # if defined(CRAY) && defined(CRAY_STACKSEG_END) | COMMENT |
| LOW | src/HttpInitiateConnectionCommand.h | 41 | COMMENT | |
| LOW | src/TLSSession.h | 61 | // Initializes SSL/TLS session. The |sockfd| is the underlying | COMMENT |
| LOW | src/TLSSession.h | 81 | virtual int checkDirection() = 0; | COMMENT |
| LOW | src/download_helper.h | 81 | // Create RequestGroup objects using Metalink file specified by | COMMENT |
| LOW | src/download_helper.h | 101 | // Creates UriListParser using given filename. If filename is "-", | COMMENT |
| LOW | src/getaddrinfo.h | 41 | # include "config.h" | COMMENT |
| LOW | src/getaddrinfo.h | 61 | COMMENT | |
| LOW | src/getaddrinfo.h | 81 | #endif | COMMENT |
| LOW | src/getaddrinfo.h | 101 | #ifdef AI_PASSIVE | COMMENT |
| LOW | src/getaddrinfo.h | 121 | #endif | COMMENT |
| LOW | src/getaddrinfo.h | 141 | COMMENT | |
| LOW | src/getaddrinfo.h | 161 | # define getnameinfo my_getnameinfo | COMMENT |
| LOW | src/getaddrinfo.h | 181 | 0x0100 /* Don't reject unassigned Unicode \ | COMMENT |
| LOW | src/getaddrinfo.h | 201 | #define EAI_OVERFLOW -12 /* Argument buffer overflow. */ | COMMENT |
| LOW | src/libssl_compat.h | 41 | # define LIBRESSL_IN_USE 1 | COMMENT |
| LOW | src/crypto_endian.h | 1 | /* Any copyright is dedicated to the Public Domain. | COMMENT |
| LOW | src/crypto_endian.h | 101 | #if LITTLE_ENDIAN == BYTE_ORDER | COMMENT |
| LOW | src/DHKeyExchange.h | 41 | #elif HAVE_LIBGMP | COMMENT |
| LOW | src/paramed_string.h | 181 | throw DL_ABORT_EX("Invalid loop range."); | COMMENT |
| LOW | src/paramed_string.h | 201 | // | COMMENT |
| LOW | src/WinTLSSession.h | 141 | // client side session. This function returns TLS_ERR_OK if it | COMMENT |
| LOW | src/WinTLSSession.h | 161 | COMMENT | |
| LOW | src/LogFactory.h | 141 | #define A2_LOG_NOTICE(msg) A2_LOG(Logger::A2_NOTICE, msg) | COMMENT |
| LOW | src/a2netcompat.h | 41 | # ifdef HAVE_WS2TCPIP_H | COMMENT |
| LOW | src/a2netcompat.h | 61 | #ifdef HAVE_SYS_SOCKET_H | COMMENT |
| LOW | src/a2netcompat.h | 81 | #ifdef HAVE_SYS_UIO_H | COMMENT |
| LOW | src/a2netcompat.h | 141 | # define A2_IOV_MAX A2_DEFAULT_IOV_MAX | COMMENT |
| LOW | src/FileEntry.h | 41 | #include <deque> | COMMENT |
| LOW | src/FileEntry.h | 161 | bool insertUri(const std::string& uri, size_t pos); | COMMENT |
| LOW | src/message.h | 41 | COMMENT | |
| LOW | src/message.h | 61 | #define MSG_NAME_RESOLUTION_COMPLETE \ | COMMENT |
| LOW | src/message.h | 81 | #define MSG_DELETING_REQUEST_SLOT "CUID#%" PRId64 " - Deleting request slot" \ | COMMENT |
| LOW | src/message.h | 101 | #define MSG_ACCEPT_FAILURE "CUID#%" PRId64 " - Error in accepting connection" | COMMENT |
| LOW | src/message.h | 121 | #define MSG_INSUFFICIENT_CHECKSUM _("Insufficient checksums. checksumLength=%d, numChecksum=%d") | COMMENT |
| LOW | src/message.h | 141 | #define MSG_URI_REQUIRED _("Specify at least one URL.") | COMMENT |
| LOW | src/message.h | 161 | " already exists.") | COMMENT |
| LOW | src/message.h | 201 | #define MSG_GOOD_BYE_SEEDER "Client is in seed state: Good Bye Seeder;)" | COMMENT |
| LOW | src/message.h | 221 | #define EX_NO_STATUS_HEADER _("No status header.") | COMMENT |
| LOW | src/message.h | 241 | #define EX_FILE_READ _("Failed to read from the file %s, cause: %s") | COMMENT |
| LOW | src/message.h | 261 | #define EX_SOCKET_CONNECT _("Failed to connect to the host %s, cause: %s") | COMMENT |
| LOW | src/message.h | 281 | #define EX_INFOHASH_MISMATCH_IN_SEGFILE _("The infoHash in torrent file doesn't match to one in .aria2 file.") | COMMENT |
| LOW | src/StreamPieceSelector.h | 41 | COMMENT | |
| LOW | src/WebSocketSession.h | 61 | // remote endpoint. | COMMENT |
| LOW | src/DownloadEngine.h | 41 | #include <deque> | COMMENT |
| LOW | src/a2time.h | 41 | #include <chrono> | COMMENT |
| LOW | src/a2time.h | 61 | #endif // HAVE_ASCTIME_R | COMMENT |
| LOW | src/Option.h | 61 | // Returns true if name is defined. Otherwise returns false. Note | COMMENT |
| LOW | src/SocketCore.h | 41 | #include <cstdlib> | COMMENT |
| LOW | src/SocketCore.h | 361 | // hostname, IP address or interface name like eth0. If the given | COMMENT |
| LOW | src/SocketCore.h | 381 | // Set default ai_flags. hints.ai_flags is initialized with this | COMMENT |
| LOW | src/getaddrinfo.c | 81 | COMMENT | |
| 38 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/manual-src/en/mkapiref.py | 117 | CODE | |
| LOW | doc/manual-src/en/mkapiref.py | 162 | CODE | |
| LOW | doc/manual-src/en/mkapiref.py | 190 | CODE | |
| LOW | doc/manual-src/en/mkapiref.py | 69 | CODE | |
| LOW | doc/bash_completion/make_bash_completion.py | 67 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | src/usage_text.h | 795 | " command-line, don't forget to escape or quote it.\n" \ | CODE |
| LOW | src/RpcMethod.h | 63 | // subclass. If you add new RpcMethod subclass, don't forget to add it | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/manual-src/en/mkapiref.py | 35 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | doc/bash_completion/make_bash_completion.py | 51 | def output_value_case_file_comp(out, key, exts): | STRING |
| LOW | doc/bash_completion/make_bash_completion.py | 59 | def output_value_case_dir_comp(out, key): | STRING |