hydra
This report summarizes scanner evidence for vanhauser-thc/thc-hydra, a C project with 12,454 GitHub stars. SynthScan examined 32,087 lines of code across 94 source files, recording 41 pattern matches distributed across 2 syntactic categories. The legacy adjusted pattern signal is 1.3 (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? 41 finding(s).
Are imports declared and package/API names verified? 0 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 41 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 41 distinct pattern matches across 2 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 | hydra-rexec.c | 101 | // called before the childrens are forked off, so this is the function | COMMENT |
| LOW | hydra-pcnfs.c | 201 | // performed once only. | COMMENT |
| LOW | hydra-rtsp.c | 1 | // | COMMENT |
| LOW | hydra-ssh.c | 161 | #error "You are not using v0.4.x. Download from http://www.libssh.org and add -DWITH_SSH1=On in cmake to enable SSH v1 s | COMMENT |
| LOW | hydra-mongodb.c | 1 | // This plugin was written by <david dot maciejak at gmail D O T com> | COMMENT |
| LOW | ntlm.c | 221 | COMMENT | |
| LOW | ntlm.c | 281 | #define PIVALS(buf, pos, val, len) SMBMACRO(IVALS, buf, pos, val, len, 4) | COMMENT |
| LOW | ntlm.c | 301 | #define RSIVAL(buf, pos, val) SIVAL(buf, pos, IREV(val)) | COMMENT |
| LOW | hydra.h | 1 | #ifndef _HYDRA_H | COMMENT |
| LOW | hydra.h | 21 | #include <fcntl.h> | COMMENT |
| LOW | hydra.h | 41 | #ifdef HAVE_SSL | COMMENT |
| LOW | hydra.h | 61 | #endif | COMMENT |
| LOW | hydra.h | 81 | #define PORT_SMBNT_SSL 445 | COMMENT |
| LOW | hydra.h | 101 | #define PORT_MYSQL_SSL 3306 | COMMENT |
| LOW | hydra.h | 121 | #define PORT_CVS_SSL 2401 | COMMENT |
| LOW | hydra.h | 141 | #define PORT_IRC_SSL 6697 | COMMENT |
| LOW | hydra-telnet.h | 1 | #ifndef HYDRA_TELNET_DEFS_H | COMMENT |
| LOW | hydra-telnet.h | 21 | #define ABORT 238 /* Abort process */ | COMMENT |
| LOW | sasl.h | 1 | COMMENT | |
| LOW | sasl.h | 21 | #define AUTH_LMv2 13 | COMMENT |
| LOW | hydra-smtp-enum.c | 121 | // we should report command not identified by the server | COMMENT |
| LOW | hydra-mod.c | 1 | #include "hydra-mod.h" | COMMENT |
| LOW | postgres_ext.h | 61 | #define PG_DIAG_MESSAGE_HINT 'H' | COMMENT |
| LOW | bfg.c | 1 | COMMENT | |
| LOW | hydra-smb2.c | 141 | // probably password ok, nominal case when connecting to a windows | COMMENT |
| LOW | hydra-socks5.c | 181 | // fill if needed. | COMMENT |
| LOW | hydra-http.h | 1 | #ifndef _HYDRA_HTTP_H | COMMENT |
| LOW | hydra.c | 221 | #define MAXENDWAIT 20 | COMMENT |
| LOW | hydra.c | 2441 | #endif | COMMENT |
| LOW | hydra-icq.c | 221 | } | COMMENT |
| LOW | hydra-adam6500.c | 101 | hydra_child_exit(0); | COMMENT |
| LOW | hydra-afp.c | 181 | // | COMMENT |
| LOW | hydra-svn.c | 1 | // This plugin was written by <david dot maciejak at gmail D O T com> | COMMENT |
| LOW | hydra-smb.c | 81 | #define ENCRYPTED 11 | COMMENT |
| LOW | hydra-ftp.c | 181 | void service_ftps(char *ip, int32_t sp, unsigned char options, char *miscptr, FILE *fp, int32_t port, char *hostname) { | COMMENT |
| LOW | hydra-vnc.c | 241 | } | COMMENT |
| LOW | hydra-oracle-sid.c | 141 | // performed once only. | COMMENT |
| LOW | crc32.h | 1 | #ifndef CRC32_H | COMMENT |
| LOW | pw-inspector.c | 1 | #include <ctype.h> | COMMENT |
| LOW | hydra-gtk/src/interface.c | 1 | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | hydra-ldap.c | 495 | "So don't forget to set empty string as user/pass to test all modes.\n" | CODE |