Let's Encrypt/ACME client and library written in Go
This report summarizes scanner evidence for go-acme/lego, a Go project with 9,994 GitHub stars. SynthScan examined 241,177 lines of code across 2111 source files, recording 97 pattern matches distributed across 4 syntactic categories. The legacy adjusted pattern signal is 1.0 (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? 45 finding(s).
Are imports declared and package/API names verified? 52 finding(s).
Are wrappers, guards, and repeated structures necessary? 0 finding(s).
Which changes need focused human review? 97 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 97 distinct pattern matches across 4 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 |
|---|---|---|---|---|
| HIGH | providers/dns/dreamhost/dreamhost.toml | 8 | DREAMHOST_API_KEY="YOURAPIKEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 34 | curl -X GET --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 78 | curl -X PUT --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 100 | curl -X GET --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 139 | curl -X PATCH --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 159 | curl -X DELETE --user "api:YOUR_API_KEY" \ | CODE |
| HIGH⚡ | providers/dns/derak/internal/readme.md | 192 | curl -X POST --user "api:YOUR_API_KEY" \ | CODE |
| HIGH⚡ | providers/dns/derak/internal/readme.md | 201 | curl -X POST --user "api:YOUR_API_KEY" \ | CODE |
| HIGH⚡ | providers/dns/derak/internal/readme.md | 210 | curl -X POST --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 231 | curl -X PUT --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/derak/internal/readme.md | 248 | curl -X DELETE --user "api:YOUR_API_KEY" \ | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 19 | Authorization: Token <YOUR_TOKEN> | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 45 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 53 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 108 | -H "Authorization: Token <YOUR_TOKEN>" \ | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 176 | -H "Authorization: Token <YOUR_TOKEN>" \ | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 251 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 351 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 386 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 425 | -H "Authorization: Token <YOUR_TOKEN>" \ | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 481 | -H "Authorization: Token <YOUR_TOKEN>" \ | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 529 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 560 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 595 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 629 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 730 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 767 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 802 | -H "Authorization: Token <YOUR_TOKEN>" | CODE |
| HIGH | providers/dns/netnod/internal/Netnod-Primary-DNS-API.md | 1059 | - Verify "Authorization: Token <YOUR_TOKEN>" header format | CODE |
| HIGH | providers/dns/excedo/excedo.toml | 8 | EXCEDO_API_KEY=your-api-key \ | CODE |
| HIGH | docs/content/dns/zz_gen_excedo.md | 29 | EXCEDO_API_KEY=your-api-key \ | CODE |
| HIGH | docs/content/dns/zz_gen_dreamhost.md | 29 | DREAMHOST_API_KEY="YOURAPIKEY" \ | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | cmd/internal/storage/storage_accounts.go | 41 | } | COMMENT |
| LOW | cmd/internal/storage/storage_accounts.go | 61 | // ./.lego/accounts/localhost_14000/foo@example.com/foo@example.com.key | COMMENT |
| LOW | certificate/renewal.go | 101 | return &RenewalInfo{ExtendedRenewalInfo: info}, err | COMMENT |
| LOW | certificate/certificates.go | 61 | CSR []byte `json:"-"` | COMMENT |
| LOW | acme/commons.go | 61 | // An HTTP or HTTPS URL locating a website providing more information about the ACME server. | COMMENT |
| LOW | acme/commons.go | 101 | Status string `json:"status,omitempty"` | COMMENT |
| LOW | acme/commons.go | 141 | type Order struct { | COMMENT |
| LOW | acme/commons.go | 161 | Profile string `json:"profile,omitempty"` | COMMENT |
| LOW | acme/commons.go | 181 | // including unexpired authorizations that the client has completed in the past for identifiers specified in the order. | COMMENT |
| LOW | acme/commons.go | 221 | // The timestamp after which the server will consider this authorization invalid, | COMMENT |
| LOW | acme/commons.go | 261 | // The type of challenge encoded in the object. | COMMENT |
| LOW | acme/commons.go | 281 | // Multiple errors can be indicated by using subproblems Section 6.7.1. | COMMENT |
| LOW | acme/commons.go | 321 | Value string `json:"value"` | COMMENT |
| LOW | acme/commons.go | 361 | // RetryAfter header indicating the polling interval that the ACME server recommends. | COMMENT |
| LOW | providers/dns/gcloud/googlecloud.go | 361 | COMMENT | |
| LOW | providers/dns/gandi/gandi_test.go | 101 | func TestDNSProvider(t *testing.T) { | COMMENT |
| LOW | providers/dns/lightsail/lightsail.go | 61 | // AWS Credentials are automatically detected in the following locations | COMMENT |
| LOW | providers/dns/cloudflare/cloudflare.go | 81 | config *Config | COMMENT |
| LOW | providers/dns/namecheap/namecheap.go | 21 | COMMENT | |
| LOW | docs/content/references/ref-file/_index.md | 21 | ## Global configuration | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 41 | ``` | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 61 | # The account ID/Name. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 81 | # The path to a Certificate Signing Request (CSR) file. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 101 | enableCommonName: true | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 121 | # Default: false | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 141 | # | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 161 | COMMENT | |
| LOW | docs/content/references/ref-file/_index.md | 181 | # - SHA256 | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 201 | # Optional. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 221 | # Optional. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 241 | # The address to listen on. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 261 | # Required. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 281 | # | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 301 | # Supported syntax: host:port. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 321 | COMMENT | |
| LOW | docs/content/references/ref-file/_index.md | 361 | # The ID/Name of the account. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 381 | # | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 421 | COMMENT | |
| LOW | docs/content/references/ref-file/_index.md | 441 | COMMENT | |
| LOW | docs/content/references/ref-file/_index.md | 461 | ``` | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 481 | # optional. | COMMENT |
| LOW | docs/content/references/ref-file/_index.md | 501 | # | COMMENT |
| LOW | challenge/http01/http_challenge_server.go | 121 | COMMENT | |
| LOW | challenge/http01/domain_matcher.go | 21 | // or when it operates behind a transparent proxy. | COMMENT |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| LOW | registration/registar_test.go | 33 | email: "test@test.com", | CODE |
| LOW | providers/dns/gcloud/googlecloud_test.go | 82 | EnvServiceAccount: `{"project_id": "A","type": "service_account","client_email": "foo@bar.com","private_key_id": "pk | CODE |
| LOW | providers/dns/euserv/euserv.toml | 8 | EUSERV_EMAIL="user@example.com" \ | CODE |
| LOW | providers/dns/internal/selectel/internal/client_test.go | 33 | {ID: 1234, Name: "example.org", Type: "TXT", TTL: 60, Email: "email@example.org", Content: "txttxttxtB"}, | CODE |
| LOW | providers/dns/internal/selectel/internal/client_test.go | 90 | Email: "email@example.org", | CODE |
| LOW | providers/dns/internal/selectel/internal/client_test.go | 101 | Email: "email@example.org", | CODE |
| LOW | providers/dns/rage4/internal/client_test.go | 117 | OwnerEmail: "user@example.com", | CODE |
| LOW | providers/dns/wedos/wedos_test.go | 24 | EnvUsername: "admin@example.com", | CODE |
| LOW | providers/dns/wedos/wedos_test.go | 39 | EnvUsername: "admin@example.com", | CODE |
| LOW | providers/dns/wedos/wedos_test.go | 84 | username: "admin@example.com", | CODE |
| LOW | providers/dns/wedos/wedos_test.go | 94 | username: "admin@example.com", | CODE |
| LOW | providers/dns/mailinabox/mailinabox_test.go | 25 | EnvEmail: "user@example.com", | CODE |
| LOW | providers/dns/mailinabox/mailinabox_test.go | 32 | EnvEmail: "user@example.com", | CODE |
| LOW | providers/dns/mailinabox/mailinabox_test.go | 49 | EnvEmail: "user@example.com", | CODE |
| LOW | providers/dns/mailinabox/mailinabox_test.go | 91 | email: "user@example.com", | CODE |
| LOW | providers/dns/mailinabox/mailinabox_test.go | 96 | email: "user@example.com", | CODE |
| LOW | providers/dns/mailinabox/mailinabox_test.go | 109 | email: "user@example.com", | CODE |
| LOW | providers/dns/conohav3/internal/identity_test.go | 41 | ID: "dummy-id", | CODE |
| LOW | docs/content/dns/zz_gen_euserv.md | 29 | EUSERV_EMAIL="user@example.com" \ | CODE |
| LOW | lego/client_test.go | 22 | email: "test@test.com", | CODE |
| Severity | File | Line | Snippet | Context |
|---|---|---|---|---|
| HIGH | acme/api/order.go | 83 | // so we need to ensure that the identifiers are the same as requested. | COMMENT |