The pattern matching swiss knife
This report summarizes scanner evidence for VirusTotal/yara, a C project with 9,993 GitHub stars. SynthScan examined 95,786 lines of code across 180 source files, recording 316 pattern matches distributed across 3 syntactic categories. The legacy adjusted pattern signal is 3.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? 314 finding(s).
Are imports declared and package/API names verified? 2 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 316 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 316 distinct pattern matches across 3 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 | .readthedocs.yaml | 21 | # builder: "dirhtml" | COMMENT |
| LOW | tests/test-rules.c | 4201 | { | COMMENT |
| LOW | docs/conf.py | 1 | # -*- coding: utf-8 -*- | COMMENT |
| LOW | docs/conf.py | 21 | #sys.path.insert(0, os.path.abspath('.')) | COMMENT |
| LOW | docs/conf.py | 41 | COMMENT | |
| LOW | docs/conf.py | 61 | COMMENT | |
| LOW | docs/conf.py | 121 | # "<project> v<release> documentation". | COMMENT |
| LOW | docs/conf.py | 141 | # Add any extra paths that contain custom files (such as robots.txt or | COMMENT |
| LOW | docs/conf.py | 161 | # If false, no module index is generated. | COMMENT |
| LOW | docs/conf.py | 181 | # base URL from which the finished HTML is served. | COMMENT |
| LOW | docs/conf.py | 201 | #'preamble': '', | COMMENT |
| LOW | docs/conf.py | 261 | #texinfo_domain_indices = True | COMMENT |
| LOW | cli/unicode.h | 41 | #define _T(x) x | COMMENT |
| LOW | cli/unicode.h | 61 | #define _tfopen fopen | COMMENT |
| LOW | cli/yara.c | 41 | #else | COMMENT |
| LOW | cli/yara.c | 61 | #include "threading.h" | COMMENT |
| LOW | libyara/filemap.c | 41 | #include <yara/filemap.h> | COMMENT |
| LOW | libyara/filemap.c | 61 | //////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | libyara/filemap.c | 161 | #include <sys/vfs.h> | COMMENT |
| LOW | libyara/filemap.c | 261 | //////////////////////////////////////////////////////////////////////////////// | COMMENT |
| LOW | libyara/scanner.c | 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | COMMENT |
| LOW | libyara/object.c | 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | COMMENT |
| LOW | libyara/exec.c | 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | COMMENT |
| LOW | libyara/exec.c | 41 | #include <yara/globals.h> | COMMENT |
| LOW | libyara/exec.c | 121 | } | COMMENT |
| LOW | libyara/atoms.c | 81 | #include <string.h> | COMMENT |
| LOW | libyara/atoms.c | 121 | // X? and ?X contribute 4 points. An additional boost consisting in 2x the | COMMENT |
| LOW | libyara/atoms.c | 201 | return YR_MAX_ATOM_QUALITY - 22 * YR_MAX_ATOM_LENGTH + quality; | COMMENT |
| LOW | libyara/atoms.c | 241 | // Returns a numeric value indicating the quality of an atom. The quality is | COMMENT |
| LOW | libyara/atoms.c | 641 | COMMENT | |
| LOW | libyara/atoms.c | 1221 | } | COMMENT |
| LOW | libyara/grammar.c | 61 | #define YYPUSH 0 | COMMENT |
| LOW | libyara/grammar.c | 81 | #include <string.h> | COMMENT |
| LOW | libyara/grammar.c | 101 | #endif | COMMENT |
| LOW | libyara/grammar.c | 201 | COMMENT | |
| LOW | libyara/grammar.c | 221 | # else | COMMENT |
| LOW | libyara/grammar.c | 321 | #define _META_ 263 | COMMENT |
| LOW | libyara/grammar.c | 341 | #define _NOCASE_ 283 | COMMENT |
| LOW | libyara/grammar.c | 361 | #define _IMPORT_ 303 | COMMENT |
| LOW | libyara/grammar.c | 601 | (aka HP-UX 11i v2) only through the end of 2022; see Table 2 of | COMMENT |
| LOW | libyara/grammar.c | 621 | #if defined __UINT_LEAST16_MAX__ && __UINT_LEAST16_MAX__ <= __INT_MAX__ | COMMENT |
| LOW | libyara/grammar.c | 641 | # define YYPTRDIFF_MAXIMUM PTRDIFF_MAX | COMMENT |
| LOW | libyara/grammar.c | 681 | # endif | COMMENT |
| LOW | libyara/grammar.c | 701 | # define YY_ATTRIBUTE_UNUSED | COMMENT |
| LOW | libyara/grammar.c | 721 | _Pragma ("GCC diagnostic ignored \"-Wuninitialized\"") \ | COMMENT |
| LOW | libyara/grammar.c | 741 | # define YY_IGNORE_USELESS_CAST_END \ | COMMENT |
| LOW | libyara/grammar.c | 761 | # include <alloca.h> /* INFRINGES ON USER NAME SPACE */ | COMMENT |
| LOW | libyara/grammar.c | 781 | /* Pacify GCC's 'empty if-body' warning. */ | COMMENT |
| LOW | libyara/grammar.c | 801 | # define EXIT_SUCCESS 0 | COMMENT |
| LOW | libyara/rules.c | 21 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR | COMMENT |
| LOW | libyara/hex_grammar.h | 61 | _NUMBER_ = 262 /* _NUMBER_ */ | COMMENT |
| LOW | libyara/re_lexer.c | 1 | #line 1 "libyara/re_lexer.c" | COMMENT |
| LOW | libyara/re_lexer.c | 21 | #endif | COMMENT |
| LOW | libyara/re_lexer.c | 41 | #ifdef yy_scan_bytes | COMMENT |
| LOW | libyara/re_lexer.c | 61 | #else | COMMENT |
| LOW | libyara/re_lexer.c | 81 | #endif | COMMENT |
| LOW | libyara/re_lexer.c | 101 | #ifdef yylex_init | COMMENT |
| LOW | libyara/re_lexer.c | 121 | #else | COMMENT |
| LOW | libyara/re_lexer.c | 141 | #endif | COMMENT |
| LOW | libyara/re_lexer.c | 161 | #ifdef yyset_out | COMMENT |
| 253 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | docs/conf.py | 6 | # This file is execfile()d with the current directory set to its | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/conf.py | 15 | CODE | |
| LOW | docs/conf.py | 16 | CODE |