Cloud cost intelligence for engineers, AI coding agents, and CI/CD 💰📉 Shift FinOps Left!
This report summarizes scanner evidence for infracost/infracost, a Go project with 12,599 GitHub stars. SynthScan examined 246,346 lines of code across 2435 source files, recording 137 pattern matches distributed across 8 syntactic categories. The legacy adjusted pattern signal is 0.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? 136 finding(s).
Are imports declared and package/API names verified? 1 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 137 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 137 distinct pattern matches across 8 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 | infracost-usage-defaults.medium.yml | 441 | # | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 461 | # storage_gb: 1000 # Total size of storage in GB. | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 481 | # monthly_analytical_storage_read_operations: 1000000 # Monthly number of read analytical storage operations. | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 501 | # storage_gb: 1000 # Total size of storage in GB. | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 581 | # This resource need to be converted to CoreResource before default usages are fully supported. | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 661 | # tests: 100000 # Overrides the number of tests done in the connection monitor | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 701 | monthly_queries: 25000000 # Monthly number of DNS queries | COMMENT |
| LOW | infracost-usage-defaults.medium.yml | 801 | # monthly_datapipeline_azure_hosted_external_integration_runtime_hours: 4000 # Monthly number of Azure hosted exter | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 441 | # | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 461 | # storage_gb: 1000 # Total size of storage in GB. | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 481 | # monthly_analytical_storage_read_operations: 1000000 # Monthly number of read analytical storage operations. | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 501 | # storage_gb: 1000 # Total size of storage in GB. | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 581 | # This resource need to be converted to CoreResource before default usages are fully supported. | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 661 | # tests: 100000 # Overrides the number of tests done in the connection monitor | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 701 | monthly_queries: 12500000 # Monthly number of DNS queries | COMMENT |
| LOW | infracost-usage-defaults.small.yml | 801 | # monthly_datapipeline_azure_hosted_external_integration_runtime_hours: 4000 # Monthly number of Azure hosted exter | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 441 | # | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 461 | # storage_gb: 1000 # Total size of storage in GB. | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 481 | # monthly_analytical_storage_read_operations: 1000000 # Monthly number of read analytical storage operations. | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 501 | # storage_gb: 1000 # Total size of storage in GB. | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 581 | # This resource need to be converted to CoreResource before default usages are fully supported. | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 701 | azurerm_private_dns_txt_record: | COMMENT |
| LOW | infracost-usage-defaults.large.yml | 801 | # monthly_datapipeline_self_hosted_activity_runs: 1 # Monthly number of self hosted activity runs. | COMMENT |
| LOW | cmd/infracost/breakdown_test.go | 361 | ) | COMMENT |
| LOW | cmd/infracost/generate_test.go | 61 | path.Join("./testdata", dir), | COMMENT |
| LOW | …ased_provider/modules/mymod_own/mysub_implicit/main.tf | 21 | # The configuration for module.mymod_aliased.module.mysub_implicit expects to | COMMENT |
| LOW | …vider/modules/mymod_own_aliased/mysub_implicit/main.tf | 21 | # The configuration for module.mymod_aliased.module.mysub_implicit expects to | COMMENT |
| LOW | …_provider/modules/mymod_aliased/mysub_implicit/main.tf | 21 | # The configuration for module.mymod_aliased.module.mysub_implicit expects to | COMMENT |
| LOW | …m_directory_with_default_var_files/infracost-usage.yml | 1 | # You can use this file to define resource usage estimates for Infracost to use when calculating | COMMENT |
| LOW | …reakdown_terraform_sync_usage_file/infracost-usage.yml | 1 | # You can use this file to define resource usage estimates for Infracost to use when calculating | COMMENT |
| LOW | …reakdown_terraform_sync_usage_file/infracost-usage.yml | 41 | # monthly_data_scanned_gb: 0.0 # Monthly data scanned by CloudWatch logs insights in GB. | COMMENT |
| LOW | internal/config/config.go | 21 | COMMENT | |
| LOW | internal/config/config.go | 41 | ForceProjectType string `yaml:"force_project_type,omitempty" ignored:"true"` | COMMENT |
| LOW | internal/config/config.go | 101 | TerraformWorkspace string `yaml:"terraform_workspace,omitempty" envconfig:"TERRAFORM_WORKSPACE"` | COMMENT |
| LOW | internal/config/config_file.go | 41 | return true | COMMENT |
| LOW | internal/config/config_file.go | 61 | // errors.New("child error 1"), | COMMENT |
| LOW | internal/config/template/parser.go | 241 | if _, err := os.Stat(targetPath); err == nil { | COMMENT |
| LOW | internal/config/template/parser.go | 261 | // ├── infracost.yml.tmpl | COMMENT |
| LOW | internal/security/files.go | 1 | // Package security contains security related functions, mainly checking a file | COMMENT |
| LOW | internal/apiclient/usage.go | 221 | return ud, nil | COMMENT |
| LOW | …nal/providers/terraform/terragrunt_registry_service.go | 41 | // defaultRegistryHostEnvVarName lets users point Terragrunt at a private | COMMENT |
| LOW | …nal/providers/terraform/terragrunt_registry_service.go | 61 | // This protocol will use the Module Registry Protocol (documented at | COMMENT |
| LOW | internal/providers/terraform/terragrunt_hcl_provider.go | 841 | return ctyJsonVal.Value, nil | COMMENT |
| LOW | …alert_test/monitor_scheduled_query_rules_alert_test.tf | 41 | threshold = 3 | COMMENT |
| LOW | …alert_test/monitor_scheduled_query_rules_alert_test.tf | 61 | # | where tolong(resultCode) >= 500 | COMMENT |
| LOW | …alert_test/monitor_scheduled_query_rules_alert_test.tf | 81 | # custom_webhook_payload = "{}" | COMMENT |
| LOW | internal/providers/cloudformation/aws/registry.go | 1 | package aws | COMMENT |
| LOW | internal/providers/cloudformation/aws/registry.go | 21 | // GetConfigOrganizationManagedRuleItem(), | COMMENT |
| LOW | internal/providers/cloudformation/aws/registry.go | 41 | // GetEFSFileSystemRegistryItem(), | COMMENT |
| LOW | internal/providers/cloudformation/aws/registry.go | 61 | // GetRoute53RecordRegistryItem(), | COMMENT |
| LOW | internal/resources/azure/mssql_elasticpool.go | 61 | // Database Transaction Unit (DTU) is made a performance metric representing a mixture of performance metrics | COMMENT |
| LOW | internal/resources/azure/cognitive_account_speech.go | 21 | COMMENT | |
| LOW | internal/resources/azure/app_configuration.go | 41 | } | COMMENT |
| LOW | internal/resources/azure/network_watcher.go | 1 | package azure | COMMENT |
| LOW | internal/resources/azure/storage_account.go | 201 | // BlobStorage: | COMMENT |
| LOW | internal/resources/azure/storage_account.go | 281 | // Write Operations. | COMMENT |
| LOW | internal/resources/azure/storage_account.go | 341 | // | COMMENT |
| LOW | internal/resources/azure/storage_account.go | 401 | // List and Create Container Operations (List Operations for File storage). | COMMENT |
| LOW | internal/resources/azure/storage_account.go | 421 | // Standard Hot: cost exists | COMMENT |
| LOW | internal/resources/azure/storage_account.go | 481 | // | COMMENT |
| 60 more matches not shown… | ||||
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | infracost-usage-defaults.medium.yml | 238 | backup_snapshot_size_gb: 119 # Individual storage size for backup snapshots, used in conjunction with resource param | CODE |
| MEDIUM | infracost-usage-example.yml | 336 | backup_snapshot_size_gb: 200 # Individual storage size for backup snapshots, used in conjunction with resource | CODE |
| MEDIUM | infracost-usage-defaults.small.yml | 238 | backup_snapshot_size_gb: 59 # Individual storage size for backup snapshots, used in conjunction with resource parame | CODE |
| MEDIUM | infracost-usage-defaults.large.yml | 238 | backup_snapshot_size_gb: 238 # Individual storage size for backup snapshots, used in conjunction with resource param | CODE |
| MEDIUM | internal/resources/aws/glue_catalog_database.go | 14 | // to build a robust data analytics pipeline. | COMMENT |
| MEDIUM | internal/resources/aws/glue_crawler.go | 14 | // to build a robust data analytics pipeline. | COMMENT |
| MEDIUM | internal/resources/aws/glue_job.go | 16 | // to build a robust data analytics pipeline. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | internal/providers/terraform/provider_schemas/main.tf | 1 | # This file is used with the "terraform provider schema" commands in "make tagschema" to generate | COMMENT |
| MEDIUM | …aform_modules/f5c8778c26bb651908c92d1816ae14f0/main.tf | 152 | # Create a truncated ID if needed | COMMENT |
| MEDIUM | …aform_modules/f5c8778c26bb651908c92d1816ae14f0/main.tf | 164 | # Create the short ID by adding a hash to the end of the truncated ID | COMMENT |
| MEDIUM | …oject/with_existing_terraform_mods/.terraform.lock.hcl | 1 | # This file is maintained automatically by "terraform init". | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/hcl/graph.go | 328 | // so we need to check if the module output exists and add an edge from that | COMMENT |
| LOW | internal/hcl/modules/registry.go | 382 | // Otherwise we need to check if the version matches the constraints | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | …odule-using-same-source/.github/workflows/pr-title.yml | 34 | # If `subjectPattern` is configured, you can use this property to override | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| MEDIUM | README.md | 103 | [**Infracost Cloud**](https://www.infracost.io/docs/infracost_cloud/get_started/) is the SaaS dashboard that ties everyt | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/hcl/funcs/debug.go | 14 | // Example usage: | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | internal/vcs/metadata_test.go | 486 | Name: "John Doe", | CODE |