Vulnerability scanner written in Go which uses the data provided by https://osv.dev
This report summarizes scanner evidence for google/osv-scanner, a Go project with 11,336 GitHub stars. SynthScan examined 372,933 lines of code across 890 source files, recording 163 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 0.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? 156 finding(s).
Are imports declared and package/API names verified? 3 finding(s).
Are wrappers, guards, and repeated structures necessary? 25 finding(s).
Which changes need focused human review? 163 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 163 distinct pattern matches across 11 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 | exit_code_redirect.sh | 1 | #!/bin/bash | COMMENT |
| LOW | …urce/testdata/locks-requirements/requirements.prod.txt | 1 | django==2.2.24 | COMMENT |
| LOW | …scalibrenricher/govulncheck/source/govulncheck_test.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | …rnal/scalibrenricher/govulncheck/source/govulncheck.go | 1 | // Copyright 2025 Google LLC | COMMENT |
| LOW | internal/scalibrenricher/govulncheck/source/result.go | 21 | // FixedVersion is the module version where the vulnerability was | COMMENT |
| LOW | internal/scalibrenricher/govulncheck/source/result.go | 41 | // Symbol. | COMMENT |
| LOW | internal/scalibrenricher/govulncheck/source/result.go | 61 | // Package is the import path. | COMMENT |
| LOW | internal/output/sarif.go | 161 | func stripGitHubWorkspace(path string) string { | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 21 | COMMENT | |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 41 | typedef unsigned short ush; | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 61 | #define ERR_RETURN(strm,err) \ | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 101 | # include <alloc.h> | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 121 | # define OS_CODE 4 | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 141 | # define OS_CODE 7 | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 161 | #ifdef _BEOS_ | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 201 | #ifndef OS_CODE | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 221 | #if defined(STDC) && !defined(HAVE_MEMCPY) && !defined(NO_MEMCPY) | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.h | 241 | #ifdef ZLIB_DEBUG | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/crc32.c | 81 | # else | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/crc32.c | 801 | crc0 = crc_braid_table[0][word0 & 0xff]; | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.c | 61 | #endif | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.c | 81 | #endif | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zutil.c | 101 | # ifdef NO_snprintf | COMMENT |
| LOW | …filesystem/vendored/testdata/thirdparty/zlib/deflate.h | 41 | COMMENT | |
| LOW | …filesystem/vendored/testdata/thirdparty/zlib/deflate.h | 341 | # define _tr_tally_lit(s, c, flush) flush = _tr_tally(s, 0, c) | COMMENT |
| LOW | …/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h | 1 | /* gzguts.h -- zlib internal header definitions for gz* operations | COMMENT |
| LOW | …/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h | 21 | #include "zlib.h" | COMMENT |
| LOW | …/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h | 41 | #if defined(_WIN32) | COMMENT |
| LOW | …/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h | 61 | COMMENT | |
| LOW | …/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h | 81 | # define NO_vsnprintf | COMMENT |
| LOW | …/filesystem/vendored/testdata/thirdparty/zlib/gzguts.h | 121 | extern voidp malloc(uInt size); | COMMENT |
| LOW | …ct/filesystem/vendored/testdata/thirdparty/zlib/zlib.h | 161 | reports. After compression, total_in holds the total size of the | COMMENT |
| LOW | …ct/filesystem/vendored/testdata/thirdparty/zlib/zlib.h | 181 | #define Z_STREAM_ERROR (-2) | COMMENT |
| LOW | …ct/filesystem/vendored/testdata/thirdparty/zlib/zlib.h | 1861 | ZEXTERN z_off64_t ZEXPORT gztell64(gzFile); | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/gzlib.c | 1 | /* gzlib.c -- zlib functions common to reading and writing gzip files | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 21 | # define _dist_code z__dist_code | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 41 | # define crc32_combine_gen z_crc32_combine_gen | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 61 | # define deflateTune z_deflateTune | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 81 | # define gzgetc_ z_gzgetc_ | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 101 | # define gzvprintf z_gzvprintf | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 121 | # define inflateReset2 z_inflateReset2 | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 141 | # define zlibVersion z_zlibVersion | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 161 | # define voidp z_voidp | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 181 | # ifndef WIN32 | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 201 | # define UNALIGNED_OK | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 221 | # define STDC | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 241 | #endif | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 301 | #endif | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 321 | # ifdef _MSC_VER | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 341 | */ | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 361 | # endif | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 381 | # define ZEXPORTVA __declspec(dllimport) | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 421 | #else | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 441 | typedef unsigned long z_crc_t; | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 461 | # endif | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 481 | # ifdef __WATCOMC__ | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 501 | COMMENT | |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 521 | # define z_off_t long | COMMENT |
| LOW | …t/filesystem/vendored/testdata/thirdparty/zlib/zconf.h | 541 | #pragma map(inflateInit2_,"ININ2") | COMMENT |
| LOW | …ystem/vendored/testdata/thirdparty/zlib/test/example.c | 1 | /* example.c -- usage example of the zlib compression library | COMMENT |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/output/html/script.js | 200 | function showAndHideParentSections() { | CODE |
| LOW | scripts/report_uncleaned_snapshots.py | 23 | def report_lack_of_snapshot_cleaning(directory): | CODE |
| LOW | scripts/generators/generate-debian-versions.py | 30 | def is_unsupported_comparison(line): | CODE |
| LOW | scripts/generators/generate-debian-versions.py | 46 | def extract_packages_with_versions(osvs): | CODE |
| LOW | scripts/generators/generate-debian-versions.py | 186 | def generate_version_compares(versions): | CODE |
| LOW | scripts/generators/generate-debian-versions.py | 200 | def generate_package_compares(packages): | CODE |
| LOW | scripts/generators/generate-redhat-versions.py | 34 | def is_unsupported_comparison(line): | CODE |
| LOW | scripts/generators/generate-redhat-versions.py | 50 | def extract_packages_with_versions(osvs): | CODE |
| LOW | scripts/generators/generate-redhat-versions.py | 229 | def generate_version_compares(versions): | CODE |
| LOW | scripts/generators/generate-redhat-versions.py | 243 | def generate_package_compares(packages): | CODE |
| LOW | scripts/generators/generate-alpine-versions.py | 34 | def is_unsupported_comparison(line): | CODE |
| LOW | scripts/generators/generate-alpine-versions.py | 50 | def extract_packages_with_versions(osvs): | CODE |
| LOW | scripts/generators/generate-alpine-versions.py | 229 | def generate_version_compares(versions): | CODE |
| LOW | scripts/generators/generate-alpine-versions.py | 243 | def generate_package_compares(packages): | CODE |
| LOW | scripts/generators/generate-pypi-versions.py | 23 | def is_unsupported_comparison(line): | CODE |
| LOW | scripts/generators/generate-pypi-versions.py | 39 | def extract_packages_with_versions(osvs): | CODE |
| LOW | scripts/generators/generate-pypi-versions.py | 108 | def generate_version_compares(versions): | CODE |
| LOW | scripts/generators/generate-pypi-versions.py | 122 | def generate_package_compares(packages): | CODE |
| LOW | scripts/generators/generate-rubygems-versions.rb | 36 | def extract_packages_with_versions(osvs) | CODE |
| LOW | scripts/generators/generate-rubygems-versions.rb | 101 | def generate_version_compares(versions) | CODE |
| LOW | scripts/generators/generate-rubygems-versions.rb | 119 | def generate_package_compares(packages) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt | 86 | #============================================================================ | COMMENT |
| MEDIUM | …ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt | 88 | #============================================================================ | COMMENT |
| MEDIUM | …ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt | 193 | #============================================================================ | COMMENT |
| MEDIUM | …ystem/vendored/testdata/thirdparty/zlib/CMakeLists.txt | 195 | #============================================================================ | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …system/vendored/testdata/thirdparty/zlib/os400/make.sh | 164 | # Create the OS/400 library if it does not exist. | COMMENT |
| MEDIUM | …system/vendored/testdata/thirdparty/zlib/os400/make.sh | 172 | # Create the DOCS source file if it does not exist. | COMMENT |
| MEDIUM | …system/vendored/testdata/thirdparty/zlib/os400/make.sh | 194 | # Create the OS/400 source program file for the C header files. | COMMENT |
| MEDIUM | …system/vendored/testdata/thirdparty/zlib/os400/make.sh | 205 | # Create the IFS directory for the C header files. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/report_uncleaned_snapshots.py | 12 | CODE | |
| LOW | scripts/examples/auto_guided_remediation.py | 75 | CODE | |
| LOW | scripts/generators/generate-debian-versions.py | 76 | CODE | |
| LOW | scripts/generators/generate-redhat-versions.py | 50 | CODE | |
| LOW | scripts/generators/generate-redhat-versions.py | 87 | CODE | |
| LOW | scripts/generators/generate-alpine-versions.py | 114 | CODE | |
| LOW | scripts/generators/generate-pypi-versions.py | 39 | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal/config/manager.go | 45 | // Figure out a more robust way to load config from non files | COMMENT |
| MEDIUM | .github/workflows/goreleaser-nightly.yml | 50 | # Essentially do a snapshot release, but still push the docker images | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/osv-scanner/mcp/integration_test.go | 60 | // Step 1: Scan for vulnerabilities | COMMENT |
| LOW | cmd/osv-scanner/mcp/integration_test.go | 90 | // Step 2: Get details for the found vulnerability | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/osv-scanner/mcp/integration_test.go | 60 | // Step 1: Scan for vulnerabilities | COMMENT |
| LOW | cmd/osv-scanner/mcp/integration_test.go | 90 | // Step 2: Get details for the found vulnerability | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/thirdparty/xml/atom_test.go | 14 | Author: Person{Name: "John Doe"}, | CODE |
| LOW | internal/thirdparty/xml/marshal_test.go | 534 | contentsAttr = "lorem ipsum" | CODE |
| LOW | internal/thirdparty/xml/marshal_test.go | 1059 | ExpectXML: `<dummy name="Sarah" age="12">lorem ipsum</dummy>`, | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | scripts/generators/generate-debian-versions.py | 13 | # "--compare-versions" option; also make sure to consider the version of dpkg being | COMMENT |
| LOW | scripts/generators/generate-redhat-versions.py | 13 | # supports evaluating Lua expressions (most versions do); also make sure to consider | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …system/vendored/testdata/thirdparty/zlib/os400/make.sh | 66 | # Set LINK to "YES" if the module has been compiled. | COMMENT |