Find vulnerabilities, misconfigurations, secrets, SBOM in containers, Kubernetes, code repositories, clouds and more
This report summarizes scanner evidence for aquasecurity/trivy, a Go project with 38,869 GitHub stars. SynthScan examined 347,686 lines of code across 2439 source files, recording 173 pattern matches distributed across 10 syntactic categories. The legacy adjusted pattern signal is 1.1 (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? 161 finding(s).
Are imports declared and package/API names verified? 12 finding(s).
Are wrappers, guards, and repeated structures necessary? 2 finding(s).
Which changes need focused human review? 173 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 173 distinct pattern matches across 10 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 |
|---|---|---|---|---|
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 160 | assert.Equal(t, 15, cluster.Logging.Broker.Cloudwatch.Metadata.Range().GetStartLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 161 | assert.Equal(t, 18, cluster.Logging.Broker.Cloudwatch.Metadata.Range().GetEndLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 163 | assert.Equal(t, 16, cluster.Logging.Broker.Cloudwatch.Enabled.GetMetadata().Range().GetStartLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 164 | assert.Equal(t, 16, cluster.Logging.Broker.Cloudwatch.Enabled.GetMetadata().Range().GetEndLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 166 | assert.Equal(t, 19, cluster.Logging.Broker.Firehose.Metadata.Range().GetStartLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 167 | assert.Equal(t, 22, cluster.Logging.Broker.Firehose.Metadata.Range().GetEndLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 169 | assert.Equal(t, 20, cluster.Logging.Broker.Firehose.Enabled.GetMetadata().Range().GetStartLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 170 | assert.Equal(t, 20, cluster.Logging.Broker.Firehose.Enabled.GetMetadata().Range().GetEndLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 172 | assert.Equal(t, 23, cluster.Logging.Broker.S3.Metadata.Range().GetStartLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 173 | assert.Equal(t, 27, cluster.Logging.Broker.S3.Metadata.Range().GetEndLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 175 | assert.Equal(t, 24, cluster.Logging.Broker.S3.Enabled.GetMetadata().Range().GetStartLine()) | CODE |
| CRITICAL⚡ | pkg/iac/adapters/terraform/aws/msk/adapt_test.go | 176 | assert.Equal(t, 24, cluster.Logging.Broker.S3.Enabled.GetMetadata().Range().GetEndLine()) | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | integration/sbom_test.go | 101 | }) | COMMENT |
| LOW | docs/guide/advanced/modules.md | 261 | // e.g. results | COMMENT |
| LOW | docs/guide/compliance/compliance.md | 121 | # - input: schema["kubernetes"] | COMMENT |
| LOW | docs/guide/scanner/misconfiguration/index.md | 321 | COMMENT | |
| LOW | docs/guide/scanner/misconfiguration/custom/index.md | 41 | A single package must contain only one policy. | COMMENT |
| LOW | docs/guide/scanner/misconfiguration/custom/selectors.md | 1 | # Input Selectors | COMMENT |
| LOW | docs/tutorials/misconfiguration/custom-checks.md | 21 | ``` | COMMENT |
| LOW | docs/community/contribute/checks/overview.md | 21 | # scope: package | COMMENT |
| LOW | examples/module/spring4shell/spring4shell.go | 141 | // PostScan takes results including custom resources and detected CVE-2022-22965. | COMMENT |
| LOW | examples/module/spring4shell/spring4shell.go | 161 | // "FilePath": "/usr/local/tomcat/RELEASE-NOTES", | COMMENT |
| LOW | examples/module/spring4shell/spring4shell.go | 181 | // "Layer": { | COMMENT |
| LOW | examples/module/spring4shell/spring4shell.go | 201 | // "redhat": 3 | COMMENT |
| LOW | rpc/cache/service.twirp.go | 1361 | } | COMMENT |
| LOW | rpc/cache/service.twirp.go | 1381 | // service. Those accessors are a low-level API for building reflection tools. | COMMENT |
| LOW | rpc/scanner/service.twirp.go | 521 | return baseServicePath(s.pathPrefix, "trivy.scanner.v1", "Scanner") | COMMENT |
| LOW | rpc/scanner/service.twirp.go | 541 | // HTTP handlers with additional methods for accessing metadata about the | COMMENT |
| LOW | helm/trivy/values.yaml | 61 | debugMode: false | COMMENT |
| LOW | helm/trivy/values.yaml | 81 | # | COMMENT |
| LOW | pkg/crypto/strength.go | 1 | package crypto | COMMENT |
| LOW | pkg/crypto/catalog.go | 1 | package crypto | COMMENT |
| LOW | pkg/crypto/catalog.go | 21 | parameterNames []ftypes.CryptoAlgorithmParameterName | COMMENT |
| LOW | pkg/crypto/parser/pkcs12/parser_test.go | 281 | } | COMMENT |
| LOW | pkg/crypto/parser/x509/parser.go | 161 | ) | COMMENT |
| LOW | pkg/result/ignore.go | 21 | "github.com/aquasecurity/trivy/pkg/log" | COMMENT |
| LOW | pkg/fingerprint/fingerprint.go | 21 | // TODO: Future implementation | COMMENT |
| LOW | pkg/sbom/core/bom.go | 121 | COMMENT | |
| LOW | pkg/sbom/core/bom.go | 141 | COMMENT | |
| LOW | pkg/sbom/core/bom.go | 161 | // BOMRef: | COMMENT |
| LOW | pkg/sbom/io/encode.go | 181 | } | COMMENT |
| LOW | pkg/sbom/io/encode.go | 201 | // -> Library component (bash-4.12) ------------------ #3 | COMMENT |
| LOW | pkg/sbom/io/encode.go | 341 | // preserving the original structure, components, and relationships | COMMENT |
| LOW | pkg/digest/source.go | 21 | // It states the algorithm and the value, but not what the value covers, so the covered | COMMENT |
| LOW | pkg/digest/source.go | 41 | // SourceJavaArchive is computed by Trivy over a Java archive (JAR/WAR/EAR/PAR, | COMMENT |
| LOW | pkg/fanal/types/package.go | 221 | COMMENT | |
| LOW | pkg/fanal/image/image.go | 81 | layerIDs = append(layerIDs, d.String()) | COMMENT |
| LOW | pkg/fanal/image/image.go | 101 | // In total, it would be like: | COMMENT |
| LOW | pkg/fanal/secret/keyword.go | 21 | // as U+212A KELVIN SIGN, is not found. A rule whose keyword holds a non-ASCII | COMMENT |
| LOW | pkg/fanal/analyzer/const.go | 141 | // License | COMMENT |
| LOW | pkg/fanal/walker/fs.go | 101 | absBase, err := filepath.Abs(base) | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse_testcase.go | 601 | // cd ./node_modules/lodash/ | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/types.go | 1 | package pnpm | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 121 | COMMENT | |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 341 | // | COMMENT |
| LOW | pkg/dependency/parser/nodejs/npm/parse_testcase.go | 701 | // npm install ms@2.0.0 --save-bundle | COMMENT |
| LOW | pkg/dependency/parser/nodejs/npm/parse_testcase.go | 1361 | // npm init --force | COMMENT |
| LOW | pkg/dependency/parser/python/uv/parse_testcase.go | 1 | package uv | COMMENT |
| LOW | pkg/dependency/parser/python/poetry/parse_testcase.go | 1 | package poetry | COMMENT |
| LOW | pkg/dependency/parser/golang/binary/parse.go | 161 | } | COMMENT |
| LOW | pkg/dependency/parser/golang/binary/parse.go | 221 | if err := fset.Parse(flags); err != nil { | COMMENT |
| LOW | pkg/dependency/parser/java/pom/mirror.go | 121 | } | COMMENT |
| LOW | pkg/dependency/parser/java/pom/parse_test.go | 1401 | }, | COMMENT |
| LOW | pkg/dependency/parser/java/pom/parse_test.go | 1481 | }, | COMMENT |
| LOW | pkg/dependency/parser/java/pom/parse_test.go | 1501 | //[INFO] | COMMENT |
| LOW | pkg/dependency/parser/java/pom/parse_test.go | 2161 | }, | COMMENT |
| LOW | pkg/dependency/parser/java/pom/parse_test.go | 2241 | }, | COMMENT |
| LOW | pkg/dependency/parser/java/pom/settings_test.go | 121 | }, | COMMENT |
| LOW | pkg/dependency/parser/java/pom/settings_test.go | 141 | // <server> | COMMENT |
| LOW | pkg/dependency/parser/java/pom/settings_test.go | 161 | // </snapshots> | COMMENT |
| LOW | pkg/dependency/parser/java/pom/settings_test.go | 181 | // <repository> | COMMENT |
| LOW | pkg/dependency/parser/java/pom/parse.go | 841 | // Do not try fetching pom.xml from remote repositories in offline mode | COMMENT |
| 55 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM⚡ | misc/backport/backport.sh | 24 | # Create a new branch with the PR number and branch name | COMMENT |
| MEDIUM⚡ | misc/backport/backport.sh | 30 | # Create the pull request title | COMMENT |
| MEDIUM⚡ | misc/backport/backport.sh | 33 | # Create the pull request description | COMMENT |
| MEDIUM | misc/backport/backport.sh | 65 | # Create a new pull request with the original PR title, backport suffix, and description | COMMENT |
| MEDIUM | …alyzer/language/julia/pkg/testdata/happy/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …age/julia/pkg/testdata/shadowed_dep_v1.9/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …language/julia/pkg/testdata/dep_ext_v1.9/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …language/julia/pkg/testdata/no_deps_v1.6/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …lia/manifest/testdata/multiple-same-deps/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …ulia/manifest/testdata/shadowed_dep_v1.9/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …julia/manifest/testdata/missed-child-dep/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …ser/julia/manifest/testdata/dep_ext_v1.9/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …ser/julia/manifest/testdata/no_deps_v1.6/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …ser/julia/manifest/testdata/no_deps_v1.9/Manifest.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …ser/julia/manifest/testdata/primary/Manifest_v1.8.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| MEDIUM | …ser/julia/manifest/testdata/primary/Manifest_v1.6.toml | 1 | # This file is machine-generated - editing it directly is not advised | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | docs/guide/supply-chain/vex/oci.md | 46 | ### Step 1: Create a VEX Document | COMMENT |
| LOW | docs/guide/supply-chain/vex/oci.md | 106 | ### Step 2: Generate and Upload a VEX Attestation to an OCI Registry | COMMENT |
| LOW | docs/guide/supply-chain/vex/oci.md | 121 | ### Step 3: Use VEX Attestation with Trivy | COMMENT |
| LOW | …ute/vulnerability-database/add-vulnerability-source.md | 20 | ### Step 1: Add Fetcher Script (vuln-list-update) | COMMENT |
| LOW | …ute/vulnerability-database/add-vulnerability-source.md | 39 | ### Step 2: Add Parser (trivy-db) | COMMENT |
| LOW | …ute/vulnerability-database/add-vulnerability-source.md | 56 | ### Step 3: Add OS/Ecosystem Support (Trivy) | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 132 | // Step 1: Extract direct dependencies from the "importers" section. | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 153 | // Step 2: Process each snapshot to create package entries. | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 171 | // Step 3: Determine if this package is a direct or transitive dependency, | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 199 | // Step 4: Build the dependency graph by recording what this package depends on. | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 217 | // Step 5: Propagate the "production" status to all transitive dependencies. | COMMENT |
| LOW | pkg/vex/vex.go | 78 | // NOTE: This method call has a side effect on the report | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | helm/trivy/values.yaml | 109 | # In case you specify redis as backend, make sure you installed a redis server yourself, e.g. | COMMENT |
| MEDIUM | pkg/vex/testdata/csaf.json | 8 | "text": "Example Company VEX document. Unofficial content for demonstration purposes only.", | CODE |
| MEDIUM | pkg/iac/adapters/terraform/aws/apigateway/apiv1_test.go | 23 | description = "This is my API for demonstration purposes" | CODE |
| MEDIUM | pkg/iac/adapters/terraform/aws/apigateway/apiv1_test.go | 50 | description = "This is my API for demonstration purposes" | CODE |
| MEDIUM | pkg/iac/adapters/terraform/aws/apigateway/adapt_test.go | 29 | description = "This is my API for demonstration purposes" | CODE |
| MEDIUM | pkg/iac/adapters/terraform/aws/apigateway/adapt_test.go | 142 | description = "This is my API for demonstration purposes" | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 132 | // Step 1: Extract direct dependencies from the "importers" section. | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 153 | // Step 2: Process each snapshot to create package entries. | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 171 | // Step 3: Determine if this package is a direct or transitive dependency, | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 199 | // Step 4: Build the dependency graph by recording what this package depends on. | COMMENT |
| LOW | pkg/dependency/parser/nodejs/pnpm/parse.go | 217 | // Step 5: Propagate the "production" status to all transitive dependencies. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | pkg/fanal/artifact/image/image.go | 204 | // TODO(knqyf263): refactor to use a more robust method instead of suffix-based detection | COMMENT |
| MEDIUM | pkg/iac/scanners/terraform/parser/funcs/datetime.go | 147 | // be robust here. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/fanal/vm/filesystem/filesystem.go | 39 | // TODO: implement LVM handler | COMMENT |
| LOW | pkg/iac/scanners/ansible/parser/template.go | 24 | // TODO: implement support for a subset of popular Ansible filter plugins. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | pkg/x/json/jsonc.go | 60 | // Usage example: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | …eDir/.conan/data/openssl/3.0.5/_/_/export/conanfile.py | 572 | def _create_cmake_module_variables(self, module_file): | STRING |
| LOW | …stdata/cacheDir_v2/p/opens464b5c427ce9d/e/conanfile.py | 572 | def _create_cmake_module_variables(self, module_file): | STRING |